RE: [EXTERNAL] Re: [PATCH net v1 2/2] octeon_ep_vf: avoid compiler and IQ/OQ reordering
From: Vimlesh Kumar
Date: Fri Jan 09 2026 - 09:31:02 EST
> -----Original Message-----
> From: Paolo Abeni <pabeni@xxxxxxxxxx>
> Sent: Monday, December 29, 2025 9:48 PM
> To: Vimlesh Kumar <vimleshk@xxxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Cc: Sathesh B Edara <sedara@xxxxxxxxxxx>; Shinas Rasheed
> <srasheed@xxxxxxxxxxx>; Haseeb Gani <hgani@xxxxxxxxxxx>;
> Veerasenareddy Burru <vburru@xxxxxxxxxxx>; Satananda Burla
> <sburla@xxxxxxxxxxx>; Andrew Lunn <andrew+netdev@xxxxxxx>; David S.
> Miller <davem@xxxxxxxxxxxxx>; Eric Dumazet <edumazet@xxxxxxxxxx>;
> Jakub Kicinski <kuba@xxxxxxxxxx>
> Subject: [EXTERNAL] Re: [PATCH net v1 2/2] octeon_ep_vf: avoid compiler and
> IQ/OQ reordering
>
> On 12/19/25 8: 29 AM, Vimlesh Kumar wrote: > Utilize READ_ONCE and
> WRITE_ONCE APIs for IO queue Tx/Rx > variable access to prevent compiler
> optimization and reordering. > Additionally, ensure IO queue OUT/IN_CNT
> registers are flushed
> On 12/19/25 8:29 AM, Vimlesh Kumar wrote:
> > Utilize READ_ONCE and WRITE_ONCE APIs for IO queue Tx/Rx variable
> > access to prevent compiler optimization and reordering.
> > Additionally, ensure IO queue OUT/IN_CNT registers are flushed by
> > performing a read-back after writing.
>
> Same question here.
>
Please check my reply on patch 1/2. Thanks
> /P