https://github.com/torvalds/linux
Revision 111c6094bd7731cb1a415b2ea7d450fa23d6857c authored by Jack Morgenstein on 27 May 2014, 06:26:38 UTC, committed by David S. Miller on 30 May 2014, 23:57:52 UTC
Reset the GIDs assigned to a VF in the port RoCE GID table when
that guest goes down (either crashes or goes down cleanly).

As part of this fix, we refactor the RoCE gid table driver copy,
moving it to the mlx4_port_info structure (together with the MAC
and VLAN tables).

As with the MAC and VLAN tables, we now use a mutex per port
for the GID table so that modifying the driver copy and
modifying the firmware copy of a port GID table becomes an
atomic operation (thus avoiding driver-copy/FW-copy mismatches).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 09271db
Raw File
Tip revision: 111c6094bd7731cb1a415b2ea7d450fa23d6857c authored by Jack Morgenstein on 27 May 2014, 06:26:38 UTC
net/mlx4_core: Reset RoCE VF gids when guest driver goes down
Tip revision: 111c609
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top