aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2019-05-08 11:44:56 +0300
committerSaeed Mahameed <[email protected]>2019-08-01 12:33:30 -0700
commitfcb64c0f5640e629bd77c2cb088f9fd70ff5bde7 (patch)
treee835c515a2e78b23643c38623305be73f0a429b3 /tools/perf/scripts/python
parent68e18626dfe971df3856872ee58f63c389dea2f5 (diff)
net/mlx5: E-Switch, add ingress rate support
Use the scheduling elements to implement ingress rate limiter on an eswitch ports ingress traffic. Since the ingress of eswitch port is the egress of VF port, we control eswitch ingress by controlling VF egress. Configuration is done using the ports' representor net devices. Please note that burst size configuration is not supported by devices ConnectX-5 and earlier generations. Configuration examples: tc: tc filter add dev enp59s0f0_0 root protocol ip matchall action police rate 1mbit burst 20k ovs: ovs-vsctl set interface eth0 ingress_policing_rate=1000 Signed-off-by: Eli Cohen <[email protected]> Reviewed-by: Paul Blakey <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions