Re: [dpdk-dev] [EXT] Re: [PATCH 1/6] net/qede: define PCI config space specific osals

2020-07-09 Thread Manish Chopra
> -Original Message- > From: Jerin Jacob > Sent: Friday, June 26, 2020 10:24 AM > To: Manish Chopra ; Gaetan Rivet > > Cc: Jerin Jacob Kollanukkaran ; Ferruh Yigit > ; dpdk-dev ; Igor Russkikh > ; Rasesh Mody ; GR-Everest- > DPDK-Dev > Subject: [EXT] Re: [P

Re: [dpdk-dev] [EXT] Re: [PATCH 1/6] net/qede: define PCI config space specific osals

2020-07-09 Thread Manish Chopra
> -Original Message- > From: Jerin Jacob > Sent: Thursday, July 9, 2020 9:41 PM > To: Manish Chopra > Cc: Gaetan Rivet ; Jerin Jacob Kollanukkaran > ; Ferruh Yigit ; dpdk-dev > ; Igor Russkikh ; Rasesh Mody > ; GR-Everest-DPDK-Dev d...@marvell.com> > Sub

[dpdk-dev] [PATCH 2/2] net/qede: Do not stop vport if not started.

2020-02-06 Thread Manish Chopra
Stopping an already disabled vport leads to firmware assert. Stop the vport only if it was started. Fixes: 2ea6f76aff40 ("qede: add core driver") Cc: sta...@dpdk.org Signed-off-by: Manish Chopra Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 3 ++- 1 file

[dpdk-dev] [PATCH 1/2] net/qede: Fix VF re-load failure after ungraceful termination of DPDK

2020-02-06 Thread Manish Chopra
: 2ea6f76aff40 ("qede: add core driver") Signed-off-by: Manish Chopra Signed-off-by: Shahed Shaikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 2 +- drivers/net/qede/base/ecore_dev_api.h | 3 ++ drivers/net/qede/base/ecore_iov_api.h | 1 + drivers/net

[dpdk-dev] [PATCH 0/6] qede: SR-IOV PF driver support

2020-06-09 Thread Manish Chopra
(20.08) Please consider applying this series to dpdk-next-net-mrvl.git Thanks, Manish Manish Chopra (6): 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

[dpdk-dev] [PATCH 1/6] net/qede: define PCI config space specific osals

2020-06-09 Thread Manish Chopra
: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.c | 38 drivers/net/qede/base/bcm_osal.h | 15 + drivers/net/qede/base/ecore.h| 23 +++ drivers/net/qede/qede_main.c | 1

[dpdk-dev] [PATCH 2/6] net/qede: configure VFs on hardware

2020-06-09 Thread Manish Chopra
IOV files [qede_sriov(.c|.h)] under qede directory to add non-base driver IOV APIs/contents there. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/Makefile | 1 + drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH 5/6] net/qede: add VF FLR support

2020-06-09 Thread Manish Chopra
This patch adds required bit to handle VF FLR indication from Management FW (MFW) of the device With that VFs were able to load in VM (VF attached as PCI passthrough to the guest VM) followed by FLR successfully. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh

[dpdk-dev] [PATCH 3/6] net/qede: add infrastructure support for VF load

2020-06-09 Thread Manish Chopra
This patch adds necessary infrastructure support (required to handle messages from VF and sending ramrod on behalf of VF's configuration request from alarm handler context) to start/load the VF-PMD driver instance on top of PF-PMD driver instance. Signed-off-by: Manish Chopra Signed-off-by:

[dpdk-dev] [PATCH 4/6] net/qede: initialize VF MAC and link

2020-06-09 Thread Manish Chopra
driver instance. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 34 - drivers/net/qede/qede_main.c | 7 - drivers/net/qede/qede_sriov.c | 55 ++ drivers/net/qede

[dpdk-dev] [PATCH 6/6] doc/guides: update qede features list

2020-06-09 Thread Manish Chopra
Add SR-IOV PF entry in supported features Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- doc/guides/nics/features/qede.ini | 1 + doc/guides/nics/qede.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics

[dpdk-dev] [PATCH v2 0/7] qede: SR-IOV PF driver support

2020-07-13 Thread Manish Chopra
ded 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 speci

[dpdk-dev] [PATCH v2 2/7] drivers: add generic API to find PCI extended cap

2020-07-13 Thread Manish Chopra
By adding generic API, this patch removes individual functions/defines implemented by drivers to find PCI extended capability. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh --- drivers/bus/pci/pci_common.c | 41 + drivers/bus/pci/rte_bus_pci.h

[dpdk-dev] [PATCH v2 1/7] lib/librte_pci: add rte_pci_regs.h

2020-07-13 Thread Manish Chopra
This is merely copy of latest linux/pci_regs.h in order to avoid dependency of dpdk on user headers. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh --- drivers/bus/pci/linux/pci_uio.c |2 +- drivers/bus/pci/linux/pci_vfio.c|2 +- drivers/net/bnx2x/bnx2x.h

[dpdk-dev] [PATCH v2 4/7] net/qede: configure VFs on hardware

2020-07-13 Thread Manish Chopra
IOV files [qede_sriov(.c|.h)] under qede directory to add non-base driver IOV APIs/contents there. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/Makefile | 1 + drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v2 3/7] net/qede: define PCI config space specific osals

2020-07-13 Thread Manish Chopra
: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h | 18 +- drivers/net/qede/base/ecore.h| 3 +++ drivers/net/qede/qede_main.c | 1 + 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/net/qede

[dpdk-dev] [PATCH v2 5/7] net/qede: add infrastructure support for VF load

2020-07-13 Thread Manish Chopra
This patch adds necessary infrastructure support (required to handle messages from VF and sending ramrod on behalf of VF's configuration request from alarm handler context) to start/load the VF-PMD driver instance on top of PF-PMD driver instance. Signed-off-by: Manish Chopra Signed-off-by:

[dpdk-dev] [PATCH v2 6/7] net/qede: initialize VF MAC and link

2020-07-13 Thread Manish Chopra
driver instance. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 34 - drivers/net/qede/qede_main.c | 7 - drivers/net/qede/qede_sriov.c | 55 ++ drivers/net/qede

[dpdk-dev] [PATCH v2 7/7] net/qede: add VF FLR support

2020-07-13 Thread Manish Chopra
This patch adds required bit to handle VF FLR indication from Management FW (MFW) of the device With that VFs were able to load in VM (VF attached as PCI passthrough to the guest VM) followed by FLR successfully Updated the docs/guides with the feature support Signed-off-by: Manish Chopra

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/7] lib/librte_pci: add rte_pci_regs.h

2020-07-16 Thread Manish Chopra
> -Original Message- > From: Gaëtan Rivet > Sent: Thursday, July 16, 2020 11:26 PM > To: Thomas Monjalon > Cc: Jerin Jacob ; Manish Chopra > ; Ferruh Yigit ; Igor > Russkikh ; dpdk-dev > Subject: [EXT] Re: [dpdk-dev] [PATCH v2 1/7] lib/librte_pci: add > r

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/7] lib/librte_pci: add rte_pci_regs.h

2020-07-18 Thread Manish Chopra
> -Original Message- > From: dev On Behalf Of Manish Chopra > Sent: Friday, July 17, 2020 2:19 AM > To: Gaëtan Rivet ; Thomas Monjalon > > Cc: Jerin Jacob ; Ferruh Yigit > ; Igor Russkikh ; dpdk-dev > > Subject: Re: [dpdk-dev] [EXT] Re: [PATCH

[dpdk-dev] [PATCH v3 0/6] qede: SR-IOV PF driver support

2020-07-24 Thread Manish Chopra
ers Thanks, Manish Manish Chopra (6): 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 su

[dpdk-dev] [PATCH v3 2/6] net/qede: define PCI config space specific osals

2020-07-24 Thread Manish Chopra
: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h| 14 +- drivers/net/qede/base/ecore.h | 3 +++ drivers/net/qede/base/ecore_dev.c | 6 +++--- drivers/net/qede/base/ecore_sriov.c | 28

[dpdk-dev] [PATCH v3 1/6] drivers: add generic API to find PCI extended cap

2020-07-24 Thread Manish Chopra
By adding generic API, this patch removes individual functions/defines implemented by drivers to find PCI extended capability. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh --- drivers/bus/pci/pci_common.c | 42 ++ drivers/bus/pci/rte_bus_pci.h

[dpdk-dev] [PATCH v3 3/6] net/qede: configure VFs on hardware

2020-07-24 Thread Manish Chopra
IOV files [qede_sriov(.c|.h)] under qede directory to add non-base driver IOV APIs/contents there. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/Makefile | 1 + drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v3 4/6] net/qede: add infrastructure support for VF load

