This commit prevents control path operations from failing after a sub
device has informed failsafe it has been removed.
Before this commit if a device was removed and then a control path
operations was initiated on failsafe - in some cases failsafe called the
sub device operation instead of avoidi
On Friday 08 September 2017 06:20 PM, Tiwei Bie wrote:
> This patch adaptively batches the small guest memory copies.
> By batching the small copies, the efficiency of executing the
> memory LOAD instructions can be improved greatly, because the
> memory LOAD latency can be effectively hidden by th
Modify port_id related code in examples accordingly since port_id
definition in lib and pmd changes.
Fix some original checkpatch issues and remove some unnecessary
cast at the same time.
Signed-off-by: Zhiyong Yang
---
doc/guides/rel_notes/release_17_11.rst | 4 +
examples/bond/m
In order to support more than 256 virtual ports, the field "port"
in rte_mbuf has been increased to 16 bits. The initialization/reset
value of the field "port" should be changed from 0xff to 0x
accordingly.
Signed-off-by: Zhiyong Yang
---
lib/librte_mbuf/rte_mbuf.c | 2 +-
lib/librte_mbuf/rt
Increase port_id range from 8 bit to 16 bits in test code.
And remove some unnecessary cast operations.
Signed-off-by: Zhiyong Yang
---
test/test/test_kni.c| 14 ++---
test/test/test_link_bonding.c | 42 ++---
test/test/test_link_bond
port_id is currently defined as uint8_t, which is limited to the range
0 to 255. A larger range is required for vdev scalability.
It is necessary for a redefinition of port_id to extend it from
1 bytes to 2 bytes. All ethdev APIs and usages related to port_id will
be changed at the same time.
Dis
From: Hemant Agrawal
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 36
2 files changed, 37 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
in
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_rxtx.c | 159 ++
drivers/net/dpaa/dpaa_rxtx.h | 9 +++
3 files changed, 169 insertions(+)
diff --git a/doc/guides/nics
From: Hemant Agrawal
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 143 ++
drivers/net/dpaa/dpaa_ethdev.h| 40 +++
3 files changed, 184 insertions(+)
diff --git a/doc/guides/nics
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
config/defconfig_arm64-dpaa-linuxapp-gcc | 2 ++
drivers/net/dpaa/dpaa_ethdev.c | 42
drivers/net/dpaa/dpaa_rxtx.c | 26
3 files changed, 70 insertions(+)
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 2 +
drivers/net/dpaa/dpaa_ethdev.c| 4 ++
drivers/net/dpaa/dpaa_rxtx.c | 89 +++
drivers/net/dpaa/dpaa_rxtx.h | 23 +-
4 files changed,
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/net/dpaa/dpaa_ethdev.c | 1 +
drivers/net/dpaa/dpaa_ethdev.h | 10 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index f423e51..b1525a4 100644
---
Add support for parsing the packet type and L2/L3 checksum offload
capability information.
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 2 +
drivers/net/dpaa/dpaa_ethdev.c| 27 +
drivers/net/dpaa/dpaa_rxtx.c | 116 ++
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 20
2 files changed, 21 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
index cdf5
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 112 ++
2 files changed, 113 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/feature
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 21 +
2 files changed, 22 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
index 19b
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 48 +++
2 files changed, 49 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 20
2 files changed, 21 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
index 132f
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 20
2 files changed, 21 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
index b2df
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 42 +++
2 files changed, 43 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 13 +++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
i
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
doc/guides/nics/features/dpaa.ini | 1 +
drivers/net/dpaa/dpaa_ethdev.c| 21 +
2 files changed, 22 insertions(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
index 9e8
A skeleton which would be called after bus device scan. It currently
fails to identify the device.
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
MAINTAINERS | 1 +
drivers/net/dpaa/Makefile | 63
drivers/net/dpaa/dpaa_e
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/net/dpaa/Makefile | 4 +
drivers/net/dpaa/dpaa_ethdev.c | 290 +++-
drivers/net/dpaa/dpaa_rxtx.c | 370 +
drivers/net/dpaa/dpaa_rxtx.h | 61
Signed-off-by: Shreyansh Jain
---
config/common_base | 1 +
config/defconfig_arm64-dpaa-linuxapp-gcc | 12
drivers/net/Makefile | 2 ++
mk/rte.app.mk| 5 +
4 files changed, 20 insertions(+)
diff --git a/con
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/dpaa_bus.c | 5 +
drivers/bus/dpaa/rte_dpaa_logs.h | 36
2 files changed, 41 insertions(+)
diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c
index dc2b3ad..7ae5bfa 100644
--- a/
Signed-off-by: Shreyansh Jain
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 10646a4..74b7aba 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -409,6 +409,7 @@ NXP dpaa
M: Hemant Agrawal
M: Shreyansh Jain
F: drivers/bus/dpaa/
+F: drivers/memp
This patch also adds configuration necessary for compilation of DPAA
Mempool driver into the DPAA specific config file.
CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=dpaa is also configured to allow
applications to use DPAA mempool as default.
Signed-off-by: Shreyansh Jain
---
config/common_base
This Mempool driver works with DPAA BMan hardware block. This block
manages data buffers in memory, and provides efficient interface with
other hardware and software components for buffer requests.
This patch adds support for BMan. Compilation would be enabled in
subsequent patches.
Signed-off-by
Now that QBMAN (QMAN, BMAN) and FMAN drivers are available, this patch
integrates the DPAA Bus driver for using the drivers for scanning
devices and calling the PMD registered probe callbacks.
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/dpaa_bus.c
Signed-off-by: Geoff Thorpe
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/base/qbman/qman.c| 99 ++-
drivers/bus/dpaa/base/qbman/qman_driver.c | 7 ++-
drivers/bus/dpaa/base/qbman/qman_priv.h |
Signed-off-by: Geoff Thorpe
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/base/fman/fman_hw.c | 28
drivers/bus/dpaa/include/fsl_fman.h | 7 +++
2 files changed, 35 insertions(+)
diff --git a/drive
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
MAINTAINERS | 2 +
doc/guides/nics/dpaa.rst | 374 ++
doc/guides/nics/features/dpaa.ini | 8 +
doc/guides/nics/index.rst | 1 +
4 files changed, 385 in
Signed-off-by: Geoff Thorpe
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/Makefile | 1 +
drivers/bus/dpaa/base/qbman/bman.c| 394 +
drivers/bus/dpaa/base/qbman/bman.h| 550 ++
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/dpaa_bus.c | 5 +
drivers/bus/dpaa/rte_dpaa_logs.h | 28
2 files changed, 33 insertions(+)
diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c
index 8017df3..dc2b3ad 100644
--- a/drivers/
The Queue Manager (QMan) is a hardware queue management block that
allows software and accelerators on the datapath to enqueue and dequeue
frames in order to communicate.
This part of QBMAN DPAA Block.
Signed-off-by: Geoff Thorpe
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agrawal
Signed-o
The Buffer Manager (BMan) is a hardware buffer pool management block that
allows software and accelerators on the datapath to acquire and release
buffers in order to build frames.
This patch adds the core routines.
Signed-off-by: Geoff Thorpe
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agra
Signed-off-by: Geoff Thorpe
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/Makefile |2 +
drivers/bus/dpaa/base/qbman/dpaa_alloc.c | 88 ++
drivers/bus/dpaa/base/qbman/qman.c| 2402 ++
An interrupt manager is implemented by emulating over pthreads.
Handlers are registered by QBMAN layer for being notified about
any interrupt request from DPAA blocks in userspace.
Signed-off-by: Roy Pledge
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/Makefi
QMAN frames are managed over a RB tree data structure.
This patch introduces necessary routines for implementing a RB tree.
Signed-off-by: Geoff Thorpe
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/include/dpaa_rbtree.h | 143 +
Signed-off-by: Geoff Thorpe
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/Makefile | 1 +
drivers/bus/dpaa/base/fman/fman_hw.c | 562 ++
drivers/bus/dpaa/include/fsl_fman.h | 174 +
drivers/bus/d
Userspace applications interact with DPAA blocks using this IOCTL driver.
Signed-off-by: Geoff Thorpe
Signed-off-by: Hemant Agrawal
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/Makefile | 4 +-
drivers/bus/dpaa/base/qbman/process.c | 331 ++
FMan or Frame Manager, inspects traffic, splits it into queueson ingress.
It is also responsible for directing traffic on queues on egress.
This patch introduces FMan configurational interfaces. This layer is
used by Bus driver for configuring the hardware block.
Signed-off-by: Geoff Thorpe
Sign
From: Hemant Agrawal
Linked list, bit operations and compatibility macros.
Signed-off-by: Geoff Thorpe
Signed-off-by: Hemant Agrawal
---
v3:
- Removed checkpatch warning and duplicate PER_CPU macro
---
drivers/bus/dpaa/include/compat.h| 389 +++
drivers/b
This patch adds skeleton build configuration for DPAA platform.
Signed-off-by: Shreyansh Jain
---
config/defconfig_arm64-dpaa-linuxapp-gcc | 39
mk/machine/dpaa/rte.vars.mk | 61
2 files changed, 100 insertions(+)
create mode 10
This layer is used by Bus driver's scan function. Devices are parsed
using OF parser and added to DPAA device list.
Signed-off-by: Geoff Thorpe
Signed-off-by: Shreyansh Jain
---
drivers/bus/dpaa/Makefile | 7 +
drivers/bus/dpaa/base/fman/of.c | 576 ++
Change Log:
v4:
- Some checkpatch fixes which were reported by checkpatch@dpdk
- adding support for extended stats (patch 41)
v3:
- Rebasing over 17.11-rc0 (85238f50)
- Checkpatch fixes
(There are still 2 errors which I think are false positives)
- Implement rte_bus.find_devi
Signed-off-by: Shreyansh Jain
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 5 +
config/common_base| 3 +
config/defconfig_arm64-dpaa-linuxapp-gcc | 6 +
drivers/bus/Makefile | 3 +
drivers/bus/dpaa/Makefile
malloc_elem_free() is clearing(setting to 0) the trailer cookie when
RTE_MALLOC_DEBUG is enabled. In case of joining free neighbor element,
part of joined memory is not getting cleared due to missing the length
of trailer cookie in the middle.
This patch fixes calculation of free memory length to
This patch replaces broken macro RTE_LIBRTE_MALLOC_DEBUG with
RTE_MALLOC_DEBUG.
Fixes: af75078fece3 ("first public release")
Cc: Sergio Gonzalez Monroy
Signed-off-by: Xueming Li
---
lib/librte_eal/common/malloc_elem.h | 4 ++--
test/test/test_malloc.c | 12 +---
2 files ch
Thanks, updated in v3.
> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Saturday, September 9, 2017 12:04 AM
> To: Xueming(Steven) Li
> Cc: Sergio Gonzalez Monroy ;
> dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 1/2] eal/malloc: fix RTE malloc
51 matches
Mail list logo