[Intel-wired-lan] [PATCH iwl-next v6 09/15] idpf: initialize interrupts and enable vport

Singh, Krishneil K krishneil.k.singh at intel.com
Tue May 30 22:58:45 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Pavan Kumar Linga
> Sent: Monday, May 22, 2023 5:23 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: willemb at google.com; pabeni at redhat.com; leon at kernel.org;
> mst at redhat.com; simon.horman at corigine.com; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>; stephen at networkplumber.org;
> edumazet at google.com; Nguyen, Anthony L
> <anthony.l.nguyen at intel.com>; netdev at vger.kernel.org; kuba at kernel.org;
> Burra, Phani R <phani.r.burra at intel.com>; decot at google.com;
> davem at davemloft.net; shannon.nelson at amd.com
> Subject: [Intel-wired-lan] [PATCH iwl-next v6 09/15] idpf: initialize interrupts
> and enable vport
> 
> To further continue 'vport open', initialize all the resources
> required for the interrupts. To start with, initialize the
> queue vector indices with the ones received from the device
> Control Plane. Now that all the TX and RX queues are initialized,
> map the RX descriptor and buffer queues as well as TX completion
> queues to the allocated vectors. Initialize and enable the napi
> handler for the napi polling. Finally, request the IRQs for the
> interrupt vectors from the stack and setup the interrupt handler.
> 
> Once the interrupt init is done, send 'map queue vector', 'enable
> queues' and 'enable vport' virtchnl messages to the CP to complete
> the 'vport open' flow.
> 
> Co-developed-by: Alan Brady <alan.brady at intel.com>
> Signed-off-by: Alan Brady <alan.brady at intel.com>
> Co-developed-by: Joshua Hay <joshua.a.hay at intel.com>
> Signed-off-by: Joshua Hay <joshua.a.hay at intel.com>
> Co-developed-by: Madhu Chittim <madhu.chittim at intel.com>
> Signed-off-by: Madhu Chittim <madhu.chittim at intel.com>
> Co-developed-by: Phani Burra <phani.r.burra at intel.com>
> Signed-off-by: Phani Burra <phani.r.burra at intel.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga at intel.com>
> Reviewed-by: Sridhar Samudrala <sridhar.samudrala at intel.com>
> Reviewed-by: Willem de Bruijn <willemb at google.com>
> ---
>  drivers/net/ethernet/intel/idpf/idpf.h        |  37 ++
>  drivers/net/ethernet/intel/idpf/idpf_dev.c    |  59 ++
>  .../ethernet/intel/idpf/idpf_lan_pf_regs.h    |  11 +
>  .../ethernet/intel/idpf/idpf_lan_vf_regs.h    |  25 +
>  drivers/net/ethernet/intel/idpf/idpf_lib.c    | 295 +++++++++-
>  .../ethernet/intel/idpf/idpf_singleq_txrx.c   |  11 +
>  drivers/net/ethernet/intel/idpf/idpf_txrx.c   | 366 +++++++++++-
>  drivers/net/ethernet/intel/idpf/idpf_txrx.h   |  21 +
>  drivers/net/ethernet/intel/idpf/idpf_vf_dev.c |  58 ++
>  .../net/ethernet/intel/idpf/idpf_virtchnl.c   | 521 ++++++++++++++++++
>  10 files changed, 1401 insertions(+), 3 deletions(-)
> 

Tested-by: Krishneil Singh  <krishneil.k.singh at intel.com>


More information about the Intel-wired-lan mailing list