2020-07-24 Thread Manish Chopra
This patch adds necessary infrastructure support (required to handle messages from VF and sending ramrod on behalf of VF's configuration request from alarm handler context) to start/load the VF-PMD driver instance on top of PF-PMD driver instance. Signed-off-by: Manish Chopra Signed-off-by:

[dpdk-dev] [PATCH v3 5/6] net/qede: initialize VF MAC and link

2020-07-24 Thread Manish Chopra
driver instance. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 34 - drivers/net/qede/qede_main.c | 7 - drivers/net/qede/qede_sriov.c | 55 ++ drivers/net/qede

[dpdk-dev] [PATCH v3 6/6] net/qede: add VF FLR support

2020-07-24 Thread Manish Chopra
This patch adds required bit to handle VF FLR indication from Management FW (MFW) of the device With that VFs were able to load in VM (VF attached as PCI passthrough to the guest VM) followed by FLR successfully Updated the docs/guides with the feature support Signed-off-by: Manish Chopra

Re: [dpdk-dev] [EXT] Re: [PATCH v3 1/6] drivers: add generic API to find PCI extended cap

2020-07-26 Thread Manish Chopra
> -Original Message- > From: Gaëtan Rivet > Sent: Saturday, July 25, 2020 11:02 PM > To: Manish Chopra > Cc: jerinjac...@gmail.com; Jerin Jacob Kollanukkaran ; > ferruh.yi...@intel.com; dev@dpdk.org; Igor Russkikh > ; Rasesh Mody ; GR-Everest- > DPDK-

Re: [dpdk-dev] [EXT] Re: [PATCH v3 1/6] drivers: add generic API to find PCI extended cap

2020-07-26 Thread Manish Chopra
> -Original Message- > From: Gaëtan Rivet > Sent: Monday, July 27, 2020 4:18 AM > To: Manish Chopra > Cc: jerinjac...@gmail.com; Jerin Jacob Kollanukkaran ; > ferruh.yi...@intel.com; dev@dpdk.org; Igor Russkikh > ; Rasesh Mody ; GR-Everest- > DPDK-Dev ; rosen...

[dpdk-dev] [PATCH v4 2/6] net/qede: define PCI config space specific osals

2020-07-27 Thread Manish Chopra
: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h| 14 +- drivers/net/qede/base/ecore.h | 3 +++ drivers/net/qede/base/ecore_dev.c | 6 +++--- drivers/net/qede/base/ecore_sriov.c | 28

[dpdk-dev] [PATCH v4 1/6] drivers: add generic API to find PCI extended cap

2020-07-27 Thread Manish Chopra
By adding generic API, this patch removes individual functions/defines implemented by drivers to find extended PCI capabilities. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh --- drivers/bus/pci/pci_common.c | 43 ++ drivers/bus/pci/rte_bus_pci.h

[dpdk-dev] [PATCH v4 0/6] qede: SR-IOV PF driver support

2020-07-27 Thread Manish Chopra
PI to find PCI extended capability and use that in the drivers, removed individual functions implemented by the drivers Thanks, Manish Manish Chopra (6): drivers: add generic API to find PCI extended cap net/qede: define PCI config space specific osals net/qede: configure VFs on hardw

[dpdk-dev] [PATCH v4 4/6] net/qede: add infrastructure support for VF load

2020-07-27 Thread Manish Chopra
This patch adds necessary infrastructure support (required to handle messages from VF and sending ramrod on behalf of VF's configuration request from alarm handler context) to start/load the VF-PMD driver instance on top of PF-PMD driver instance. Signed-off-by: Manish Chopra Signed-off-by:

[dpdk-dev] [PATCH v4 5/6] net/qede: initialize VF MAC and link

2020-07-27 Thread Manish Chopra
driver instance. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 34 - drivers/net/qede/qede_main.c | 7 - drivers/net/qede/qede_sriov.c | 55 ++ drivers/net/qede

[dpdk-dev] [PATCH v4 3/6] net/qede: configure VFs on hardware

2020-07-27 Thread Manish Chopra
IOV files [qede_sriov(.c|.h)] under qede directory to add non-base driver IOV APIs/contents there. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/Makefile | 1 + drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v4 6/6] net/qede: add VF FLR support

2020-07-27 Thread Manish Chopra
This patch adds required bit to handle VF FLR indication from Management FW (MFW) of the device With that VFs were able to load in VM (VF attached as PCI passthrough to the guest VM) followed by FLR successfully Updated the docs/guides with the feature support Signed-off-by: Manish Chopra

[dpdk-dev] [PATCH v5 0/6] qede: SR-IOV PF driver support

2020-07-30 Thread Manish Chopra
cy 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 (6): drivers: add generic API to find PCI extended cap net/qede: define PCI config space specific

[dpdk-dev] [PATCH v5 1/6] drivers: add generic API to find PCI extended cap

2020-07-30 Thread Manish Chopra
By adding generic API, this patch removes individual functions/defines implemented by drivers to find extended PCI capabilities. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh --- drivers/bus/pci/pci_common.c | 43 ++ drivers/bus/pci/rte_bus_pci.h

[dpdk-dev] [PATCH v5 2/6] net/qede: define PCI config space specific osals

2020-07-30 Thread Manish Chopra
: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h| 14 +- drivers/net/qede/base/ecore.h | 3 +++ drivers/net/qede/base/ecore_dev.c | 6 +++--- drivers/net/qede/base/ecore_sriov.c | 28

[dpdk-dev] [PATCH v5 3/6] net/qede: configure VFs on hardware

2020-07-30 Thread Manish Chopra
IOV files [qede_sriov(.c|.h)] under qede directory to add non-base driver IOV APIs/contents there. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/Makefile | 1 + drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH v5 5/6] net/qede: initialize VF MAC and link

2020-07-30 Thread Manish Chopra
driver instance. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 34 - drivers/net/qede/qede_main.c | 7 - drivers/net/qede/qede_sriov.c | 55 ++ drivers/net/qede

[dpdk-dev] [PATCH v5 4/6] net/qede: add infrastructure support for VF load

2020-07-30 Thread Manish Chopra
This patch adds necessary infrastructure support (required to handle messages from VF and sending ramrod on behalf of VF's configuration request from alarm handler context) to start/load the VF-PMD driver instance on top of PF-PMD driver instance. Signed-off-by: Manish Chopra Signed-off-by:

[dpdk-dev] [PATCH v5 6/6] net/qede: add VF FLR support

2020-07-30 Thread Manish Chopra
This patch adds required bit to handle VF FLR indication from Management FW (MFW) of the device With that VFs were able to load in VM (VF attached as PCI passthrough to the guest VM) followed by FLR successfully Updated the docs/guides with the feature support Signed-off-by: Manish Chopra

[dpdk-dev] [PATCH v6 0/6] qede: SR-IOV PF driver support

2020-09-25 Thread Manish Chopra
k 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 (6): drivers: add generic API to find PCI extended cap net/qede: define PCI config space specific osals

[dpdk-dev] [PATCH v6 3/6] net/qede: configure VFs on hardware

2020-09-25 Thread Manish Chopra
IOV files [qede_sriov(.c|.h)] under qede directory to add non-base driver IOV APIs/contents there. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c | 1 + drivers/net/qede/qede_ethdev.h

[dpdk-dev] [PATCH v6 2/6] net/qede: define PCI config space specific osals

2020-09-25 Thread Manish Chopra
: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h| 14 +- drivers/net/qede/base/ecore.h | 3 +++ drivers/net/qede/base/ecore_dev.c | 6 +++--- drivers/net/qede/base/ecore_sriov.c | 28

[dpdk-dev] [PATCH v6 1/6] drivers: add generic API to find PCI extended cap

2020-09-25 Thread Manish Chopra
By adding generic API, this patch removes individual functions/defines implemented by drivers to find extended PCI capabilities. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Reviewed-by: Gaetan Rivet --- drivers/bus/pci/pci_common.c | 43 ++ drivers

[dpdk-dev] [PATCH v6 4/6] net/qede: add infrastructure support for VF load

2020-09-25 Thread Manish Chopra
This patch adds necessary infrastructure support (required to handle messages from VF and sending ramrod on behalf of VF's configuration request from alarm handler context) to start/load the VF-PMD driver instance on top of PF-PMD driver instance. Signed-off-by: Manish Chopra Signed-off-by:

[dpdk-dev] [PATCH v6 5/6] net/qede: initialize VF MAC and link

2020-09-25 Thread Manish Chopra
driver instance. Signed-off-by: Manish Chopra Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 34 - drivers/net/qede/qede_main.c | 6 +++- drivers/net/qede/qede_sriov.c | 55 ++ drivers/net/qede

[dpdk-dev] [PATCH v6 6/6] net/qede: add VF FLR support

2020-09-25 Thread Manish Chopra
This patch adds required bit to handle VF FLR indication from Management FW (MFW) of the device With that VFs were able to load in VM (VF attached as PCI passthrough to the guest VM) followed by FLR successfully Updated the docs/guides with the feature support Signed-off-by: Manish Chopra