2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

Documentation: Update DPDK doc with extended statistics.

Add instructions on how to retrieve extended statistics for DPDK physical
and vhost ports.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Bhanuprakash Bodireddy
2017-02-07 21:18:22 +00:00
committed by Ben Pfaff
parent 7e86fe8274
commit 9b49f85fd9

View File

@@ -299,6 +299,33 @@ physical ports which in turn effects the non-tunnel traffic performance.
So it is advised to turn off the Rx checksum offload for non-tunnel traffic use
cases to achieve the best performance.
.. _extended-statistics:
Extended Statistics
-------------------
DPDK Extended Statistics API allows PMD to expose unique set of statistics.
The Extended statistics are implemented and supported only for DPDK physical
and vHost ports.
To enable statistics, you have to enable OpenFlow 1.4 support for OVS.
Configure bridge br0 to support OpenFlow version 1.4::
$ ovs-vsctl set bridge br0 datapath_type=netdev \
protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13,OpenFlow14
Check the OVSDB protocols column in the bridge table if OpenFlow 1.4 support
is enabled for OVS::
$ ovsdb-client dump Bridge protocols
Query the port statistics by explicitly specifying -O OpenFlow14 option::
$ ovs-ofctl -O OpenFlow14 dump-ports br0
Note: vHost ports supports only partial statistics. RX packet size based
counter are only supported and doesn't include TX packet size counters.
.. _port-hotplug:
Port Hotplug