Files
linux/drivers
Ido Shamay 7bdfa0ecc2 net/mlx4: Check if Granular QoS per VF has been enabled before updating QP qos_vport
[ Upstream commit 269f9883fe254d109afdfc657875c456d6fabb08 ]

The Granular QoS per VF feature must be enabled in FW before it can be
used.

Thus, the driver cannot modify a QP's qos_vport value (via the UPDATE_QP FW
command) if the feature has not been enabled -- the FW returns an error if
this is attempted.

Fixes: 08068cd568 ("net/mlx4: Added qos_vport QP configuration in VST mode")
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:18 +02:00
..
2017-12-16 10:33:55 +01:00
2018-03-22 09:23:27 +01:00
2018-02-25 11:03:46 +01:00
2018-03-24 10:58:41 +01:00
2018-02-25 11:03:51 +01:00
2018-04-13 19:50:08 +02:00
2018-04-13 19:50:01 +02:00
2018-04-13 19:50:16 +02:00