Add instructions on how to retrieve extended statistics for DPDK physical and vhost ports.
Signed-off-by: Bhanuprakash Bodireddy <[email protected]> --- Documentation/howto/dpdk.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst index d1e6e89..bc921cb 100644 --- a/Documentation/howto/dpdk.rst +++ b/Documentation/howto/dpdk.rst @@ -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 dpdkvHost ports. + +To enable statistics, you have to enable OpenFlow 1.4 support for OVS. +Configure bridge br0 to support OpenFlow verion 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 -- 2.4.11 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
