[Intel-wired-lan] [PATCH net-next] ice: Add slow path offload stats on port representor in switchdev
Penigalapati, Sandeep
sandeep.penigalapati at intel.com
Mon Feb 7 04:51:15 UTC 2022
>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Marcin Szycik
>Sent: Thursday, January 27, 2022 8:34 PM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next] ice: Add slow path offload stats on
>port representor in switchdev
>
>Implement callbacks to check for stats and fetch port representor stats.
>Stats are taken from RX/TX ring corresponding to port representor and show
>the number of bytes/packets that were not offloaded.
>
>To see slow path stats run:
>ifstat -x cpu_hits -a
>
>Signed-off-by: Marcin Szycik <marcin.szycik at linux.intel.com>
>---
> drivers/net/ethernet/intel/ice/ice.h | 3 ++
> drivers/net/ethernet/intel/ice/ice_main.c | 6 +--
>drivers/net/ethernet/intel/ice/ice_repr.c | 55 +++++++++++++++++++++++
> 3 files changed, 61 insertions(+), 3 deletions(-)
>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
More information about the Intel-wired-lan
mailing list