aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2014-09-11 14:11:20 +0300
committerRoland Dreier <roland@purestorage.com>2014-09-22 09:46:53 -0700
commit25476b0209b2e48dfb689e1b4cf7278875082b1f (patch)
tree4af5f11721425482801bf298bd96f85d9309e298 /drivers/macintosh
parentIB/mlx4: Do not allow APM under RoCE (diff)
downloadlinux-dev-25476b0209b2e48dfb689e1b4cf7278875082b1f.tar.xz
linux-dev-25476b0209b2e48dfb689e1b4cf7278875082b1f.zip
IB/mlx4: Fix VF mac handling in RoCE
We had several problems here. First, a race condition on QP1 mac handling between mlx4_ib_update_qps and mlx4_ib_modify_qp, which is fixed by taking the qp mutex in mlx4_ib_update_qps. Also, qp->pri.smac_port was not updated in mlx4_ib_update_qps. Last, in __mlx4_ib_modify_qp we did not properly handle the case where the mac is zero, but port is non-zero. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions