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

From: Geethasowjanya Akula
Date: Wed Jul 03 2024 - 05:09:36 EST




>-----Original Message-----
>From: Jakub Kicinski <kuba@xxxxxxxxxx>
>Sent: Tuesday, July 2, 2024 7:27 PM
>To: Geethasowjanya Akula <gakula@xxxxxxxxxxx>
>Cc: netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
>davem@xxxxxxxxxxxxx; pabeni@xxxxxxxxxx; edumazet@xxxxxxxxxx; Sunil
>Kovvuri Goutham <sgoutham@xxxxxxxxxxx>; Subbaraya Sundeep Bhatta
><sbhatta@xxxxxxxxxxx>; Hariprasad Kelam <hkelam@xxxxxxxxxxx>
>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.