linux/drivers/infiniband/hw/mlx4
Alex Vesker e5ac40cd66 IB/mlx4: Fix incorrect MC join state bit-masking on SR-IOV
Because of an incorrect bit-masking done on the join state bits, when
handling a join request we failed to detect a difference between the
group join state and the request join state when joining as send only
full member (0x8). This caused the MC join request not to be sent.
This issue is relevant only when SRIOV is enabled and SM supports
send only full member.

This fix separates scope bits and join states bits a nibble each.

Fixes: b9c5d6a643 ('IB/mlx4: Add multicast group (MCG) paravirtualization for SR-IOV')
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-09-16 14:14:08 -04:00
..
ah.c IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs 2016-06-17 19:36:54 -04:00
alias_GUID.c IB/mlx4: Use boottime 2016-02-29 17:11:40 -05:00
cm.c IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order 2015-02-17 22:11:40 -08:00
cq.c IB/mlx4: Don't return errors from poll_cq 2016-09-02 14:11:38 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
mad.c IB/mlx4: Fix error flow when sending mads under SRIOV 2016-06-23 10:07:03 -04:00
main.c Round one of 4.8 code 2016-08-04 20:10:31 -04:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
mcg.c IB/mlx4: Fix incorrect MC join state bit-masking on SR-IOV 2016-09-16 14:14:08 -04:00
mlx4_ib.h Round one of 4.8 code 2016-08-04 20:10:31 -04:00
mr.c IB/mlx4: Prevent cross page boundary allocation 2016-06-23 10:08:25 -04:00
qp.c net/mlx4_en: break out tx_desc write into separate function 2016-07-19 21:46:33 -07:00
srq.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00