]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6955ad7004293c307d7691dc25b0804211fca05
tree07c3dbd70f3bb215373a72372fcd1df5b1c6befb
parent5f9fc107a2b5f91faf61c199a6df940fddb30887
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