[ovs-git] [openvswitch/ovs] d560bc: netdev-afxdp: Convert AFXDP_DEBUG to custom stats.

Ilya Maximets noreply at github.com
Wed Jul 24 16:42:04 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d560bc1baa522e3c101d3740ecfb17b7723df83d
      https://github.com/openvswitch/ovs/commit/d560bc1baa522e3c101d3740ecfb17b7723df83d
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M lib/netdev-afxdp.c
    M lib/netdev-afxdp.h
    M lib/netdev-linux.c

  Log Message:
  -----------
  netdev-afxdp: Convert AFXDP_DEBUG to custom stats.

These are valid statistics of a network interface and should be
exposed via custom stats.

The same MACRO trick as in vswitchd/bridge.c is used to reduce code
duplication and easily add new stats if necessary in the future.

Acked-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>




More information about the git mailing list