diff options
author | 2023-06-09 17:40:24 -0700 | |
---|---|---|
committer | 2023-07-05 09:29:37 -0700 | |
commit | 479cdfe388a04a16fdd127f3e9e9e019e45e5573 (patch) | |
tree | 98905a8a1dc9330b8e3e530a407c67f9dfd4ce05 /lib/test_dynamic_debug.c | |
parent | ice: Fix max_rate check while configuring TX rate limits (diff) | |
download | linux-rng-479cdfe388a04a16fdd127f3e9e9e019e45e5573.tar.xz linux-rng-479cdfe388a04a16fdd127f3e9e9e019e45e5573.zip |
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 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions