linux_dsm_epyc7002/drivers/infiniband/hw/mlx4
Or Gerlitz f1b4e12a9a IB/mlx4: Use the VF base-port when demuxing mad from wire
Under HA mode, it's possible that the VF registered its GID
(and expects to get mads through the PV scheme) on a port which is
different from the one this mad arrived on, due to HA fail over.

Therefore, if the gid is not matched on the port that the packet arrived
on, check for a match on the other port if HA mode is active -- and if a
match is found on the other port, continue processing the mad using that
other port.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-06 22:40:45 -05:00
..
ah.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
alias_GUID.c net/mlx4_core: Modify port values when generting EQEs for VFs 2015-05-24 23:05:09 -04: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: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig IB/mlx4: Add dependency INET 2014-01-19 15:14:05 -08:00
mad.c IB/mlx4: Use the VF base-port when demuxing mad from wire 2015-12-06 22:40:45 -05:00
main.c IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -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/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
mlx4_ib.h IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
mr.c IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
qp.c IB/mlx4: Remove old FRWR API support 2015-10-28 22:27:19 -04:00
srq.c IB/mlx4: Reset flow support for IB kernel ULPs 2015-02-09 14:03:53 -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