net/sfc: collect per queue stats in EF100 Tx
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Tue, 28 Sep 2021 11:29:12 +0000 (14:29 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Oct 2021 16:35:57 +0000 (18:35 +0200)
commitacc474488b0e30825c4dd119321b8e8787a95f96
treef175a1ff4b4b58c6f1601384ce05cafabd600d59
parent395ffcb431f48900cec4361d6f7ae22f9014642b
net/sfc: collect per queue stats in EF100 Tx

If Tx datapath collects per queue statistics, use these stats
to provide opackets and obytes in basic ethdev stats.

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_dp_tx.h
drivers/net/sfc/sfc_ef100_tx.c
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_sw_stats.c