diff options
author | Steven Luong <sluong@cisco.com> | 2019-07-24 21:16:09 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-07-25 08:59:55 +0000 |
commit | c94afaade0a8fec724d051a202591f5b37dd0f49 (patch) | |
tree | 5643203107a8226be187eb9a5ef255788166afc4 /src/vnet/srp/node.c | |
parent | cbd179cd39ffedbfd0a43a51bde998f09cefe669 (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
Change-Id: I8121ad7e546447049fa13da62481b6c8f5575bec
Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/vnet/srp/node.c')
0 files changed, 0 insertions, 0 deletions