]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b888c429ea4256f0d128026ad8bcb5ef933e2f3
tree310c9b638b16e17fd0c04e1d7e6ad00efdd7fdab
parentd4e5d2eeee017d0fb5de946824f62f54bb6032c3
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