> -Original Message-
> From: Wu, Wenjun1
> Sent: Thursday, September 7, 2023 10:35 AM
> To: Deng, KaiwenX ; dev@dpdk.org
> Cc: sta...@dpdk.org; Yang, Qiming ; Zhou, YidingX
> ; Deng, KaiwenX ;
> Zhang, Qi Z ; Xu, Ting
> Subject: RE: [PATCH v3] net/ice: fix tm configuration cannot be cl
This series adds offload support to free source buffer in dma library
and adds a test support in dmadev_autotest to validate the
functionality.
v1:
- Implementation from RFC.
- Add test support to validate functionality.
Amit Prakash Shukla (2):
dmadev: offload to free source buffer
test/dma:
This changeset adds support in DMA library to free source DMA buffer by
hardware. On a supported hardware, application can pass on the mempool
information as part of vchan config when the DMA transfer direction is
configured as RTE_DMA_DIR_MEM_TO_DEV.
Signed-off-by: Amit Prakash Shukla
Acked-by:
Add a test case to validate the functionality of drivers' dma
source buffer offload free. As part of dmadev_autotest, test case
will be executed only if the driver supports source buffer offload
free and if the test is exported by env variable DPDK_ADD_DMA_TEST.
Signed-off-by: Amit Prakash Shukla
Hello Thomas,
On Wed, Sep 6, 2023 at 6:22 PM Thomas Monjalon wrote:
>
> All pthread functions below have an equivalent in rte_thread API:
> - pthread_create
> - pthread_join
> - pthread_detach
> - pthread_setname_np
> - pthread_set_name_np
> - pthre
Added support in driver, to offload source buffer free to hardware
on completion of DMA transfer.
Signed-off-by: Amit Prakash Shukla
---
Depends-on: series-29427 ("use mempool for DMA chunk pool")
Depends-on: series-29442 ("offload support to free dma source buffer")
v1:
- Driver implementation
Unregister VFIO interrupt handler before the interrupt fd gets closed in
case iavf_dev_init() returns an error.
dpdk creates a standalone thread named eal-intr-thread for processing
interrupts for the PCI devices. The interrupt handler callbacks are
registered by the VF driver(iavf, in this case).
Unregister VFIO interrupt handler before the interrupt fd gets closed in
case iavf_dev_init() returns an error.
dpdk creates a standalone thread named eal-intr-thread for processing
interrupts for the PCI devices. The interrupt handler callbacks are
registered by the VF driver(iavf, in this case).
Unregister VFIO interrupt handler before the interrupt fd gets closed in
case iavf_dev_init() returns an error.
dpdk creates a standalone thread named eal-intr-thread for processing
interrupts for the PCI devices. The interrupt handler callbacks are
registered by the VF driver(iavf, in this case).
On Wed, Sep 6, 2023 at 6:23 PM Thomas Monjalon wrote:
>
> In order to make sure all threads created in DPDK drivers and libraries
> have the same prefix in their name, some wrapper functions are added
> for internal use when creating a control thread or setting a thread name:
> - rte_threa
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Wednesday, 6 September 2023 18.12
>
> 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 attributes anymore
> as
> From: David Marchand [mailto:david.march...@redhat.com]
> Sent: Thursday, 7 September 2023 10.28
>
> On Wed, Sep 6, 2023 at 6:23 PM Thomas Monjalon wrote:
> >
> > In order to make sure all threads created in DPDK drivers and libraries
> > have the same prefix in their name, some wrapper functio
On Thu, Sep 7, 2023 at 10:50 AM Morten Brørup
wrote:
> > This 10 value in the comment is easy to miss if some change with the
> > prefix is done.
> > Mentionning RTE_THREAD_INTERNAL_NAME_SIZE is enough.
>
> I disagree with David's comment to this.
>
> The function documentation is easier to read
On Thu, Sep 7, 2023 at 10:53 AM David Marchand
wrote:
>
> On Thu, Sep 7, 2023 at 10:50 AM Morten Brørup
> wrote:
> > > This 10 value in the comment is easy to miss if some change with the
> > > prefix is done.
> > > Mentionning RTE_THREAD_INTERNAL_NAME_SIZE is enough.
> >
> > I disagree with Dav
Driver implementation of the spec:
http://patches.dpdk.org/project/dpdk/patch/20230907082443.1002665-1-amitpraka...@marvell.com/
> -Original Message-
> From: Amit Prakash Shukla
> Sent: Thursday, September 7, 2023 1:41 PM
> To: Chengwen Feng ; Kevin Laatz
> ; Bruce Richardson
> Cc: dev
This series adds the Digest Encrypted feature to the AESNI_MB PMD.
It also fixes an issue where IV data in SNOW3G and ZUC algorithms
were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
v5:
Fix ch
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and
support for this feature.
Signed-off-by: Brian Dooley
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for sy
SNOW3G and ZUC algorithms require non-zero length IVs.
Fixes: c6c267a00a92 ("test/crypto: add mixed encypted-digest")
Cc: adamx.dybkow...@intel.com
Signed-off-by: Brian Dooley
---
app/test/test_cryptodev_mixed_test_vectors.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --
Release status meeting minutes 2023-09-07
=
Agenda:
* Release Dates
* Subtrees
* Roadmaps
* LTS
* Defects
* Opens
Participants:
* AMD
* ARM
* Intel
* Marvell
* Nvidia
* Red Hat
Release Dates
-
The following are the proposed working dates for 2
> From: David Marchand [mailto:david.march...@redhat.com]
> Sent: Thursday, 7 September 2023 10.55
>
> On Thu, Sep 7, 2023 at 10:53 AM David Marchand
> wrote:
> >
> > On Thu, Sep 7, 2023 at 10:50 AM Morten Brørup
> wrote:
> > > > This 10 value in the comment is easy to miss if some change with t
Hi David,
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; Burakov, Anatoly ;
> Jay Zhou ; McDaniel, Timothy
> ; Julien Aube ;
Description for rte_cryptodev_get_sec_ctx is missing. Add the same.
Signed-off-by: Anoob Joseph
---
lib/cryptodev/rte_cryptodev.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h
index ba730373fb..8876e0427f 100644
--- a/l
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; Burakov, Anatoly ;
> Jay Zhou ; McDaniel, Timothy
> ; Julien Aube ; Rahul
> Lak
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; Burakov, Anatoly ;
> Jay Zhou ; McDaniel, Timothy
> ; Julien Aube ; Guo,
> Junf
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; Burakov, Anatoly ;
> McDaniel, Timothy ; Gaetan Rivet
>
> Subject: [PATCH v2 0
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; Burakov, Anatoly ;
> Gaetan Rivet
> Subject: [PATCH v2 08/15] pci: define some
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; Julien Aube ; Gaetan
> Rivet
> Subject: [PATCH v2 09/15] pci: define some PM c
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; McDaniel, Timothy
> ; Julien Aube ; Gaetan
> Rivet
> Subject: [PATCH v2 10/15]
Hi David,
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
> ; McDaniel, Timothy
> ; Gaetan Rivet
> Subject: [PATCH v2 11/15] pci:
> -Original Message-
> From: David Marchand
> Sent: Monday, August 21, 2023 7:36 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@amd.com; Xia, Chenbo
> ; nipun.gu...@amd.com; Richardson, Bruce
>
> Subject: [PATCH v2 15/15] devtools: forbid inclusion of Linux header for
> PCI
While examining the code for rte_random, noticed a couple of
existing bugs around use of rte_rand() by non-EAL threads
Stephen Hemminger (2):
random: initialize the random state for non-EAL threads
random: make rte_rand() thread safe for non-EAL threads
lib/eal/common/rte_random.c | 56 +
The per-lcore PRNG was not initializing the rand_state of all
the lcores. Any usage of rte_random by a non-EAL lcore would
use rand_states[RTE_MAX_LCORE] which was never initialized.
Fix by using RTE_DIM() which will get all lcores.
Fixes: 3f002f069612 ("eal: replace libc-based random generation
Add missing locking so that if two non-EAL threads call rte_rand()
they will not corrupt the per-thread state.
Fixes: 3f002f069612 ("eal: replace libc-based random generation with LFSR")
Signed-off-by: Stephen Hemminger
---
lib/eal/common/rte_random.c | 54 -
> -Original Message-
> From: Brian Dooley
> Sent: Thursday, September 7, 2023 11:26 AM
> To: Akhil Goyal ; Fan Zhang
> Cc: dev@dpdk.org; Dooley, Brian ;
> adamx.dybkow...@intel.com
> Subject: [PATCH v6 2/2] test/crypto: fix IV in some vectors
>
> SNOW3G and ZUC algorithms require non-
Hi Brian,
> -Original Message-
> From: Brian Dooley
> Sent: Thursday, September 7, 2023 11:26 AM
> To: Akhil Goyal ; Fan Zhang ;
> Ji, Kai ; De Lara Guarch, Pablo
>
> Cc: dev@dpdk.org; Dooley, Brian
> Subject: [PATCH v6 1/2] crypto/ipsec_mb: add digest encrypted feature
>
> AESNI_MB
QAT HW generates bytes of 0x00 digest, even when a digest of len 0 is
requested for NULL. This caused test failures when the test vector had
digest len 0, as the buffer has unexpected changed bytes.
By placing the digest into the cookie for NULL authentication,
the buffer remains unchanged as expe
On Thu, Sep 7, 2023 at 5:48 PM Stephen Hemminger
wrote:
>
> On Thu, 7 Sep 2023 08:24:56 -0700
> Stephen Hemminger wrote:
>
> >
> > +static __rte_always_inline
> > +void __rte_rand_put_state(struct rte_rand_state *state)
> > +{
> > + if (state == &rand_states[RTE_MAX_LCORE])
> > +
This series adds the Digest Encrypted feature to the AESNI_MB PMD.
It also fixes an issue where IV data in SNOW3G and ZUC algorithms
were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
v5:
Fix ch
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and
support for this feature.
Acked-by: Ciara Power
Signed-off-by: Brian Dooley
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Ad
SNOW3G and ZUC algorithms require non-zero length IVs.
Fixes: c6c267a00a92 ("test/crypto: add mixed encypted-digest")
Cc: adamx.dybkow...@intel.com
Acked-by: Ciara Power
Signed-off-by: Brian Dooley
---
app/test/test_cryptodev_mixed_test_vectors.h | 8 ++--
1 file changed, 6 insertions(+),
Some synchronous tests do not support digest encrypted and need to be
skipped. This commit adds in extra skips for these tests.
Fixes: 55ab4a8c4fb5 ("test/crypto: disable wireless cases for CPU crypto API")
Cc: pablo.de.lara.gua...@intel.com
Acked-by: Ciara Power
Signed-off-by: Brian Dooley
---
Hi Stephen,
It is probing ports for best CPU. Yes it collects cycles. We may rework in the
future.
Open to suggestions.
-Original Message-
From: Stephen Hemminger
Sent: Wednesday, September 6, 2023 12:45 PM
To: Thomas Monjalon
Cc: Sevincer, Abdullah ; dev@dpdk.org; Tyler
Retzlaff
Sub
On Thu, 7 Sep 2023 22:09:06 +
"Sevincer, Abdullah" wrote:
> Hi Stephen,
> It is probing ports for best CPU. Yes it collects cycles. We may rework in
> the future.
> Open to suggestions.
Why is this device a special snowflake? All threading should be using the
existing
infrastructure of ser
From: Beilei Xing
1. code refine for representor support
2. support port representor
v4 changes:
- change the patch order
- merge two patches
- revert enum change
v3 changes:
- Refine commit log.
- Add macro and enum.
- Refine doc.
- Refine error handling.
v2 changes:
- Remove represento
From: Beilei Xing
1. Keep devargs in adapter.
2. Refine handling the case with no vport be specified in devargs.
3. Separate devargs parse and devargs process
Signed-off-by: Qi Zhang
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 154 ++---
drivers
From: Beilei Xing
Introduce cplf interface structure to distinguish vport and port
representor.
Signed-off-by: Qi Zhang
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 3 +++
drivers/net/cpfl/cpfl_ethdev.h | 16
2 files changed, 19 insertions(+)
diff --git a
From: Beilei Xing
Refine handle virtual channel event message.
Signed-off-by: Qi Zhang
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 46 --
1 file changed, 22 insertions(+), 24 deletions(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/driver
From: Beilei Xing
The CPCHNL2 defines the API (v2) used for communication between the
CPF driver and its on-chip management software. The CPFL PMD is a
specific CPF driver to utilize CPCHNL2 for device configuration and
event probing.
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_cpchnl
From: Beilei Xing
1. Handle cpchnl event for vport create/destroy
2. Use hash table to store vport_id to vport_info mapping
3. Use spinlock for thread safe.
Signed-off-by: Qi Zhang
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 157 +
drivers/n
From: Beilei Xing
Format:
[[c]pf]vf
controller_id:
0 : host (default)
1: acc
pf_id:
0 : apf (default)
1 : cpf
Example:
representor=c0pf0vf[0-3]
-- host > apf > vf 0,1,2,3
same as pf0vf[0-3] and vf[0-3] if omit default value.
representor=c0pf0
-- host > apf
same
From: Beilei Xing
Only representor will be parsed for probe again.
Signed-off-by: Qi Zhang
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 69 +++---
1 file changed, 56 insertions(+), 13 deletions(-)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/dr
From: Beilei Xing
Support cp channel ops CPCHNL2_OP_CPF_GET_VPORT_LIST and
CPCHNL2_OP_CPF_GET_VPORT_INFO.
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.h | 8
drivers/net/cpfl/cpfl_vchnl.c | 72 ++
drivers/net/cpfl/meson.build | 1 +
3 fi
From: Beilei Xing
Track representor request in the allowlist.
Representor will only be created for active vport.
Signed-off-by: Jingjing Wu
Signed-off-by: Qi Zhang
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.c | 109 +++---
drivers/net/cpfl/cpfl_ethdev.h | 36 ++
d
From: Beilei Xing
Add link update ops for representor.
Signed-off-by: Jingjing Wu
Signed-off-by: Beilei Xing
---
drivers/net/cpfl/cpfl_ethdev.h | 1 +
drivers/net/cpfl/cpfl_representor.c | 21 +
2 files changed, 22 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_et
Currently, get TCP/IP header or data length information from traffic
is missing in the modify field IDs. This commit adds the missing
TCP data_offset, IPv4 IHL/total_len, IPv6 payload_len to modify filed
IDs. This allows users be able to manager more TCP/IP fields.
Signed-off-by: Suanming Mou
---
On Wed, Sep 06, 2023 at 06:12:19PM +0200, Thomas Monjalon wrote:
> RTE_MAX_THREAD_NAME_LEN is including the NUL character,
> so it should be named "size" instead of "length".
> A new constant RTE_THREAD_NAME_SIZE is introduced for naming accuracy.
> For API compatibility, the old name is kept.
>
>
On Wed, Sep 06, 2023 at 06:12:20PM +0200, Thomas Monjalon wrote:
> The experimental function rte_thread_create_control()
> is supposed to wrap actions needed to create a control thread in DPDK.
> This function should be easy to port on any OS.
>
> As such, the thread attributes should not be custo
On Wed, Sep 06, 2023 at 06:12:21PM +0200, Thomas Monjalon wrote:
> The rte_thread API must be used to ease OS porting.
> One step of this process is to mark the necessary API as stable.
>
> Signed-off-by: Thomas Monjalon
> ---
Acked-by: Tyler Retzlaff
On Wed, Sep 06, 2023 at 06:12:25PM +0200, Thomas Monjalon wrote:
> Calls to rte_ctrl_thread_create() are replaced with
> rte_thread_create_control().
>
> In vhost_blk, the control thread is not forced
> to be scheduled on core 0 anymore.
>
> Signed-off-by: Thomas Monjalon
> ---
Acked-by: Tyler R
On Wed, Sep 06, 2023 at 06:12:26PM +0200, Thomas Monjalon wrote:
> Calls to pthread for thread creation are replaced with the rte_thread API.
>
> Signed-off-by: Thomas Monjalon
> ---
Acked-by: Tyler Retzlaff
On Wed, Sep 06, 2023 at 06:12:27PM +0200, Thomas Monjalon wrote:
> The deprecated functions rte_thread_setname() and rte_ctrl_thread_create()
> are replaced with the new rte_thread API:
>
> rte_thread_setname()
> can be replaced with
> rte_thread_set_name()
> orrte_thread_set_prefi
On Wed, Sep 06, 2023 at 06:12:28PM +0200, Thomas Monjalon wrote:
> The header files should have the minimum embedded includes.
> The file pthread.h can logically be removed from
> rte_per_lcore.h and rte_ethdev_core.h files.
>
> Signed-off-by: Thomas Monjalon
> ---
Acked-by: Tyler Retzlaff
On Thu, Sep 07, 2023 at 10:30:59AM +0200, Morten Brørup wrote:
> > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > Sent: Wednesday, 6 September 2023 18.12
> >
> > The main effect of this patch series is to
> > remove calls to pthread functions except for pthread_cancel and locks.
> >
> > T
On Thu, Sep 7, 2023 at 9:25 PM Tyler Retzlaff
wrote:
>
> On Wed, Sep 06, 2023 at 06:12:28PM +0200, Thomas Monjalon wrote:
> > The header files should have the minimum embedded includes.
> > The file pthread.h can logically be removed from
> > rte_per_lcore.h and rte_ethdev_core.h files.
> >
> > Si
Acked-by: Nithin Dabilpuram
On Thu, Jul 27, 2023 at 8:07 PM wrote:
>
> From: Pavan Nikhilesh
>
> Add IPv4 reassembly node.
>
> Signed-off-by: Pavan Nikhilesh
> ---
> v4 Changes:
> - Add packet drop node as the 0th edge.
> - Free deathrow packets to packet drop node.
> v3 Changes:
> - Act
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not
required.
Signed-off-by: Anoob Joseph
---
lib/security/rte_security.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c
index c4d64bb8e9..71910863bc 10
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not
required.
Signed-off-by: Anoob Joseph
---
app/test/test_cryptodev.c | 29 -
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not
required.
Signed-off-by: Anoob Joseph
---
app/test-crypto-perf/cperf_ops.c | 12 ++--
app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 4 +---
app/test-crypto-perf/cperf_test_throughput.c | 4 +--
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not
required.
Signed-off-by: Anoob Joseph
---
examples/ipsec-secgw/ipsec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c
index a5706bed24..984fb7a
> -Original Message-
> From: Qiao, Wenjing
> Sent: Wednesday, September 6, 2023 5:34 PM
> To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z
> ; Wu, Jingjing ; Xing, Beilei
>
> Cc: Liu, Mingxia ; Qiao, Wenjing
>
> Subject: [PATCH v3 2/9] net/cpfl: add flow json parser
>
> A JSON file will
Hi,
I have a problem while trying to manage my physical Ethernet interface from
DPDK (latest version compiled from source).
I have a:
NIC: :00:1f.6 Ethernet controller: Intel Corporation Ethernet
Connection (13) I219-LM (rev 20)
which belongs to the list of supported NICs in DPDK.
Also, I hav
71 matches
Mail list logo