[ovs-dev] [PATCH] ovs-bugtool: Add ip -s -s to get_device_stats.out.

Gregory Rose gvrose8192 at gmail.com
Mon Sep 16 16:31:36 UTC 2019


On 9/12/2019 10:07 AM, William Tu wrote:
> The patch adds 'ip -s -s' to file get_device_stats.out to collect
> device statistics. When debugging tunnel related issues, the command
> shows much more detailed counters, ex: frame, crc, carrier, helping
> to understand the root cause when packets are dropped.
>
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
>   utilities/bugtool/plugins/network-status/openvswitch.xml | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/utilities/bugtool/plugins/network-status/openvswitch.xml b/utilities/bugtool/plugins/network-status/openvswitch.xml
> index d39867c6e4d0..b0e7a15103b0 100644
> --- a/utilities/bugtool/plugins/network-status/openvswitch.xml
> +++ b/utilities/bugtool/plugins/network-status/openvswitch.xml
> @@ -40,4 +40,5 @@
>       <command label="ovs-ofctl-dump-groups" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-ovs-ofctl-loop-over-bridges "dump-groups"</command>
>       <command label="ovs-ofctl-dump-group-stats" filters="ovs" repeat="2">/usr/share/openvswitch/scripts/ovs-bugtool-ovs-ofctl-loop-over-bridges "dump-group-stats"</command>
>       <command label="get_dpdk_nic_numa" filters="ovs">/usr/share/openvswitch/scripts/ovs-bugtool-get-dpdk-nic-numa</command>
> +    <command label="get_device_stats" filters="ovs">ip -s -s link show</command>
>   </collect>

LGTM

Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


More information about the dev mailing list