linux-stable/drivers/infiniband/hw
Eran Ben Elisha 7b59f0f951 IB/mlx4: Add counter based implementation for QP multicast loopback block
Current implementation for MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK is not
supported when link layer is Ethernet.

This patch will add counter based implementation for multicast loopback
prevention. HW can drop multicast loopback packets if sender QP counter
index is equal to receiver QP counter index. If qp flag
MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK is set and link layer is Ethernet,
create a new counter and attach it to the QP so it will continue
receiving multicast loopback traffic but it's own.

The decision if to create a new counter is being made at the qp
modification to RTR after the QP's port is set. When QP is destroyed or
moved back to reset state, delete the counter.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-10-21 23:16:47 -04:00
..
cxgb3 cxgb3: Support ib_alloc_mr verb 2015-08-30 18:08:47 -04:00
cxgb4 iw_cxgb4: Adds support for T6 adapter 2015-10-21 23:16:38 -04:00
mlx4 IB/mlx4: Add counter based implementation for QP multicast loopback block 2015-10-21 23:16:47 -04:00
mlx5 IB/mlx5: Remove pa_lkey usages 2015-09-25 10:46:51 -04:00
mthca mlx4, mlx5, mthca: Expose max_sge_rd correctly 2015-08-28 23:02:10 -04:00
nes nes: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
ocrdma RDMA/ocrdma: Bump up ocrdma version number to 11.0.0.0 2015-10-21 17:28:19 -04:00
qib mm: mark most vm_operations_struct const 2015-09-10 13:29:01 -07:00
usnic usnic: correctly handle kzalloc return value 2015-10-21 16:41:19 -04:00
Makefile IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00