diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2015-12-06 18:07:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-06 22:40:45 -0500 |
commit | f1b4e12a9ab6cc08b1a047bf021d90c7e07b1517 (patch) | |
tree | a04dcf20ba101fc2326e11a7109e3e1d2c95550a /drivers/edac/edac_device.c | |
parent | 5f61385d2ebc2bd62bc389c7da0d8d2f263be1eb (diff) | |
download | linux-f1b4e12a9ab6cc08b1a047bf021d90c7e07b1517.tar.bz2 |
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>
Diffstat (limited to 'drivers/edac/edac_device.c')
0 files changed, 0 insertions, 0 deletions