aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/acenic_firmware.h
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2008-04-16 21:09:35 -0700
committerRoland Dreier <rolandd@cisco.com>2008-04-16 21:09:35 -0700
commit4dc51b32582d45cb7e8322d750ffe0e6d82b506d (patch)
tree0d8549a6cc82b9719086a2673c76de8cd5b161e9 /drivers/net/acenic_firmware.h
parentc83b5b1cb2b050c7a9054f330598df99c31abb98 (diff)
IB/mlx4: Fix race when detaching a QP from a multicast group
When detaching the last QP from an MCG entry, we need to make sure that at any time, there will be no entry with zero number of QPs which is linked to the list of the MCGs of the corresponding hash index. So don't write back the MCG entry if we are removing the last QP; just unlink the entry. Also, remove an unnecessary MCG read when attaching a QP requires allocation of a new entry in the AMGM. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/acenic_firmware.h')
0 files changed, 0 insertions, 0 deletions