net/sfc/base: fix MAC Tx stats for less or equal to 64 bytes
authorAndy Moreton <amoreton@solarflare.com>
Mon, 10 Sep 2018 09:33:35 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commit42f235911a613b339b3b6597fd0b998321c2ce22
treefd9bb8fdc0825ba731feb3335ff5a19d656cd7ce
parent95ea95ec41859ccd3942c224691ea04195b1aeda
net/sfc/base: fix MAC Tx stats for less or equal to 64 bytes

This statistic should include 64byte and smaller frames.
Fix EF10 calculation to match Siena code.

Fixes: 8c7c723dfe7c ("net/sfc/base: import MAC statistics")
Cc: stable@dpdk.org
Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_mac.c