> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of
> Pavan Kumar Linga
> Sent: Thursday, May 8, 2025 2:50 PM
> To: intel-wired-...@lists.osuosl.org
> Cc: net...@vger.kernel.org; Olech, Milena <milena.ol...@intel.com>;
> Nadezhdin, Anton <anton.nadezh...@intel.com>; Linga, Pavan Kumar
> <pavan.kumar.li...@intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v4 3/9] idpf: introduce
> idpf_q_vec_rsrc struct and move vector resources to it
>
> To group all the vector and queue resources, introduce idpf_q_vec_rsrc
> structure. This helps to reuse the same config path functions by other
> features. For example, PTP implementation can use the existing config
> infrastructure to configure secondary mailbox by passing its queue and vector
> info. It also helps to avoid any duplication of code.
>
> Existing queue and vector resources are grouped as default resources.
> This patch moves vector info to the newly introduced structure.
> Following patch moves the queue resources.
>
> While at it, declare the loop iterator for 'num_q_vectors' in loop and use the
> correct type.
>
> Reviewed-by: Anton Nadezhdin <anton.nadezh...@intel.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.li...@intel.com>
> ---
> 2.43.0
Tested-by: Samuel Salin <samuel.sa...@intel.com>