From: Jack Morgenstein Date: Wed, 3 Oct 2012 15:38:48 +0000 (+0000) Subject: mlx4_core: Adjust flow steering attach wrapper so that IB works on SR-IOV VFs X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~6^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60396683fe863b3bc3ec22e9243dc2e76de601dd;p=pandora-kernel.git mlx4_core: Adjust flow steering attach wrapper so that IB works on SR-IOV VFs Currently, the InfiniBand stack does not support flow steering at the verbs level -- the only usage of flow steering in the IB driver is for L2 multicast attaches. We need to add the IB case to procedure mlx4_QP_FLOW_STEERING_ATTACH_wrapper() to allow IPoIB to work on VFs on ConnectX-3 when flow steering is enabled. Currently, the IB case in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() is missing, so the procedure returns -EINVAL and IPoIB on VFs breaks. Signed-off-by: Jack Morgenstein Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed