> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Joshua Hay
> Sent: Wednesday, November 12, 2025 4:42 PM
> To: [email protected]
> Cc: [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-next v10 01/10] idpf: introduce local
> idpf structure to store virtchnl queue chunks
>
> From: Pavan Kumar Linga <[email protected]>
>
> Queue ID and register info received from device Control Plane is stored
> locally
> in the same little endian format. As the queue chunks are retrieved in 3
> functions, lexx_to_cpu conversions are done each time.
> Instead introduce a new idpf structure to store the received queue info.
> It also avoids conditional check to retrieve queue chunks.
>
> With this change, there is no need to store the queue chunks in
> 'req_qs_chunks' field. So remove that.
>
> Suggested-by: Milena Olech <[email protected]>
> Reviewed-by: Anton Nadezhdin <[email protected]>
> Signed-off-by: Pavan Kumar Linga <[email protected]>
> Reviewed-by: Aleksandr Loktionov <[email protected]>
> Signed-off-by: Joshua Hay <[email protected]>
>
> ---
> v10: prevent queue_chunk mem leak and add queue_chunk deinit helper func
> v8: rebase on AF_XDP series
> 2.39.2
Tested-by: Samuel Salin <[email protected]>