[ovs-git] [openvswitch/ovs] 9e585d: show "rx_missed_errors" counter in interface stati...

txfh2007 noreply at github.com
Thu Sep 26 00:39:21 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9e585df1f8678aca2ac79bccb848d1f38523e416
      https://github.com/openvswitch/ovs/commit/9e585df1f8678aca2ac79bccb848d1f38523e416
  Author: txfh2007 <txfh2007 at aliyun.com>
  Date:   2019-09-25 (Wed, 25 Sep 2019)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  show "rx_missed_errors" counter in interface statisics

Hi all:

    Currently OVS maintains several Statistics counters per interface. "rx_missed_errors" counter is amount them and collects pkts not received due to local resource constaints. Many ovs netdevs support collecting this counter, such as netdev-linux, netdev-dpdk, netdev-bsd and so on. But as far as I know, this counter can't be read by command "ovs-vsctl list interface <int-name>|grep statistics". I have found the root cause(may be I was wrong) is in task "iface_refresh_stats", the "rx_missed_errors" is not in the macro IFACE_STATS. So even if this counter is updated by netdev, it woundn't be read by users.

    This simple patch tries to solve this problem, many thanks for your kindly reminder.

Signed-off-by: Liu Chang <liuchang at cmss.chinamobile.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list