diff options
| author | Bin Chen <[email protected]> | 2022-05-11 13:39:32 +0200 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-05-12 13:03:08 +0200 |
| commit | e0d0e1fdf1ed9dcbca60409af0856fa17f0021cb (patch) | |
| tree | 65c76bd75ec6eef47ec3437db6aa5c0df3d36f92 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a14857c27a505bc7ebcef6311424274b2f42f846 (diff) | |
nfp: VF rate limit support
Add VF rate limit feature
This patch enhances the NFP driver to supports assignment of
both max_tx_rate and min_tx_rate to VFs
The template of configurations below is all supported.
e.g.
# ip link set $DEV vf $VF_NUM max_tx_rate $RATE_VALUE
# ip link set $DEV vf $VF_NUM min_tx_rate $RATE_VALUE
# ip link set $DEV vf $VF_NUM max_tx_rate $RATE_VALUE \
min_tx_rate $RATE_VALUE
# ip link set $DEV vf $VF_NUM min_tx_rate $RATE_VALUE \
max_tx_rate $RATE_VALUE
The max RATE_VALUE is limited to 0xFFFF which is about
63Gbps (using 1024 for 1G)
Signed-off-by: Bin Chen <[email protected]>
Signed-off-by: Louis Peens <[email protected]>
Signed-off-by: Baowen Zheng <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions