[Intel-wired-lan] [PATCH iwl-next v6 03/15] idpf: add controlq init and reset checks
Singh, Krishneil K
krishneil.k.singh at intel.com
Tue May 30 22:42:41 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; Bhatnagar, Shailendra
> <shailendra.bhatnagar at intel.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 03/15] idpf: add controlq init
> and reset checks
>
> From: Joshua Hay <joshua.a.hay at intel.com>
>
> At the end of the probe, initialize and schedule the event workqueue.
> It calls the hard reset function where reset checks are done to find
> if the device is out of the reset. Control queue initialization and
> the necessary control queue support is added.
>
> Introduce function pointers for the register operations which are
> different between PF and VF devices.
>
> Signed-off-by: Joshua Hay <joshua.a.hay at intel.com>
> Co-developed-by: Alan Brady <alan.brady at intel.com>
> Signed-off-by: Alan Brady <alan.brady 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>
> Co-developed-by: Shailendra Bhatnagar <shailendra.bhatnagar at intel.com>
> Signed-off-by: Shailendra Bhatnagar <shailendra.bhatnagar at intel.com>
> Co-developed-by: Pavan Kumar Linga <pavan.kumar.linga 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/Makefile | 8 +-
> drivers/net/ethernet/intel/idpf/idpf.h | 95 +++
> .../net/ethernet/intel/idpf/idpf_controlq.c | 641 ++++++++++++++++++
> .../net/ethernet/intel/idpf/idpf_controlq.h | 117 ++++
> .../ethernet/intel/idpf/idpf_controlq_api.h | 169 +++++
> .../ethernet/intel/idpf/idpf_controlq_setup.c | 175 +++++
> drivers/net/ethernet/intel/idpf/idpf_dev.c | 89 +++
> .../ethernet/intel/idpf/idpf_lan_pf_regs.h | 70 ++
> .../ethernet/intel/idpf/idpf_lan_vf_regs.h | 65 ++
> drivers/net/ethernet/intel/idpf/idpf_lib.c | 145 ++++
> drivers/net/ethernet/intel/idpf/idpf_main.c | 51 +-
> drivers/net/ethernet/intel/idpf/idpf_mem.h | 20 +
> drivers/net/ethernet/intel/idpf/idpf_vf_dev.c | 86 +++
> .../net/ethernet/intel/idpf/idpf_virtchnl.c | 128 ++++
> 14 files changed, 1857 insertions(+), 2 deletions(-)
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_controlq.c
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_controlq_api.h
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_controlq_setup.c
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_dev.c
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_lan_pf_regs.h
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_lan_vf_regs.h
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_lib.c
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_mem.h
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_vf_dev.c
> create mode 100644 drivers/net/ethernet/intel/idpf/idpf_virtchnl.c
>
Tested-by: Krishneil Singh <krishneil.k.singh at intel.com>
More information about the Intel-wired-lan
mailing list