diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2014-09-11 07:11:20 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-09-22 12:46:53 -0400 |
commit | 25476b0209b2e48dfb689e1b4cf7278875082b1f (patch) | |
tree | 4af5f11721425482801bf298bd96f85d9309e298 /init | |
parent | 3dec48788817fce4a029cbab14f2b407ae78478f (diff) |
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 'init')
0 files changed, 0 insertions, 0 deletions