net/txgbe: fix Rx missed packet counter
authorJiawen Wu <jiawenwu@trustnetic.com>
Fri, 5 Mar 2021 02:14:36 +0000 (10:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Mar 2021 11:32:33 +0000 (12:32 +0100)
commitfa702fde0c3670bf0a206d9e074046274233c516
tree7f65b425ec9c18408c49acd5668af69ead99c6cf
parent9f1b1fbbdd483836f30004ce5db3b99080ebf718
net/txgbe: fix Rx missed packet counter

Add the Rx dropped packet counter into stats->imissed, to ensure the
stats correct.

Fixes: c9bb590d4295 ("net/txgbe: support device statistics")
Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
drivers/net/txgbe/base/txgbe_type.h
drivers/net/txgbe/txgbe_ethdev.c