From: Jack Morgenstein Date: Sun, 4 May 2014 14:07:22 +0000 (+0300) Subject: net/mlx4_core: Adjust port number in qp_attach wrapper when detaching X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=531d9014d5c870fdf493e626c4b4e448273cb616;p=pandora-kernel.git 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 Signed-off-by: Jack Morgenstein Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed