commit | 531d9014d5c870fdf493e626c4b4e448273cb616 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Sun May 04 17:07:22 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon May 05 15:48:21 2014 -0400 |
tree | b239278ffe1ffbab63e3b115381393deaaf361db | |
parent | 9becd707841207652449a8dfd90fe9c476d88546 [diff] |
net/mlx4_core: Adjust port number in qp_attach wrapper when detaching When using single ported VFs and the VF is using port 2, we need to adjust the port accordingly (change it from 1 to 2). Fixes: 449fc48 ('net/mlx4: Adapt code for N-Port VF') Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Jack Morgenstein <jackm@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>