This patch upgrades the DPAA2- FSLMC bus firmware support
to 10.3.x.
It was earlier submitted as part of patchset,
"NXP DPAA2 PMD updates"
http://dpdk.org/ml/archives/dev/2017-September/074846.html
It is identified during the review that this should be
directly applied on master as it is touching
From: Haiying Wang
The word_copy is not as efficient as expected, so remove it from
this driver.
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/compat.h | 42
drivers/bus/fslmc/qbman/qbman_portal.c | 12
This patchset includes the hw driver upgrades and additional
nic feature implementations.
patches 1..8 - upgrades the qbman hw driver
patches 9..10 - adds the support for LX2160 platform
patches 11..27 - adds various features and cleanups in
NXP DPAA2 pmd mainly - links status, RSS
From: Haiying Wang
Clean it up and update the prototype.
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 32 ++--
drivers/bus/fslmc/qbman/qbman_portal.c | 200 +++--
drivers/bus/fslmc/rte_bus_fslmc
This func is not required to be used outside of the qbman driver.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/fsl_qbman_base.h | 4
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 --
drivers/bus/fslmc/qbman/qbman_portal.c | 7 ---
drivers/bus/
From: Haiying Wang
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/qbman_sys.h | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/qbman_sys.h
b/drivers/bus/fslmc/qbman/qbman_sys.h
index 9ea55de..47da595 10064
name alignment for check command and result functions
putting them as separate functions instead of changing the original
functions.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 146 ++--
drivers/bus/fslmc/qbman/qbman_portal.c | 731 +
From: Haiying Wang
QMan5.0 supports up to 32 frames in one volatile dequeue
command. For the older Qman versions which only support
up to 16 frames, the highest bit in NUMF will be ignored.
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/qbman_portal.c |
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/compat.h | 98 +++-
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 5 +-
drivers/bus/fslmc/qbman/qbman_portal.c | 26 +--
drivers/bus/fslmc/qbman/qbman_portal.h | 133 ++--
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 1 +
drivers/net/dpaa2/dpaa2_ethdev.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 945dcc7..d7950a5 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
From: Ashish Jain
Signed-off-by: Ashish Jain
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 22 ++
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 +
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c
b/drivers/bus/fslmc/p
From: Ashish Jain
To support new LX2 series
Signed-off-by: Ashish Jain
---
config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc
b/config/defconfig_arm64-dpaa2-linuxapp-gcc
index 8a42944..91f4993
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/compat.h | 188 +--
drivers/bus/fslmc/qbman/qbman_private.h | 2 +-
2 files changed, 4 insertions(+), 186 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/include/compat.h
b/drivers/bus/fslmc/qbman
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c| 7 +++
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 +
drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 +
3 files changed, 9 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
b/drivers/bus/f
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
index b2413c2..de08e1f 100644
--- a/drivers/bus/fslmc/fslmc_vfio.c
+++ b/drivers/bus/fslmc/fslmc_vfio.c
@@ -464,
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c| 123 +++
drivers/net/dpaa2/mc/dpni.c | 233
drivers/net/dpaa2/mc/fsl_dpni.h | 49
drivers/net/dpaa2/mc/fs
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/fslmc_vfio.c | 108 +++-
drivers/bus/fslmc/fslmc_vfio.h | 8 ++-
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 18 +++--
drivers/bus/fslmc/
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 72c9e67..d5fa644 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
DPAA2 HW does not have such restrictions.
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index d5fa644..dc24bed 100644
--- a/drivers/net/dpaa2/d
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 39 +-
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index 1269dd2..ca8a6f7 100644
--- a/dr
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 42
1 file changed, 42 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index dc24bed..643d882 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 174 -
2 files changed, 173 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
i
The current code is sending 8 packet in each internal loop.
In some of the conditions, mbuf is being allocated or freed.
In case of error, the code is returning without taking care of
such buffer. It is better to send already prepared buffer and err
for the current failure only.
Fixes: 9e5f3e6d365
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 8
drivers/net/dpaa2/dpaa2_ethdev.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index ca8a6f7..e3ab
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 7b09a87..611f59b 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethde
Instead of enabling the RX checksum by default, make it
enable only with user ethernet configuration
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 65 +---
1 file changed, 35 insertions(+), 30 deletions(-)
diff --git a/drivers/net/dpaa2
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 7756c4e..39c32b3 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/driv
From: Shreyansh Jain
Before this patch, the devices discovered from VFIO layer were
being added in the device list in the order received from directory
scan. This causes an issue in case devices are reordered.
This patch makes all the devices inserted in the device list in
sorted order according
enable the printing of objects during debuging.
use RTE_LOG to avoid function name printing for object name.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +-
drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 2 +-
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 6 ++
3
This commit fixes two bugs related to tap devices. The first bug occurs
when executing in testpmd the following flow rule assuming tap device has
4 rx and tx pair queues
"flow create 0 ingress pattern eth / end actions queue index 5 / end"
This command will report on success and will print ""Flow r
Hello Qiming,
Did you try to remove PCI reset at igbuio_pci_open ?
Reverting the patch entirely will get us back to VF issues
Regards,
Gregory
On Friday, 15 September 2017 11:04:16 IDT Yang, Qiming wrote:
> Hi, Thomas
> We meet a urgent issue because of Shijith's patch.
> When use DPDK versio
Tx offloads configuration is per queue. Tx offloads are enabled by default,
and can be disabled using ETH_TXQ_FLAGS_NO* flags.
This behaviour is not consistent with the Rx side where the Rx offloads
configuration is per port. Rx offloads are disabled by default and enabled
according to bit field
Introduce a new API to configure Rx offloads.
In the new API, offloads are divided into per-port and per-queue
offloads. The PMD reports capability for each of them.
Offloads are enabled using the existing DEV_RX_OFFLOAD_* flags.
To enable per-port offload, the offload should be set on both device
Introduce a new API to configure Tx offloads.
In the new API, offloads are divided into per-port and per-queue
offloads. The PMD reports capability for each of them.
Offloads are enabled using the existing DEV_TX_OFFLOAD_* flags.
To enable per-port offload, the offload should be set on both device
Add the programmers guide details on the new offloads API introduced
by commits:
commit f649472cad9d ("ethdev: introduce Rx queue offloads API")
commit ecb46b66cda5 ("ethdev: introduce Tx queue offloads API")
Signed-off-by: Shahaf Shuler
---
doc/guides/prog_guide/poll_mode_drv.rst | 17
35 matches
Mail list logo