Sorry for the mistake for the patch thread, which includes other irrelevant
patches.
Please ignore these patches, and just focus on the PPP v2 patchset.
Sorry for any inconvenient.
Thanks
Beilei
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing
> Se
This patch is to add testpmd CLI for getting all loaded profiles.
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 60 ++
app/test-pmd/testpmd.h | 1 +
2 files changed, 61 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cm
This patch is to add get all loaded profiles function.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 36
drivers/net/i40e/i40e_ethdev.h | 5 +
drivers/net/i40e/rte_pmd_i40e.h | 7 +++
3 files changed, 48 insertions(+)
diff --git
This patch is to add testpmd CLI for writing personalization
profile.
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 61 ++
app/test-pmd/config.c | 54
app/test-pmd/testpmd.h | 3 +++
3 files
Add loading profile function.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 59 +
drivers/net/i40e/rte_pmd_i40e.h | 7 +
2 files changed, 66 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
Add APIs and driver to support load/get
i40e PPP (Pipeline Personalization Profile)
since PPP will be supported from FVL6 NVM.
v2 change:
Correct patch num.
Beilei Xing (5):
net/i40e: support pipeline personalization profile
net/i40e: add ppp processing
app/testpmd: add command for writing
Add admin queue functions for Pipeline Personalization
Profile AQ commands defined in DCR 287:
- Write Recipe Command buffer (Opcode: 0x0270)
- Get Applied Profiles list (Opcode: 0x0271)
This patch will be moved to base driver in future.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_eth
This patch is to add testpmd CLI for getting all loaded profiles.
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 60 ++
app/test-pmd/testpmd.h | 1 +
2 files changed, 61 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cm
This patch is to add testpmd CLI for writing personalization
profile.
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 61 ++
app/test-pmd/config.c | 54
app/test-pmd/testpmd.h | 3 +++
3 files
Add loading profile function.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 59 +
drivers/net/i40e/rte_pmd_i40e.h | 7 +
2 files changed, 66 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
This patch is to add get all loaded profiles function.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 36
drivers/net/i40e/i40e_ethdev.h | 5 +
drivers/net/i40e/rte_pmd_i40e.h | 7 +++
3 files changed, 48 insertions(+)
diff --git
Add admin queue functions for Pipeline Personalization
Profile AQ commands defined in DCR 287:
- Write Recipe Command buffer (Opcode: 0x0270)
- Get Applied Profiles list (Opcode: 0x0271)
This patch will be moved to base driver in future.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_eth
Add APIs and driver to support load/get
i40e PPP (Pipeline Personalization Profile)
since PPP will be supported from FVL6 NVM.
Beilei Xing (5):
net/i40e: support pipeline personalization profile
net/i40e: add ppp processing
app/testpmd: add command for writing personalization profile
net/i
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 57
app/test-pmd/config.c | 62 +
app/test-pmd/testpmd.h | 3 +
drivers/net/i40e/base/i40e_adminq_cmd.h | 33 +++
drivers/net/i40e/base/i40e_common.c |
From: Rami Rosen
This patch fixes a trivial typo in i40e_flow.c.
Fixes: 47c6782344b7 ("net/i40e: fix tunnel filter")
Fixes: d416530e6358 ("net/i40e: parse tunnel filter")
Cc: sta...@dpdk.org
Signed-off-by: Rami Rosen
Acked-by: John McNamara
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i4
This patch adds i40e_flow_parse_nvgre_filter to check
if a rule is a NVGRE rule according to items of the flow
pattern, and the function also gets the tunnel info.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_flow.c | 335 +++
1 file changed, 335 i
From: Qi Zhang
Signed-off-by: Qi Zhang
---
app/test-pmd/cmdline.c | 57
app/test-pmd/config.c | 114 +++
app/test-pmd/testpmd.h | 3 +
drivers/net/i40e/base/i40e_adminq_cmd.h | 33 +++
drivers/net/i40e/
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 57
app/test-pmd/config.c | 62 +
app/test-pmd/testpmd.h | 3 +
drivers/net/i40e/base/i40e_adminq_cmd.h | 32 +
drivers/net/i40e/base/i40e_common.c | 236 +
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline_flow.c | 23
app/test-pmd/config.c| 1 +
drivers/net/i40e/i40e_flow.c | 245 +++
lib/librte_ether/rte_flow.h | 42
4 files changed, 311 insertions(+)
diff --git a/app/test-pmd/
Change tunnel filter function name to VXLAN filter
function, prepare for NVGRE filter function.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_flow.c | 56
1 file changed, 20 insertions(+), 36 deletions(-)
diff --git a/drivers/net/i40e/i40e_flo
Signed-off-by: Hemant Agrawal
---
config/common_base| 1 +
config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 +
2 files changed, 2 insertions(+)
diff --git a/config/common_base b/config/common_base
index c07a95e..263657e 100644
--- a/config/common_base
+++ b/config/common_bas
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 4 ++--
drivers/net/dpaa2/dpaa2_rxtx.c | 16 +---
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 6dddc3b..c6ee406 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net
This patch adds generic functions for allowing dq storage
for the frame queues.
As the frame queues are common resource for different drivers
this is helpful.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 32 +
drivers/bus/fslmc/porta
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 64f41d9..6dddc3b 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethdev.c
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 96 +
drivers/bus/fslmc/fslmc_vfio.h | 1 +
drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 +
3 files changed, 98 insertions(+)
diff --git a/drivers/bus/fslmc/fslmc_vfio.c
Signed-off-by: Hemant Agrawal
---
drivers/pool/dpaa2/dpaa2_hw_mempool.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/pool/dpaa2/dpaa2_hw_mempool.c
b/drivers/pool/dpaa2/dpaa2_hw_mempool.c
index 0c8de51..ca42418 100644
--- a/drivers/pool/dpaa2/dp
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_rxtx.c | 75 --
1 file changed, 73 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c
index c1ea33a..a94761c 100644
--- a/drivers/net/dpaa2/dp
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 66 +
1 file changed, 66 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index c26360d3..ad8a22f 100644
--- a/drivers/bus/fslm
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 86 ++
2 files changed, 87 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index 0660cab..d43f
As the hardware determines which core will process which packet,
performance is boosted by direct cache warming/stashing as well
as by providing biasing for core-to-flow affinity, which ensures
that flow-specific data structures can remain in the core’s cache.
This patch enables the one cache line
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 107 +
2 files changed, 108 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index 0746d4b..06
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 257 +++
drivers/net/dpaa2/dpaa2_ethdev.c | 23 +++
drivers/net/dpaa2/dpaa2_rxtx.c | 91 +-
4 files ch
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 53 +
1 file changed, 53 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index 2a8d9e5..c26360d3 100644
--- a/drivers/bus/fslm
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/Makefile | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 4 +
drivers/net/dpaa2/dpaa2_ethdev.h | 3 +
drivers/net/dpaa2/dpaa2_rxtx.c | 260 +++
4 files changed, 268 insertions(+)
create mode 100644 dr
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 34 ++
2 files changed, 35 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index b7c274a..a6b7964
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index 1af93a5..2a8d9e5 100644
--- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
+++ b/dr
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 41 ++
2 files changed, 42 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index d50c62e..b7c2
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index 8efac2d..1af93a5 100644
--- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
+++ b/
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 2 ++
drivers/net/dpaa2/dpaa2_ethdev.c | 72 +++---
2 files changed, 70 insertions(+), 4 deletions(-)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
in
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index 42c5517..8efac2d 100644
--- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/Makefile | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 410 -
drivers/net/dpaa2/dpaa2_ethdev.h | 15 ++
4 files changed, 426 insertions(+), 1 deletion(-)
This patch configures a MC-DPNI based DPAA2 PMD network
port with a DPBP based buffer pool.
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/Makefile | 4 +++
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 57 +++
drivers/net/dpaa2/dpaa2_ethdev.c | 62
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/Makefile | 1 +
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 287 +
drivers/net/dpaa2/dpaa2_ethdev.c | 31 +++-
drivers/net/dpaa2/dpaa2_ethdev.h
Before DPAA2 devices can communicate using hardware queues, this patch
adds queue definitions in the FSLMC bus which the DPAA2 devices would
instantitate.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 20
1 file changed, 20 insertions(+)
diff -
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 28
drivers/net/dpaa2/dpaa2_ethdev.h | 3 +++
2 files changed, 31 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index c14b4df..ab9dfe6 100644
--- a/
Adding NXP DPAA2 architecture specific mempool support.
This patch also registers a dpaa2 type MEMPOOL OPS
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 1 +
config/common_base| 5 +
config/defconfig_arm64-dpaa2-linuxapp-gcc
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 45 +
drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 3 ++
drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 +
3 files changed, 49 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2
Each mempool instance is represented by a DPBP object
from the FSL-MC bus.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/fslmc_vfio.c | 9 +-
drivers/bus/fslmc/fslmc_vfio.h | 2 +
drivers/bus/fslmc/portal/dp
The portal driver is bound to DPIO objects discovered on the fsl-mc bus and
provides services that:
- allow other drivers, such as the Ethernet driver, to enqueue and dequeue
frames for their respective objects
A system will typically allocate 1 DPIO object per CPU to allow queuing
operations to
This patch add support for dpni object support in MC driver.
DPNI represent a network interface object in DPAA2.
Signed-off-by: Alex Marginean
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/Makefile |4 +
drivers/net/dpaa2/mc/dpni.c | 739 +
drive
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/Makefile | 5 +
drivers/net/dpaa2/dpaa2_ethdev.c | 9 +++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dpaa2/Makefile b/drivers/net/dpaa2/Makefile
index 4f5dbf7..3e3c8d1 100644
--- a/drivers/net/dpa
Signed-off-by: Hemant Agrawal
---
config/common_base| 5 +
config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 +
2 files changed, 10 insertions(+)
diff --git a/config/common_base b/config/common_base
index 1b58313..e8299d3 100644
--- a/config/common_base
+++ b/config/c
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_logs.h | 76 ++
1 file changed, 76 insertions(+)
create mode 100644 drivers/bus/fslmc/fslmc_logs.h
diff --git a/drivers/bus/fslmc/fslmc_logs.h b/drivers/bus/fslmc/fslmc_logs.h
new file mode 100644
Add support for using VFIO for dpaa2 based fsl-mc bus.
There are some differences in the way vfio used for fsl-mc bus
from the eal vfio.
- The scanning of bus for individual objects on the basis of
the DPRC container.
- The use and mapping of MC portal for object access
With the evolution of
This patch will add support in fslmc vfio process to
scan and parse the dpni and dpseci object for net and crypto
devices. It will add the scanned devices to the fslmc bus.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 63 +-
1 file ch
This patch adds the NXP dpaa2 architecture and pmd details
in the Network interfaces section.
Signed-off-by: Hemant Agrawal
Acked-by: John McNamara
---
MAINTAINERS| 1 +
doc/guides/nics/dpaa2.rst | 614 +
doc/guides/nics
adding extra vfio utility functions to map file.
They will be used by other vfio supported buses like fslmc bus
for NXP DPAA2 devices
Signed-off-by: Hemant Agrawal
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 3 +++
lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 +++
2 files change
add support for fsl-mc bus based dpaa2 pmd driver.
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 3 +
config/common_base | 5 +
config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 +
drivers/net/Makefile| 2 +-
This patch adds the DPIO object support in MC driver.
DPIO - Data Path Input Output represent the processing
context to access the QBMAN HW for packet I/O.
Signed-off-by: Alex Marginean
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/mc/
DPBP object represent a hw based buffer pool instance
in the DPAA2 hardware.
Signed-off-by: Alex Marginean
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/mc/dpbp.c | 237
drivers/bus/fslmc/mc/
QBMAN, is a hardware block which interfaces with the other
accelerating hardware blocks (For e.g., WRIOP) on NXP's DPAA2
SoC for queue, buffer and packet scheduling.
This patch introduces a userspace driver for interfacing with
the QBMAN hw block.
The qbman-portal component provides APIs to do th
This patch intoduces the DPAA2 MC(Management complex Driver).
This is a minimal set of low level functions to send and
receive commands to the fsl-mc. It includes support for basic
management commands and commands to manipulate MC objects.
This is common to be used by various DPAA2 PMDs. e.g.net,
The fslmc bus driver is a rte_bus driver which scans the fsl-mc bus
for NXP DPAA2 SoCs.
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 3 +
config/common_base | 5 +
config/defconfig_arm64-dpaa2-linuxapp-gcc | 8 +-
drivers/Makefi
The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based
fsl-mc bus driver and network SoC PMD. This version of the driver
supports NXP LS208xA, LS204xA and LS108x families Network SoCs.
DPAA2, or Data Path Acceleration Architecture, is a hardware architecture
designed for high-speed
From: Shreyansh Jain
Suggested-by: Ferruh Yigit
Signed-off-by: Shreyansh Jain
---
mk/rte.lib.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk
index 987553d..d79db80 100644
--- a/mk/rte.lib.mk
+++ b/mk/rte.lib.mk
@@ -79,7 +79,7 @@ endif
# T
Signed-off-by: Hemant Agrawal
Acked-by: Jerin Jacob
---
mk/machine/dpaa2/rte.vars.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/mk/machine/dpaa2/rte.vars.mk b/mk/machine/dpaa2/rte.vars.mk
index 8541633..e4735c2 100644
--- a/mk/machine/dpaa2/rte.vars.mk
+++ b/mk/mach
Tested-by: Yang Gang < gangx.y...@intel.com >
- Check patch: success
- Apply patch: success
- compilation: success
OS: fedora23
GCC: gcc_x86-64, 5.3.1
Commit: dpdk-next-crypto(081fefb01748e7063b1b9692af89d8115ec64632)
x86_64-native-linuxapp-gcc: compile pass
- dts validation
Tested-by: Yang Gang < gangx.y...@intel.com >
- Check patch: success
- Apply patch: success
- compilation: success
OS: fedora23
GCC: gcc_x86-64, 5.3.1
Commit: dpdk-next-crypto(081fefb01748e7063b1b9692af89d8115ec64632)
x86_64-native-linuxapp-gcc: compile pass
- dts validation
Tested-by: Yang Gang < gangx.y...@intel.com >
- Check patch: success
- Apply patch: success
- compilation: success
OS: fedora23
GCC: gcc_x86-64, 5.3.1
Commit: dpdk-next-crypto(081fefb01748e7063b1b9692af89d8115ec64632)
x86_64-native-linuxapp-gcc: compile pass
- dts validation
Implement the device reset function on vf port.
This restart function will detach device then
attach device, reconfigure dev, re-setup the Rx/Tx queues.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/i40e/i40e_ethdev.c| 2 +-
drivers/net/i40e/i40e_ethdev.h| 16 +++
Add vf port reset command into testpmd project, it is the interface for
user to reset vf port.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
app/test-pmd/cmdline.c | 17 ++---
app/test-pmd/testpmd.c | 67 ++
app/test-pmd/testpmd.h
Add support for vf port reset in rte layer.
Add an API to restart the device.
It's for VF device in this scenario, kernel PF + DPDK VF.
When the PF port down->up, APP should call this API to
restart VF port. Most likely, APP should call it in its
management thread and guarantee the thread safe. It
The patches mainly finish following functions:
1) get pf reset vf comamand falg from interrupt server function.
2) reset vf port from testpmd app using a command.
3) sore and restore vf related parameters.
zhao wei (3):
app/testpmd: add port reset command into testpmd
lib/librte_ether: add sup
From: Gowrishankar Muthukrishnan
Below changes adds pci probing support for vfio-pci devices in power8.
Changes:
v2 - kernel version checked and doc updated
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/rel_notes/release_17_05.rst | 4 ++
lib/librte_eal/linuxapp/eal/eal_vfio.c | 9
On X722, we can control whether or not the hardware performs ATR
eviction. Define the correct bit so we can twiddle it.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/ne
Multiple IES API resets can cause a race condition where the mailbox
interrupt request bits can be cleared before being handled. This can
leave certain mailbox messages from the PF to be untreated and the PF
will enter in some inactive state. If this situation occurs, the IES API
will initiate a ma
Other shared code bases are planning on using
IS_MULTICAST_ETHER_ADDR and friends without leaving the driver
name in the macro.
Remove reference to FM10K here so that we can re-use the specific
compat flags from Linux.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_pf.c | 10 +---
Add two macros for global interrupt.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_mbx.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/fm10k/base/fm10k_mbx.h
b/drivers/net/fm10k/base/fm10k_mbx.h
index edc57df..2fac012 100644
--- a/drivers/net/fm10k/base/fm10k_mbx.
Don't report FM10K_ERR_REQUESTS_PENDING when we fail to disable queues
within the timeout. This can occur due to a hardware Tx hang, or when
the switch ethernet fabric is resetting while we are transmitting
traffic. It can sometimes take up to 500ms before the Tx DMA engine
gives up. Instead, just
Avoid potential FUM fault errors on a VF when updating MAC address
and VLAN information. Only use the register flow when the mailbox is
disconnected, by checking if the enqueue_tx returns
FM10K_MBX_ERR_NO_MBX. If the mailbox message can be sent, there is no
reason to bother with the register writes
add necessary macro to support geneve tunnel offload.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_type.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/fm10k/base/fm10k_type.h
b/drivers/net/fm10k/base/fm10k_type.h
index d43e40c..931633d 100644
--- a/drivers/net/fm1
The original comment may be read incorrectly as referring to checking
the *entire* length is zero. However, it merely checks only the reserved
bits of both length and reserved in a small amount of code. Update the
comment to indicate this is a clever trick and clearly spell out that it
only checks
Use a new #define FM10K_VLAN_OVERRIDE even though we're using
the exact same bit. The reason for this is clarity in the code,
otherwise you can read FM10K_VLAN_CLEAR and think it should be
removed. Also add a comment explaining why the FM10K_VLAN_OVERRIDE
bit is set.
Signed-off-by: Qi Zhang
---
If the fm10k interface is brought up, but the switch manager software is
not running, the driver will continuously request the lport map every
few seconds in the base driver watchdog routine. Eventually after
several minutes the switch mailbox Tx fifo will fill up and the mailbox
will timeout, resu
The VF uses a multi-bit update request to clear unused VLANs whenever it
resets. However, an accident in a previous refector broke multi-bit
updates for VFs, due to misreading a comment in fm10k_vf.c and
attempting to reduce code duplication. The problem occurs because
a multi-bit request has a non
Clean up the logic in fm10k_tlv_attr_parse, we
should not reply on that FM10K_NOT_IMPLEMENTED is
greater than zero, as this can easily cause confusion.
The patch also correct a minor document error.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_tlv.c | 16 +---
1 file chan
Add FM10K_PF_ATTR_ID_ERR, since it is possible for the switch manager
to send out an error message indicating status of the LPORT_MAP due to
zero allocated bandwidth.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_pf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net
The diagram represents bit layout of the multi-bit VLAN update
message format. Re-draw the numbers using base 8, and mark the
bit values every 8 bits at the top. This should make it more
easy to grasp the table quickly.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_pf.c | 4 ++--
1 fi
Add API error code for when PEP is not scheduled.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_pf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/fm10k/base/fm10k_pf.h
b/drivers/net/fm10k/base/fm10k_pf.h
index c84b1bc..ca125c2 100644
--- a/drivers/net/fm10k/base/
Deleting lport when multicast mod is configured to
FM10K_XCAST_MODE_ALLMULTI or FM10K_XCAST_MODE_PROMISC will
result in generating orphaned multicast-group entries in the
switch manager.
Before deleting the lport, reset multicast mode to
FM10K_XCAST_MODE_NONE to flush out these multicast-group
entr
Some defines were previously wrapped to strip them from opensource driver
builds, but these are required by DPDK. Change the wrapping of these so
that the DPDK gets them as long as DPDK_SUPPORT is correctly added as a
strip flag, while we can remove the reduandant ones in fm10k_osdep.h.
Signed-
Adds boolean flag in fm10k_vf_info to support configuring
a VF to be trusted.
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/base/fm10k_type.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/fm10k/base/fm10k_type.h
b/drivers/net/fm10k/base/fm10k_type.h
index 3fc8f13..fe3e498 1
The patch set update to latest fm10k base code, there is no
significent features be added, but include couple enhancement
like clean up the logic for tlv attr parse, improve VF multi-bit
VLAN handle etc, also with some code/comment clean as well.
Qi Zhang (17):
net/fm10k/base: add a flag to ind
On Thu, Mar 02, 2017 at 02:33:27PM +0100, Maxime Coquelin wrote:
>
>
> On 03/02/2017 10:39 AM, Ilya Maximets wrote:
> >Inability to connect to socket is a normal situation
> >in client mode because, in common case, server isn't
> >started yet. RTE_LOG_WARNING should be suitable for
> >the case of
Hi Kuba,
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Kuba Kozak
> Sent: Friday, March 3, 2017 12:08 AM
> To: dev@dpdk.org
> Cc: Piasecki, JacekX; Kozak, KubaX
> Subject: [dpdk-dev] [PATCH 2/4] net/e1000: add grouping of xstats for e1000
> driver
>
> From: J
Hi Olivier,
> -Original Message-
> From: Olivier Matz [mailto:olivier.m...@6wind.com]
> Sent: Thursday, March 2, 2017 10:47 PM
> To: Lu, Wenzhuo
> Cc: dev@dpdk.org; thomas.monja...@6wind.com; Ananyev, Konstantin; Zhang,
> Helin; Wu, Jingjing; adrien.mazarg...@6wind.com; nelio.laranje...@6w
Add command line to support untag drop to specific VF in
testpmd.
Signed-off-by: Qi Zhang
---
app/test-pmd/cmdline.c | 104 +
1 file changed, 104 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 43fc636..4ddc2c9 100
Add a new API to enable untag drop for a specific VF.
This is an experimental API.
Qi Zhang (2):
net/i40e: enable VF untag drop
app/testpmd: enable VF untag drop in testpmd
app/test-pmd/cmdline.c | 104
drivers/net/i40e/i40e_ethdev.c | 49
Add a new private API to support the untag drop enable/disable
for specific VF.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c | 49 +
drivers/net/i40e/rte_pmd_i40e.h | 18 +++
2 files changed, 67 insertions(+)
diff --git a/driver
1 - 100 of 237 matches
Mail list logo