DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/7] qede: SR-IOV PF driver support
@ 2020-07-13 15:13 Manish Chopra
  2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 1/7] lib/librte_pci: add rte_pci_regs.h Manish Chopra
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Manish Chopra @ 2020-07-13 15:13 UTC (permalink / raw)
  To: jerinjacobk, jerinj, ferruh.yigit, grive
  Cc: dev, irusskikh, rmody, GR-Everest-DPDK-Dev, anatoly.burakov,
	xavier.huwei, humin29, yisen.zhuang, xiao.w.wang, qiming.yang,
	qi.z.zhang, heinrich.kuhn

Hi,

This series adds SR-IOV PF pmd driver support to have VF pmd
driver work over PF pmd driver instances in order to run the
adapter completely under DPDK environment for one of the use
cases like ovs-dpdk.

This is very initial bring-up with following testing covered -

* Enable/Disable SR-IOV VFs through igb_uio sysfs hook.
* Load VFs, run fastpath, teardown VFs in hypervisor and guest VM.
* VF FLR flow (in case of VF PCI passthrough to the guest VM)
* Bulletin mechanism tested to communicate link changes to the VFs.

Note that this series is intended for upcoming DPDK release (20.08)
Please consider applying this series to dpdk-next-net-mrvl.git

V1->V2: (Incorporated comments from Jerin Jacob)
================================================

* Added rte_pci_regs.h file (copy of linux/pci_regs.h) under
  lib/librte_pci to remove the dependency of dpdk on user headers

* Added generic API to find PCI extended capability and use
  that in the drivers, removed individual functions implemented
  by the drivers

Thanks,
Manish

Manish Chopra (7):
  lib/librte_pci: add rte_pci_regs.h
  drivers: add generic API to find PCI extended cap
  net/qede: define PCI config space specific osals
  net/qede: configure VFs on hardware
  net/qede: add infrastructure support for VF load
  net/qede: initialize VF MAC and link
  net/qede: add VF FLR support

 doc/guides/nics/features/qede.ini          |    1 +
 doc/guides/nics/qede.rst                   |    7 +-
 drivers/bus/pci/linux/pci_uio.c            |    2 +-
 drivers/bus/pci/linux/pci_vfio.c           |    2 +-
 drivers/bus/pci/pci_common.c               |   41 +
 drivers/bus/pci/rte_bus_pci.h              |   11 +
 drivers/net/bnx2x/bnx2x.h                  |    2 +-
 drivers/net/hns3/hns3_ethdev_vf.c          |    2 +-
 drivers/net/ice/ice_ethdev.c               |   53 +-
 drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c |   48 +-
 drivers/net/qede/Makefile                  |    1 +
 drivers/net/qede/base/bcm_osal.c           |   31 +
 drivers/net/qede/base/bcm_osal.h           |   33 +-
 drivers/net/qede/base/ecore.h              |    7 +
 drivers/net/qede/base/ecore_iov_api.h      |    3 +
 drivers/net/qede/meson.build               |    1 +
 drivers/net/qede/qede_ethdev.c             |   37 +-
 drivers/net/qede/qede_ethdev.h             |    1 +
 drivers/net/qede/qede_if.h                 |    1 +
 drivers/net/qede/qede_main.c               |   13 +-
 drivers/net/qede/qede_sriov.c              |  219 ++++
 drivers/net/qede/qede_sriov.h              |   22 +
 drivers/vdpa/ifc/base/ifcvf_osdep.h        |    2 +-
 lib/librte_pci/Makefile                    |    1 +
 lib/librte_pci/meson.build                 |    2 +-
 lib/librte_pci/rte_pci_regs.h              | 1075 ++++++++++++++++++++
 26 files changed, 1500 insertions(+), 118 deletions(-)
 create mode 100644 drivers/net/qede/qede_sriov.c
 create mode 100644 drivers/net/qede/qede_sriov.h
 create mode 100644 lib/librte_pci/rte_pci_regs.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-07-20  9:36 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 15:13 [dpdk-dev] [PATCH v2 0/7] qede: SR-IOV PF driver support Manish Chopra
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 1/7] lib/librte_pci: add rte_pci_regs.h Manish Chopra
2020-07-16  9:43   ` Gaëtan Rivet
2020-07-16 10:08   ` Gaëtan Rivet
2020-07-16 10:17     ` Gaëtan Rivet
2020-07-16 10:27       ` Jerin Jacob
2020-07-16 11:26         ` Thomas Monjalon
2020-07-16 11:55           ` Jerin Jacob
2020-07-16 12:49             ` Thomas Monjalon
2020-07-16 13:02               ` Jerin Jacob
2020-07-16 15:55                 ` Thomas Monjalon
2020-07-16 16:43                   ` Jerin Jacob
2020-07-16 16:57                     ` Thomas Monjalon
2020-07-16 17:33                       ` Jerin Jacob
2020-07-16 17:56                       ` Gaëtan Rivet
2020-07-16 20:49                         ` [dpdk-dev] [EXT] " Manish Chopra
2020-07-18 19:42                           ` Manish Chopra
2020-07-19  8:47                             ` Jerin Jacob
2020-07-20  8:57                               ` Gaëtan Rivet
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 2/7] drivers: add generic API to find PCI extended cap Manish Chopra
2020-07-20  9:36   ` Gaëtan Rivet
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 3/7] net/qede: define PCI config space specific osals Manish Chopra
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 4/7] net/qede: configure VFs on hardware Manish Chopra
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 5/7] net/qede: add infrastructure support for VF load Manish Chopra
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 6/7] net/qede: initialize VF MAC and link Manish Chopra
2020-07-13 15:13 ` [dpdk-dev] [PATCH v2 7/7] net/qede: add VF FLR support Manish Chopra

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git