OpenCloudOS-Kernel/drivers/infiniband
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
..
core Merge branch 'akpm' (patches from Andrew) 2015-11-07 14:32:45 -08:00
hw IB/mlx4: Use the VF base-port when demuxing mad from wire 2015-12-06 22:40:45 -05:00
ulp SCSI misc on 20151113 2015-11-13 20:35:54 -08:00
Kconfig IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00