aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/node.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-07-24 21:16:09 -0700
committersteven luong <sluong@cisco.com>2019-08-30 19:04:55 +0000
commite4e5beed793326aa5cddfc7ffcc6df696f988b83 (patch)
tree5cc2b03244d3f574132c65f34839ac1dae083da1 /src/vnet/devices/virtio/node.c
parentda8fd67914096ea6740846f08735f77311e379dc (diff)
bonding: incorrect RX counters for bond interface
show interface does not display the RX counters for the bond interfaces. It displays rx-no-buf instead. The problem is VNET_INTERFACE_COUNTER_RX is a combined counter, not a simple counter. Change the code to use vlib_increment_combined_counter passing it with n_rx_packets and n_rx_bytes. Type: fix Ticket: VPP-1757 Change-Id: I8121ad7e546447049fa13da62481b6c8f5575bec Signed-off-by: Steven Luong <sluong@cisco.com> (cherry picked from commit c94afaade0a8fec724d051a202591f5b37dd0f49)
Diffstat (limited to 'src/vnet/devices/virtio/node.c')
0 files changed, 0 insertions, 0 deletions