diff options
author | 2019-11-06 02:05:28 -0800 | |
---|---|---|
committer | 2019-11-08 11:58:49 -0800 | |
commit | 1ddef455f4a8ba6374ce6a3ec88c815b3d4a4ad2 (patch) | |
tree | afd7a9d721b6431d4594fe2c22b301e63d6078ce /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ice: Use ice_ena_vsi and ice_dis_vsi in DCB configuration flow (diff) | |
download | linux-dev-1ddef455f4a8ba6374ce6a3ec88c815b3d4a4ad2.tar.xz linux-dev-1ddef455f4a8ba6374ce6a3ec88c815b3d4a4ad2.zip |
ice: Add NDO callback to set the maximum per-queue bitrate
Allow for rate limiting Tx queues. Bitrate is set in
Mbps(megabits per second).
Mbps max-rate is set for the queue via sysfs:
/sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate
ex: echo 100 >/sys/class/net/ens7/queues/tx-0/tx_maxrate
echo 200 >/sys/class/net/ens7/queues/tx-1/tx_maxrate
Note: A value of zero for tx_maxrate means disabled,
default is disabled.
Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com>
Co-developed-by: Tarun Singh <tarun.k.singh@intel.com>
Signed-off-by: Tarun Singh <tarun.k.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions