🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by "Salin, Samuel" Thu, 08 Oct 2026 21:23
RE: [PATCH iwl-next v2 01/10] idpf: store HW vectors information
#936
Author: "Salin, Samuel"
Date: Thu, 08 Oct 2026 21:23
47 lines
16083 bytes
> -----Original Message-----
> From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
> Sent: Friday, September 11, 2026 5:49 AM
> To: intel-wired-lan@lists.osuosl.org
> Cc: netdev@vger.kernel.org; Michal Swiatkowski
> <michal.swiatkowski@linux.intel.com>; Loktionov, Aleksandr
> <aleksandr.loktionov@intel.com>
> Subject: [PATCH iwl-next v2 01/10] idpf: store HW vectors information
> 
> Currently hardware vectors information (registers address and HW indexes) is
> stored in virtchnl command. When this information is needed they are parsed
> and returned. There is a need for alloc/free array for this information each time
> it is called.
> 
> Information about indexes and registers are parsed in two similar functions.
> Create one parse function for both and store it in irq_info structure to use
> whenever it is needed.
> 
> Stored virtchnl command still has to exist, because it is used when sending
> dealloc message.
> 
> Make intr_reg_init() functions (for VF and PF) return void to simplify code.
> With stored irq information there is no need to alloc an array for it, so these
> functions can't fail.
> 
> Previously mailbox vector wasn't filled in idpf_intr_reg_init() function. Store
> the mailbox information in irq_info.vectors to have everything in one place.
> Because of that tweak index in few places by adding IDPF_MBX_Q_VEC (when
> allocatig or iterrating) or not substracting IDPF_MBX_Q_VEC from
> q_vector_idxs, because it is no needed now.
> 
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
> ---

Tested-by: Samuel Salin <Samuel.salin@intel.com>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads