>-----Original Message-----
>From: Intel-wired-lan <[email protected]> On Behalf Of
>Fijalkowski, Maciej
>Sent: Wednesday, August 7, 2024 4:23 PM
>To: [email protected]
>Cc: Fijalkowski, Maciej <[email protected]>;
>[email protected]; [email protected]; Nguyen, Anthony L
><[email protected]>; Karlsson, Magnus
><[email protected]>; [email protected]
>Subject: [Intel-wired-lan] [PATCH iwl-net 1/3] ice: fix page reuse when
>PAGE_SIZE is over 8k
>
>Architectures that have PAGE_SIZE >= 8192 such as arm64 should act the same
>as x86 currently, meaning reuse of a page should only take place when no one
>else is busy with it.
>
>Do two things independently of underlying PAGE_SIZE:
>- store the page count under ice_rx_buf::pgcnt
>- then act upon its value vs ice_rx_buf::pagecnt_bias when making the
> decision regarding page reuse
>
>Fixes: 2b245cb29421 ("ice: Implement transmit and NAPI support")
>Signed-off-by: Maciej Fijalkowski <[email protected]>
>---
> drivers/net/ethernet/intel/ice/ice_txrx.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
>
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at
Intel)