vmxnet3: interface rx counter not increment correctly 47/21647/2
authorSteven Luong <sluong@cisco.com>
Fri, 30 Aug 2019 18:22:13 +0000 (11:22 -0700)
committerNeale Ranns <nranns@cisco.com>
Mon, 2 Sep 2019 07:27:34 +0000 (07:27 +0000)
commitddf625d6035d9e472bcb1a2b0197f6fd30278583
tree22e2382e9b51643d0389d240455c24fe7992193a
parent4e1fcf49057b6bd9b4a3a32a8da20a721536c247
vmxnet3: interface rx counter not increment correctly

vlib_increment_combined_counter takes sw_if_index, not hw_if_index. Using
hw_if_index may work as long as there is no subinterface created to cause
hw_if_index and sw_if_index to differ.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: If50412dc1e84c4f1f5b977b58d0e1aeb5ab8ebe6
src/plugins/vmxnet3/input.c