Documentation: Update DPDK doc with extended statistics.
Add instructions on how to retrieve extended statistics for DPDK physical
and vhost ports.
@@ -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
