net/mlx4_core: Demote simple multicast and broadcast flow steering rules
authorMatan Barak <matanb@mellanox.com>
Sun, 31 May 2015 06:30:15 +0000 (09:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2015 06:35:34 +0000 (23:35 -0700)
commit48564135cba806bd0d6d1704c0ea317318966d9f
tree310c9b638b16e17fd0c04e1d7e6ad00efdd7fdab
parent9d52bf0a238657ebfddaf5976409ac33174b9f78
net/mlx4_core: Demote simple multicast and broadcast flow steering rules

In SRIOV, when simple (i.e - Ethernet L2 only) flow steering rules are
created, always create them at MLX4_DOMAIN_NIC priority (instead of
the real priority the function created them at). This is done in order
to let multiple functions add broadcast/multicast rules without
affecting other functions, which is necessary for DPDK in SRIOV.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c