net/sfc: fix Rx packets counter
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 17 Jan 2019 06:17:32 +0000 (06:17 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Jan 2019 08:47:26 +0000 (09:47 +0100)
commitab77a0013a811aacdde49e903786eff7abb308ec
treedd6271bb2b659c01275d871dd88629ec02a7993e
parent00479d9cc517b4c8fb6a8abc1b066e36a7e32810
net/sfc: fix Rx packets counter

Errors, missed and pauses should not be included in delivered
good Rx packets reported by ipackets.

Fixes: 1caab2f1e684 ("net/sfc: add basic statistics")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_port.c