diff options
author | Sridhar Samudrala <sridhar.samudrala@intel.com> | 2023-06-09 17:40:24 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-07-05 09:29:37 -0700 |
commit | 479cdfe388a04a16fdd127f3e9e9e019e45e5573 (patch) | |
tree | 98905a8a1dc9330b8e3e530a407c67f9dfd4ce05 /scripts/patch-kernel | |
parent | 5f16da6ee6ac32e6c8098bc4cfcc4f170694f9da (diff) |
ice: Fix tx queue rate limit when TCs are configured
Configuring tx_maxrate via sysfs interface
/sys/class/net/eth0/queues/tx-1/tx_maxrate was not working when
TCs are configured because always main VSI was being used. Fix by
using correct VSI in ice_set_tx_maxrate when TCs are configured.
Fixes: 1ddef455f4a8 ("ice: Add NDO callback to set the maximum per-queue bitrate")
Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions