From: Pavan Kumar Linga <pavan.kumar.linga@intel.com>
To: intel-wired-lan@lists.osuosl.org
Cc: Pavan Kumar Linga <pavan.kumar.linga@intel.com>,
shailendra.bhatnagar@intel.com, madhu.chittim@intel.com,
phani.r.burra@intel.com
Subject: [Intel-wired-lan] [PATCH RFC net-next 0/1] idpf: add IDPF driver for initial feedback
Date: Wed, 23 Nov 2022 15:19:26 -0500 [thread overview]
Message-ID: <20221123201926.159418-1-pavan.kumar.linga@intel.com> (raw)
This adds the Infrastructure Data Path Function (IDPF) driver
code as a single RFC patch. The main idea is to introduce the
IDPF driver just for initial feedback while this code is being
prepared into a proper series to be submitted to the mailing list
i.e. this patch is not intended to be merged but to get the feedback.
IDPF driver is used for both physical and virtual functions.
Except for some of the device operations, rest of the functionality
is same for both PF and VF. It uses virtchnl version2 opcodes and
structures defined in 'virtchnl2' header file which helps the driver
to learn most of the capabilities and register offsets from the
device Control Plane (CP) instead of assuming the default values.
Pavan Kumar Linga (1):
idpf: introduce IDPF driver
drivers/net/ethernet/intel/Makefile | 1 +
drivers/net/ethernet/intel/idpf/Makefile | 20 +
drivers/net/ethernet/intel/idpf/idpf.h | 847 +++
.../net/ethernet/intel/idpf/idpf_controlq.c | 646 +++
.../net/ethernet/intel/idpf/idpf_controlq.h | 128 +
.../ethernet/intel/idpf/idpf_controlq_api.h | 190 +
.../ethernet/intel/idpf/idpf_controlq_setup.c | 175 +
drivers/net/ethernet/intel/idpf/idpf_dev.c | 212 +
drivers/net/ethernet/intel/idpf/idpf_devids.h | 10 +
.../net/ethernet/intel/idpf/idpf_ethtool.c | 1477 +++++
.../ethernet/intel/idpf/idpf_lan_pf_regs.h | 136 +
.../net/ethernet/intel/idpf/idpf_lan_txrx.h | 422 ++
.../ethernet/intel/idpf/idpf_lan_vf_regs.h | 119 +
drivers/net/ethernet/intel/idpf/idpf_lib.c | 2663 +++++++++
drivers/net/ethernet/intel/idpf/idpf_main.c | 128 +
drivers/net/ethernet/intel/idpf/idpf_mem.h | 20 +
.../ethernet/intel/idpf/idpf_singleq_txrx.c | 1331 +++++
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 4937 +++++++++++++++++
drivers/net/ethernet/intel/idpf/idpf_txrx.h | 852 +++
drivers/net/ethernet/intel/idpf/idpf_vf_dev.c | 195 +
.../net/ethernet/intel/idpf/idpf_virtchnl.c | 3980 +++++++++++++
include/linux/avf/virtchnl2.h | 1490 +++++
include/linux/avf/virtchnl2_lan_desc.h | 605 ++
23 files changed, 20584 insertions(+)
create mode 100644 drivers/net/ethernet/intel/idpf/Makefile
create mode 100644 drivers/net/ethernet/intel/idpf/idpf.h
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_controlq.c
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_controlq.h
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_devids.h
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_ethtool.c
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_lan_pf_regs.h
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_lan_txrx.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_main.c
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_mem.h
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_txrx.c
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_txrx.h
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_vf_dev.c
create mode 100644 drivers/net/ethernet/intel/idpf/idpf_virtchnl.c
create mode 100644 include/linux/avf/virtchnl2.h
create mode 100644 include/linux/avf/virtchnl2_lan_desc.h
--
2.37.3
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
next reply other threads:[~2022-11-28 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 20:19 Pavan Kumar Linga [this message]
2022-11-28 16:49 ` [Intel-wired-lan] [PATCH RFC net-next 0/1] idpf: add IDPF driver for initial feedback Alexander Lobakin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221123201926.159418-1-pavan.kumar.linga@intel.com \
--to=pavan.kumar.linga@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=madhu.chittim@intel.com \
--cc=phani.r.burra@intel.com \
--cc=shailendra.bhatnagar@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox