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

Geethasowjanya Akula
2024-07-03T09:09:24Z

>-----Original Message-----
>From: Jakub Kicinski <kuba@kernel.org>
>Sent: Tuesday, July 2, 2024 7:27 PM
>To: Geethasowjanya Akula <gakula@marvell.com>
>Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
>davem@davemloft.net; pabeni@redhat.com; edumazet@google.com; Sunil
>Kovvuri Goutham <sgoutham@marvell.com>; Subbaraya Sundeep Bhatta
><sbhatta@marvell.com>; Hariprasad Kelam <hkelam@marvell.com>
>Subject: Re: [EXTERNAL] Re: [net-next PATCH v7 06/10] octeontx2-pf: Get VF
>stats via representor
>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?

Will implement while adding TC hw offload support for the representor,
which will be submitted as different patch series.