]> 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)
commit79ed1473715dda2cff7307a39f303a8300b963f8
tree07c3dbd70f3bb215373a72372fcd1df5b1c6befb
parente766538b23640e126e6a9d3290fdb1a0e9d9e2cc
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