From: Beilei Xing
For multi-segment packets, the Tx checksum offload doesn't work
except the last segment, because other segments don't enable HW
checksum offload successfully.
Fixes: ef47d95e9031 ("net/idpf: fix TSO")
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
The purpose of the dispatcher library is to decouple different parts
of an eventdev-based application (e.g., processing pipeline stages),
sharing the same underlying event device.
The dispatcher replaces the conditional logic (often, a switch
statement) that typically follows an event device deque
The purpose of the dispatcher library is to help reduce coupling in an
Eventdev-based DPDK application.
In addition, the dispatcher also provides a convenient and flexible
way for the application to use service cores for application-level
processing.
Signed-off-by: Mattias Rönnblom
Tested-by: Pe
Provide programming guide for the dispatcher library.
Signed-off-by: Mattias Rönnblom
--
PATCH v3:
o Adapt guide to the dispatcher API name changes.
PATCH:
o Improve grammar and spelling.
RFC v4:
o Extend event matching section of the programming guide.
o Improve grammar and spelling.
---
Add unit tests for the dispatcher.
--
PATCH v3:
o Adapt the test suite to dispatcher API name changes.
PATCH v2:
o Test finalize callback functionality.
o Test handler and finalizer count upper limits.
o Add statistics reset test.
o Make sure dispatcher supply the proper event dev id and por
Put more details if a libarchive context initialisation fails.
Signed-off-by: David Marchand
---
lib/eal/unix/eal_firmware.c | 37 ++---
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/lib/eal/unix/eal_firmware.c b/lib/eal/unix/eal_firmware.c
index
Hello,
On Fri, Sep 22, 2023 at 5:59 AM Srikanth Yalavarthi
wrote:
> > From: David Marchand
> > On Thu, Sep 21, 2023 at 3:06 PM Srikanth Yalavarthi
> > wrote:
> > > > > > archive. This causes the ML firmware binary to be parsed
> > > > > > incorrectly.
> > > > >
> > > > > + @David Marchand rte_
ping
Fengnan Chang 于2023年9月12日周二 17:05写道:
>
> Let's look at this path:
> malloc_elem_free
>->malloc_elem_join_adjacent_free
> ->join_elem(elem, elem->next)
>
> 0. cur elem's pad > 0
> 1. data area memset in malloc_elem_free first.
> 2. next elem is free, try to join cur elem and next.
>
Hi Nicolas,
On 9/19/23 22:51, Chautru, Nicolas wrote:
Hi Maxime,
This is neither part of 3GPP per se, nor specific to VRB device. Let me provide
more context.
The SRS processing chain
(https://doc.dpdk.org/guides/prog_guide/bbdev.html#bbdev-fft-operation)
includes a pointwise multiplication
Following my talk at the recent DPDK Summit [1], here is an RFC patchset
containing the prototypes I created which led to the talk. This
patchset is simply to demonstrate:
* what is currently possible with DPDK in terms of zero-copy IPC
* where the big gaps, and general problem areas are
* what t
Add a new driver to DPDK which supports taking in memory e.g. hugepage
memory via a unix socket connection and maps it into the DPDK process
replacing the current socket memory as the default memory for use by
future requests.
Signed-off-by: Bruce Richardson
---
drivers/bus/meson.build
This mempool driver can be used with the shared_mem bus driver to create
a pool of shared mbufs on a shared memory segment.
Signed-off-by: Bruce Richardson
---
drivers/mempool/meson.build| 1 +
drivers/mempool/shared_mem/meson.build | 10 +++
drivers/mempool/shared_mem/share
This ethdev builds on the previous shared_mem bus driver and shared_mem
mempool driver to provide an ethdev interface which can allow zero-copy
I/O from one process to another.
Signed-off-by: Bruce Richardson
---
drivers/net/meson.build | 1 +
drivers/net/shared_mem/meson.build
This app uses the shared memory poll, and shared ethdev infrastructure
to act as a zero-copy IO proxy to other applications. It has been tested
and verified to work successfully proxying data to testpmd instances on
the system, with those testpmd instances each being passed a unix socket
to work wi
To make it easier to run the io-proxy, add a startup command line
example to configure by default 4 sockets on two ports.
Signed-off-by: Bruce Richardson
---
app/io-proxy/dpdk-io-proxy.cmds | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 app/io-proxy/dpdk-io-proxy.cmds
diff --gi
> -Original Message-
> From: beilei.x...@intel.com
> Sent: Friday, September 22, 2023 11:30 PM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; Xing, Beilei ; sta...@dpdk.org
> Subject: [PATCH] common/idpf: fix Tx checksum offload
>
> From: Beilei Xing
>
> For multi-segment packets, the Tx check
Fix missing RTE_NET_AF_XDP_SHARED_UMEM flag in
xsk_socket__create_shared().
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Shared UMEM feature not available. Check kernel and
libbpf version
rte_pmd_af_xdp_probe(): Failed to init internals
vdev_probe(): failed to
On 9/22/2023 7:32 AM, Andrew Rybchenko wrote:
> On 8/10/23 21:06, Ivan Malov wrote:
>> Parsing inline action VXLAN_ENCAP repeating in many flows is
>> expensive, so offer support for its indirect version. Query
>> operation is not supported for this action. The next patch
>> will add a means to upd
On 9/21/2023 9:53 PM, Long Li wrote:
>> Subject: [PATCH 1/2] net/mana: enable 32 bit build for mana driver
>>
>> Enable 32 bit build on x86 Linux. Fixed build warnings and errors when
>> building in
>> 32 bit.
>>
>> With this patch, mana will be able to build into 32 bit. However, another
>> patc
In some really specific cases, it may be needed to get a detailed
information on the processor running a DPDK application for drivers to
achieve better performance, or for matters that concern only them.
Those information are highly arch-specific and require a specific API.
Introduce a set of fun
Rather than have every driver implement their own set of cpuid() ugly
stuff, provide an abstracted (gcc/clang vs MSVC) API for querying about
x86 processor details.
Note:
- coming up with a cross arch API seems a difficult task, hence a arch
specific API has been preferred. If other arches have
Rather than use an ugly asm thing, use newly introduced EAL x86 API.
Signed-off-by: David Marchand
---
drivers/common/mlx5/mlx5_common.c | 81 ---
1 file changed, 21 insertions(+), 60 deletions(-)
diff --git a/drivers/common/mlx5/mlx5_common.c
b/drivers/common/mlx5/
On Fri, Sep 15, 2023 at 4:35 PM Ferruh Yigit wrote:
>
> On 9/15/2023 2:02 PM, David Marchand wrote:
> > On Fri, Sep 15, 2023 at 12:54 PM Ferruh Yigit wrote:
> >>
> >> On 8/31/2023 1:31 PM, Selwin Sebastian wrote:
> >>> Using root complex to identify cpu will not work for vm passthrough.
> >>> CPU
On Fri, Sep 22, 2023 at 11:37:20AM +0200, David Marchand wrote:
> In some really specific cases, it may be needed to get a detailed
> information on the processor running a DPDK application for drivers to
> achieve better performance, or for matters that concern only them.
>
> Those information ar
On Fri, Sep 22, 2023 at 11:37:20AM +0200, David Marchand wrote:
> In some really specific cases, it may be needed to get a detailed
> information on the processor running a DPDK application for drivers to
> achieve better performance, or for matters that concern only them.
>
> Those information ar
On Fri, Sep 22, 2023 at 11:38:38AM +0100, Bruce Richardson wrote:
> On Fri, Sep 22, 2023 at 11:37:20AM +0200, David Marchand wrote:
> > In some really specific cases, it may be needed to get a detailed
> > information on the processor running a DPDK application for drivers to
> > achieve better per
On 9/20/2023 12:34 PM, Chaoyong He wrote:
> This patch series aims to improve the modularization of NFP PMD through:
> * Make the header files self-containing by adding the correct include
> statement.
> * Try to keep the interface of modules as small as possible.
> * Remove the unneeded include
20/09/2023 12:09, Bruce Richardson:
> On Wed, Sep 20, 2023 at 12:00:08PM +0200, David Marchand wrote:
> > On Thu, Sep 14, 2023 at 12:42 PM Bruce Richardson
> > wrote:
> > >
> > > When examining the IOL testing failures for patch series [1], I observed
> > > that the failures reported were in the e
On Fri, Sep 22, 2023 at 02:57:32PM +0200, Thomas Monjalon wrote:
> 20/09/2023 12:09, Bruce Richardson:
> > On Wed, Sep 20, 2023 at 12:00:08PM +0200, David Marchand wrote:
> > > On Thu, Sep 14, 2023 at 12:42 PM Bruce Richardson
> > > wrote:
> > > >
> > > > When examining the IOL testing failures fo
On Wed, Sep 13, 2023 at 1:45 PM Thomas Monjalon wrote:
>
> The main effect of this patch series is to
> remove calls to pthread functions except for pthread_cancel and locks.
>
> The function rte_thread_create_control() does not take thread attributes
> settings anymore as it looks a useless compl
On Thu, Sep 21, 2023 at 8:14 PM Tyler Retzlaff
wrote:
>
> doxygen document generation does traverse RTE_TOOLCHAIN_MSVC conditional
> compilation paths so move the documentation for per lcore macros out of
> the RTE_TOOLCHAIN_MSVC block.
>
> Fixes: b2f967dcae69 ("eal: implement per lcore variables
Hello David,
On Wed, Sep 20, 2023 at 5:49 PM David Young wrote:
>
> The separate Getting Started Guides for Linux, FreeBSD, and Windows have been
> consolidated into a single, streamlined guide to simplify the user experience
> and facilitate easier maintenance.
>
> David Young (6):
> Section 1
Hi, Konstantin
> -Original Message-
> From: Feifei Wang
> Sent: Tuesday, September 5, 2023 11:11 AM
> To: Konstantin Ananyev ; Konstantin
> Ananyev
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> ; nd ; nd
> Subject: RE:
On 9/21/2023 5:33 PM, Ferruh Yigit wrote:
> On 9/21/2023 4:12 PM, Ferruh Yigit wrote:
>> On 5/26/2023 9:15 AM, Bruce Richardson wrote:
>>> On Thu, May 25, 2023 at 01:39:42PM -0700, Stephen Hemminger wrote:
The various reserved fields added to ethdev could not be
safely used for future ext
On 9/20/2023 2:12 PM, Ferruh Yigit wrote:
> On 8/24/2023 8:36 AM, Feifei Wang wrote:
>> Currently, the transmit side frees the buffers into the lcore cache and
>> the receive side allocates buffers from the lcore cache. The transmit
>> side typically frees 32 buffers resulting in 32*8=256B of store
> -Original Message-
> From: Feifei Wang
> Sent: Friday, September 22, 2023 10:59 PM
> To: Konstantin Ananyev ; Konstantin
> Ananyev
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> ; nd ; nd ; nd
> Subject: RE: [PATCH v11
On Fri, Sep 22, 2023 at 04:47:55PM +0200, David Marchand wrote:
> Hello David,
>
> On Wed, Sep 20, 2023 at 5:49 PM David Young wrote:
> >
> > The separate Getting Started Guides for Linux, FreeBSD, and Windows have
> > been
> > consolidated into a single, streamlined guide to simplify the user
Hi Feifei,
> > > -Original Message-
> > > From: Feifei Wang
> > > Sent: Tuesday, September 5, 2023 11:11 AM
> > > To: Konstantin Ananyev ; Konstantin
> > > Ananyev
> > > Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> > > ; Ruifeng Wang
> > ;
> > > Yuying Zhang ; Beilei Xing
> > > ; nd ;
Hi Maxime,
> -Original Message-
> From: Maxime Coquelin
> Sent: Friday, September 22, 2023 1:15 AM
> To: Chautru, Nicolas ;
> hemant.agra...@nxp.com; dev@dpdk.org
> Cc: david.march...@redhat.com; Vargas, Hernan
>
> Subject: Re: [PATCH v1 1/7] bbdev: add FFT version member in driver info
archive_read_support_filter_xz returns a warning when
compression is not fully supported and is supported
through external program. This warning can be ignored
when reading the files through firmware open as only
decompression is required.
Fixes: 40edb9c0d36b ("eal: handle compressed firmware")
Cc
> -Original Message-
> From: David Marchand
> Sent: 22 September 2023 13:38
> To: Srikanth Yalavarthi
> Cc: Jerin Jacob ; Prince Takkar
> ; dev@dpdk.org; Shivah Shankar Shankar Narayan
> Rao ; Anup Prabhu
> Subject: Re: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for
> firmwa
Hello,
I'm trying to compile our tools on an older lab system and get
Program received signal SIGILL, Illegal instruction.
0x7434c766 in rte_cpu_get_flag_enabled
(feature=feature@entry=RTE_CPUFLAG_RTM) at ../lib/eal/x86/rte_cpuflags.c:173
173 return (regs[feat->reg] >> feat-
This already has been reported here
https://inbox.dpdk.org/users/c7ff2508-d633-404e-95af-5f604d8e8...@intel.com/t/
but I don't see a solution there. It just ends up asking for the line
numbers.
Well, the line is
__cpuid_count(feat->leaf, feat->subleaf,
regs[RTE_REG_EAX], r
This series adds support for event DMA adapter library. API's defined
as part of this library can be used by the application for DMA transfer
of data using event based mechanism.
v2:
- Resolved review comments.
- Patch split into multiple patches.
Amit Prakash Shukla (12):
eventdev: introduce e
Introduce event DMA adapter APIs. The change provides information
on adapter modes and usage. Application can use this event adapter
interface to transfer packets between DMA device and event device.
Signed-off-by: Amit Prakash Shukla
---
MAINTAINERS |5 +
d
Added a new eventdev API rte_event_dma_adapter_caps_get(), to get
DMA adapter capabilities supported by the driver.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/meson.build| 2 +-
lib/eventdev/rte_eventdev.c | 23 +++
lib/eventdev/rte_eventdev.h | 2 +-
lib/meson
This patch adds API support to create and free DMA adapter.
Signed-off-by: Amit Prakash Shukla
---
config/rte_config.h | 1 +
lib/eventdev/meson.build | 1 +
lib/eventdev/rte_event_dma_adapter.c | 335 +++
3 files changed, 337 insertions(+
Added API support to add and delete vchan's for a DMA device.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 204 +++
1 file changed, 204 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.
Added support for DMA adapter service function for event devices.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 589 +++
1 file changed, 589 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adap
Added API support to start and stop DMA adapter.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 69
1 file changed, 69 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.c
index a9b945
Added support to set and get runtime params for DMA adapter.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 93
1 file changed, 93 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.c
Added API support to get DMA adapter service ID.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.c
index 2f574cb7ea..e66e0
Added DMA adapter stats support for get and reset functions.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 95
1 file changed, 95 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.c
Added support for DMA adapter enqueue.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.c
index 06a09371d2..b55b40cd46 100644
-
Added support for DMA adapter port get.
Signed-off-by: Amit Prakash Shukla
---
lib/eventdev/rte_event_dma_adapter.c | 16
1 file changed, 16 insertions(+)
diff --git a/lib/eventdev/rte_event_dma_adapter.c
b/lib/eventdev/rte_event_dma_adapter.c
index b55b40cd46..5f52977543 1006
Added testsuite to test the dma adapter functionality.
The testsuite detects event and DMA device capability
and accordingly dma adapter is configured and modes are
tested.
Signed-off-by: Amit Prakash Shukla
---
app/test/meson.build | 1 +
app/test/test_event_dma_adapter.c | 808 +
> -Original Message-
> From: Konstantin Ananyev
> Sent: Saturday, September 23, 2023 12:41 AM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> ; nd ; nd ; nd ;
> nd
> Subject: RE:
57 matches
Mail list logo