net/sfc: add xstats for Rx/Tx doorbells
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Fri, 23 Jul 2021 13:15:14 +0000 (16:15 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 21:26:45 +0000 (23:26 +0200)
commitfdd7719eb3c19a76536a3baecbb594c43376528b
treed700b576a025f5cd4a67db5fb24ec4b364454446
parent21ca2629cfdfa4268097697844c456069c8af11a
net/sfc: add xstats for Rx/Tx doorbells

Rx/Tx doorbells statistics are collected in software and
available per queue. These stats are useful for performance
investigation.

Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
16 files changed:
drivers/net/sfc/meson.build
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_dp.h
drivers/net/sfc/sfc_ef10.h
drivers/net/sfc/sfc_ef100_rx.c
drivers/net/sfc/sfc_ef100_tx.c
drivers/net/sfc/sfc_ef10_essb_rx.c
drivers/net/sfc/sfc_ef10_rx.c
drivers/net/sfc/sfc_ef10_tx.c
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_port.c
drivers/net/sfc/sfc_rx.c
drivers/net/sfc/sfc_sw_stats.c [new file with mode: 0644]
drivers/net/sfc/sfc_sw_stats.h [new file with mode: 0644]
drivers/net/sfc/sfc_tx.c