aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mad.c
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2015-10-15 14:44:39 +0300
committerDoug Ledford <dledford@redhat.com>2015-10-21 23:16:47 -0400
commit74194fb9c80cedb3130d26802c52deec3caebc75 (patch)
treee29c44c7b9904914bcde2a773e046d68e50a598a /drivers/infiniband/hw/mlx4/mad.c
parentnet/mlx4_core: Add support for filtering multicast loopback (diff)
downloadlinux-dev-74194fb9c80cedb3130d26802c52deec3caebc75.tar.xz
linux-dev-74194fb9c80cedb3130d26802c52deec3caebc75.zip
net/mlx4_en: Implement mcast loopback prevention for ETH qps
Set the mcast loopback prevention bit in the QPC for ETH MLX QPs (not RSS QPs), when the firmware supports this feature. In addition, all rx ring QPs need to be updated in order not to enforce loopback checks. This prevents getting packets we sent both from the network stack and the HCA. Loopback prevention is done by comparing the counter indices of the sent and receiving QPs. If they're equal, packets aren't loopback-ed. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mad.c')
0 files changed, 0 insertions, 0 deletions