diff options
author | Stephen Finucane <stephen@that.guru> | 2018-04-19 13:57:25 +0100 |
---|---|---|
committer | Ian Stokes <ian.stokes@intel.com> | 2018-04-21 16:59:45 +0100 |
commit | 6fe32f11bbc11858618b4d636017652e432710c9 (patch) | |
tree | 60810697d51508785ddcc2944f715df810b2d8fb /Documentation/howto | |
parent | b20eabc3fd5238d98c8e9bf8b60f353a2c820f5d (diff) | |
download | openvswitch-6fe32f11bbc11858618b4d636017652e432710c9.tar.gz |
doc: Move "QoS" guide to its own document
Again, this stuff is too detailed for a high-level howto.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'Documentation/howto')
-rw-r--r-- | Documentation/howto/dpdk.rst | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst index d3425e83b..5b7af5301 100644 --- a/Documentation/howto/dpdk.rst +++ b/Documentation/howto/dpdk.rst @@ -85,48 +85,6 @@ To stop ovs-vswitchd & delete bridge, run:: $ ovs-appctl -t ovsdb-server exit $ ovs-vsctl del-br br0 -QoS ---- - -Assuming you have a vhost-user port transmitting traffic consisting of packets -of size 64 bytes, the following command would limit the egress transmission -rate of the port to ~1,000,000 packets per second:: - - $ ovs-vsctl set port vhost-user0 qos=@newqos -- \ - --id=@newqos create qos type=egress-policer other-config:cir=46000000 \ - other-config:cbs=2048` - -To examine the QoS configuration of the port, run:: - - $ ovs-appctl -t ovs-vswitchd qos/show vhost-user0 - -To clear the QoS configuration from the port and ovsdb, run:: - - $ ovs-vsctl destroy QoS vhost-user0 -- clear Port vhost-user0 qos - -Refer to vswitch.xml for more details on egress-policer. - -Rate Limiting --------------- - -Here is an example on Ingress Policing usage. Assuming you have a vhost-user -port receiving traffic consisting of packets of size 64 bytes, the following -command would limit the reception rate of the port to ~1,000,000 packets per -second:: - - $ ovs-vsctl set interface vhost-user0 ingress_policing_rate=368000 \ - ingress_policing_burst=1000` - -To examine the ingress policer configuration of the port:: - - $ ovs-vsctl list interface vhost-user0 - -To clear the ingress policer configuration from the port:: - - $ ovs-vsctl set interface vhost-user0 ingress_policing_rate=0 - -Refer to vswitch.xml for more details on ingress-policer. - pdump ----- |