Re: [EXTERNAL] Re: [net-next PATCH v7 06/10] octeontx2-pf: Get VF stats via representor

From: Jakub Kicinski
Date: Tue Jul 02 2024 - 09:56:58 EST


On Tue, 2 Jul 2024 06:41:51 +0000 Geethasowjanya Akula wrote:
> >> Adds support to export VF port statistics via representor netdev.
> >> Defines new mbox "NIX_LF_STATS" to fetch VF hw stats.
> >
> >These count all traffic passing to the VF? Both from the representor and directly
> >via forwarding rules?
> Yes, it provide both the stats.

Could you implement IFLA_OFFLOAD_XSTATS_CPU_HIT as well, to indicate
how much of the traffic wasn't offloaded?