> -----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>; Chittim, Madhu
> <madhu.chit...@intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v4 8/9] idpf: avoid calling
> get_rx_ptypes for each vport
> 
> RX ptypes received from device control plane doesn't depend on vport info,
> but might vary based on the queue model. When the driver requests for
> ptypes, control plane fills both ptype_id_10 (used for splitq) and
> ptype_id_8 (used for singleq) fields of the virtchnl2_ptype response 
> structure.
> This allows to call get_rx_ptypes once at the adapter level instead of each
> vport.
> 
> Parse and store the received ptypes of both splitq and singleq in a separate
> lookup table. Respective lookup table is used based on the queue model info.
> As part of the changes, pull the ptype protocol parsing code into a separate
> function.
> 
> Reviewed-by: Madhu Chittim <madhu.chit...@intel.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.li...@intel.com>
> ---
> 2.43.0

Tested-by: Samuel Salin <samuel.sa...@intel.com>

Reply via email to