]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_core: Adjust flow steering attach wrapper so that IB works on SR-IOV VFs
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 3 Oct 2012 15:38:48 +0000 (15:38 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 3 Oct 2012 21:11:20 +0000 (14:11 -0700)
commit8648d4a020d83724afb342f1bca6b97900c5e563
tree4ca2f8be7f069a9570c802bc81e7af21ad0bba64
parent9676e8245b1e5b8e5a3d5d546a4afcf2b4c26944
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 <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c