IB/mlx4: Do IBoE GID table resets per-port
authorMoni Shoua <monis@mellanox.co.il>
Wed, 5 Feb 2014 13:13:01 +0000 (15:13 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 13 Feb 2014 22:31:08 +0000 (14:31 -0800)
commit5071456fe244e409adcda7226e5f0b5d1b879fd3
tree07c3dbd70f3bb215373a72372fcd1df5b1c6befb
parentddf8bd349115c2bc85a62e3d94018c9976ac72f7
IB/mlx4: Do IBoE GID table resets per-port

The IBoE code used to reset the GID table did it for all Ethernet
ports of the device.  Since the whole architecture of generating GIDs
and responding to events is port-based, this is inefficient and can
lead to wrong content in the GID table.  Change the reset flow to be
per-port.

Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/main.c