]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_core: disable mlx4_QP_ATTACH calls from guests if master is doing flow steering.
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 20 Feb 2013 14:43:59 +0000 (16:43 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:09 +0000 (14:45 -0700)
commit6b9d1ece4e2ecc460f5ba9964372282389ef5f93
tree1dc8fd8dc0913e05a795b2efac7229c590525f6c
parentcf88f570e2e67409fa1fa3d7b50dd48cabab7e82
mlx4_core: disable mlx4_QP_ATTACH calls from guests if master is doing flow steering.

Old upstream kernel guests do not detect if device-enabled flow
steering is activated by the master. If DMFS is activated,
the master should return error to guests which try to use
the B0-steering flow calls (mlx4_QP_ATTACH).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c