diff options
author | Ido Shamay <idos@mellanox.com> | 2017-06-05 10:44:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:18 +0200 |
commit | 7bdfa0ecc200afa32defb2503a2fc81983bfddb2 (patch) | |
tree | fa0b2fb2fe3ed99d0d13bb34dcac60e9fd015ad6 /tools/perf/util/vdso.c | |
parent | ca3a1bc7b6360dd791348a8d1f9fc73d39d8e645 (diff) |
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: 08068cd5683f ("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>
Diffstat (limited to 'tools/perf/util/vdso.c')
0 files changed, 0 insertions, 0 deletions