net/sfc: fix generic byte statistics to exclude FCS bytes
authorViacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Wed, 20 Jan 2021 12:44:18 +0000 (15:44 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commit8a6930361bcfb0374cb84e95d75ab7c01231c96e
tree1a5f5b2d6dc6b6f7911590d17e384fcf2d1841fc
parent061abae299c2a9deaa1d6a9e66a543b9dc05cec3
net/sfc: fix generic byte statistics to exclude FCS bytes

Generic byte statistics should not include Ethernet FCS bytes.

Fixes: 1caab2f1e684 ("net/sfc: add basic statistics")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/sfc/sfc_ethdev.c