> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Thursday, 25 January 2024 00.18
>
> Replace use of __alignof__(T) and __alignof__(e) with C11 alignof(T)
> and alignof(typeof(e)) respectively to improve portability of the code
> between toolchains.
>
> Tyler Retzlaff (9):
>
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Wednesday, 24 January 2024 23.18
flex array
>
> Zero length arrays are GNU extension. Replace with
> standard flex array.
>
> Signed-off-by: Tyler Retzlaff
> ---
Reviewed-by: Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Wednesday, 24 January 2024 23.18
lex array
>
> Zero length arrays are GNU extension. Replace with
> standard flex array.
>
> Signed-off-by: Tyler Retzlaff
> ---
Reviewed-by: Morten Brørup
On 1/24/24 22:02, Morten Brørup wrote:
From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
Sent: Wednesday, 24 January 2024 19.54
gcc [1] generates warning [2] about rte_calloc usage, because
rte_calloc parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.1 20240124
Hi Stephen,
On 2024/1/24 23:54, Stephen Hemminger wrote:
> On Tue, 21 Nov 2023 12:26:51 +
> Chengwen Feng wrote:
>
>> Introduce argparse library (which was inspired by the thread [1]),
>> compared with getopt, the argparse has following advantages:
>> 1) Set the help information when definin
> Replace use of __alignof__(T) with C11 alignof(T) to improve portability
> between toolchains.
>
> Signed-off-by: Tyler Retzlaff
Acked-by: Akhil Goyal
On 1/12/2024 1:32 PM, Gavin Li wrote:
Add support for VXLAN-GPE flags field in flow rule pattern to testpmd.
Signed-off-by: Gavin Li
Acked-by: Dariusz Sosnowski
Acked-by: Aman Singh
On 1/12/2024 1:32 PM, Gavin Li wrote:
Add support for VXLAN-GPE rsvd0 and rsvd1 fields in flow rule pattern to
testpmd
Signed-off-by: Gavin Li
Acked-by: Dariusz Sosnowski
Acked-by: Aman Singh (aman.deep.si...@intel.com>
---
Hi Amiya
Can you provide me with the DPDK startup parameters?
Thanks
From: Amiya Ranjan Mohakud
Sent: Tuesday, January 23, 2024 4:54 PM
To: Deng, KaiwenX ; dev@dpdk.org
Cc: Amiya Ranjan Mohakud ; Amiya Ranjan
Mohakud
Subject: Regarding https://mails.dpdk.org/archives/dev/2023-June/270558.html
Ping...
Request for review comments please.
Thanks
Harman
> -Original Message-
> From: Harman Kalra
> Sent: Monday, January 22, 2024 12:49 AM
> To: dev@dpdk.org; Thomas Monjalon ; Ferruh Yigit
> ; Andrew Rybchenko
> ; Ajit Khaparde
> ; Somnath Kotur
> ; John Daley ;
> Hyong Youb Kim ; Yu
>
> External Email
>
> --
> Replace use of __alignof__(T) with C11 alignof(T) to improve portability
> between toolchains.
>
> Signed-off-by: Tyler Retzlaff
Acked-by: Anoob Joseph
Hi Thomas,
On 2024/1/24 21:24, Thomas Monjalon wrote:
> 22/01/2024 04:57, Chengwen Feng:
>> Introduce argparse library (which was inspired by the thread [1]). This
>> commit provides public API and doc.
>>
>> [1]
>> https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengcheng...
> gcc [1] generates warning [2] about calloc usage, because calloc parameter
> order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.0 20240108 (experimental)
>
> [2]
> Compiling C object .../lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
> ../lib/rawdev/rte_rawdev.c: In func
Maintainers remove the Cc author line when merging the patch.
So, the guidelines is updated with a suggestion for the placement
of Cc lines in a commit message for easy merging.
Signed-off-by: Sivaramakrishnan Venkat
---
doc/guides/contributing/patches.rst | 6 ++
1 file changed, 6 insertion
For the case: `ethtool -L eth0 combined xxx` in VM, VQ will disable
and enable without calling device close. In such case, need add
drain CQ before reuse/reset event QP.
Fixes: 24969c7b62 ("vdpa/mlx5: reuse event queues")
Cc: sta...@dpdk.org
Signed-off-by: Yajun Wu
Acked-by: Matan Azrad
---
dr
For dmadev part
Reviewed-by: Chengwen Feng
Thanks
On 2024/1/24 20:04, David Marchand wrote:
> RTE_LOG() macros prefixe the log messages based on the logtype.
> This results in logs like:
>
> TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...'
> TMTY: TELEMETRY: Socket creation and b
From: Long Li
Instead of allocating mbufs one by one during RX, use
rte_pktmbuf_alloc_bulk() to allocate them in a batch.
Signed-off-by: Long Li
---
drivers/net/mana/rx.c | 67 +++
1 file changed, 43 insertions(+), 24 deletions(-)
diff --git a/drivers/n
Reviewed-by: Chengwen Feng
Thanks
On 2024/1/25 2:54, Ferruh Yigit wrote:
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 20240124 (experimental)
>
> [2]
>
Reviewed-by: Chengwen Feng
Thanks
On 2024/1/25 2:54, Ferruh Yigit wrote:
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 20240124 (experimental)
>
> [2]
>
Reviewed-by: Chengwen Feng
Thanks
On 2024/1/25 2:54, Ferruh Yigit wrote:
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.0 20240108 (experimental)
>
> [2]
> Compiling C object .../lib/lib
> -Original Message-
> From: Tyler Retzlaff
> Sent: Thursday, January 25, 2024 12:18 AM
> To: dev@dpdk.org
> Cc: Akhil Goyal ; Andrew Rybchenko
> ;
> Anoob Joseph ; Ferruh Yigit ;
> Honnappa Nagarahalli
> ; Jerin Jacob ; Konstantin
> Ananyev
> ; Nithin Kumar Dabilpuram
> ; Ori Kam
> ;
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/security/rte_security.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c
index b082
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/reorder/rte_reorder.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/reorder/rte_reorder.c b/lib/reorder/rte_reorder.c
index ff81544..c080
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/pdcp/rte_pdcp.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/pdcp/rte_pdcp.c b/lib/pdcp/rte_pdcp.c
index 1c6d246..1c076fb 100644
--- a/
Replace use of __alignof__(e) with C11 alignof(typeof(e)) to improve
portability between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/stack/rte_stack.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/stack/rte_stack.c b/lib/stack/rte_stack.c
index 1dab6d6..7261281
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/node/node_private.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/node/node_private.h b/lib/node/node_private.h
index 845fdaa..92acb9b 1
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/ethdev/ethdev_driver.c | 3 ++-
lib/ethdev/rte_flow.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/ethdev/ethdev_driver.c b/lib/e
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/eventdev/rte_eventdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c
index 94628a6
Replace use of __alignof__(T) with C11 alignof(T) to improve portability
between toolchains.
Signed-off-by: Tyler Retzlaff
---
lib/mbuf/rte_mbuf_dyn.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/mbuf/rte_mbuf_dyn.c b/lib/mbuf/rte_mbuf_dyn.c
index 446018f..1cfb329 10
Replace use of __alignof__(e) with C11 alignof(typeof(e)) to improve
portability between toolchains
Signed-off-by: Tyler Retzlaff
---
lib/ring/rte_ring.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/ring/rte_ring.c b/lib/ring/rte_ring.c
index c59f626..a783299 100644
Replace use of __alignof__(T) and __alignof__(e) with C11 alignof(T)
and alignof(typeof(e)) respectively to improve portability of the code
between toolchains.
Tyler Retzlaff (9):
ring: use C11 alignof
mbuf: use C11 alignof
ethdev: use C11 alignof
eventdev: use C11 alignof
stack: use C11
> -Original Message-
> From: Tyler Retzlaff
> Sent: Wednesday, January 24, 2024 4:18 PM
> To: dev@dpdk.org
> Cc: Bruce Richardson ; Honnappa Nagarahalli
> ; Sameh Gobriel
> ; Vladimir Medvedkin
> ; Yipeng Wang ;
> Stephen Hemminger ; Tyler Retzlaff
>
> Subject: [PATCH 1/2] hash: replac
> -Original Message-
> From: Tyler Retzlaff
> Sent: Wednesday, January 24, 2024 4:18 PM
> To: dev@dpdk.org
> Cc: Bruce Richardson ; Honnappa Nagarahalli
> ; Sameh Gobriel
> ; Vladimir Medvedkin
> ; Yipeng Wang ;
> Stephen Hemminger ; Tyler Retzlaff
>
> Subject: [PATCH 2/2] rcu: replace
Zero length arrays are GNU extension. Replace with
standard flex array.
Signed-off-by: Tyler Retzlaff
---
lib/hash/rte_thash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index e8de071..1982051 100644
--- a/lib/hash/rte_thas
Zero length arrays are GNU extension. Replace with
standard flex array.
Signed-off-by: Tyler Retzlaff
---
lib/rcu/rcu_qsbr_pvt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/rcu/rcu_qsbr_pvt.h b/lib/rcu/rcu_qsbr_pvt.h
index 5fd7ca2..96d05e6 100644
--- a/lib/rcu/rcu_qsb
Replace some missed zero length arrays not captured in the
original series.
https://patchwork.dpdk.org/project/dpdk/list/?series=30410&state=*
Zero length arrays are a GNU extension that has been
superseded by flex arrays.
https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
Tyler Retzlaff (2):
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about rte_calloc usage, because
> rte_calloc parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 2024012
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about rte_calloc usage, because
> rte_calloc parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 2024012
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 20240124 (experiment
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.0 20231102 (experimental)
>
> [2]
> Compiling C
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.0 20231102 (experimental)
>
> [2]
> Compiling
ning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 20240124 (experimental)
>
> [2]
> Compiling C object lib/librte_dmadev.a.p/dmadev_rte_dmadev.c.o
> ../lib/dmadev/rte_dmadev.c: In funct
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.0 20240108 (experimental)
>
> [2]
> Compiling C
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com]
> Sent: Wednesday, 24 January 2024 19.54
>
> gcc [1] generates warning [2] about calloc usage, because calloc
> parameter order is wrong, fixing it by replacing parameters.
>
> [1]
> gcc (GCC) 14.0.1 20240124 (experiment
gcc [1] generates warning [2] about rte_calloc usage, because
rte_calloc parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.1 20240124 (experimental)
[2]
Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae.c.o
../net/sfc/sfc_mae.c: In function
gcc [1] generates warning [2] about rte_calloc usage, because
rte_calloc parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.1 20240124 (experimental)
[2]
Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o
../drivers/net/bnx2x/bnx2x.c: In function
gcc [1] generates warning [2] about calloc usage, because calloc
parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.1 20240124 (experimental)
[2]
Compiling C object .../common_mlx5_mlx5_common_mr.c.o
.../mlx5/mlx5_common_mr.c: In function ‘mlx5_mempool_get_chunks
gcc [1] generates warning [2] about calloc usage, because calloc
parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.0 20240108 (experimental)
[2]
Compiling C object .../lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
../lib/rawdev/rte_rawdev.c: In function ‘handle_dev_dum
gcc [1] generates warning [2] about calloc usage, because calloc
parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.1 20240124 (experimental)
[2]
Compiling C object lib/librte_dmadev.a.p/dmadev_rte_dmadev.c.o
../lib/dmadev/rte_dmadev.c: In function
gcc [1] generates warning [2] about calloc usage, because calloc
parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.1 20240124 (experimental)
[2]
Compiling C object lib/librte_eventdev.a.p/eventdev_rte_eventdev.c.o
../lib/eventdev/rte_eventdev.c: In function
gcc [1] generates warning [2] about calloc usage, because calloc
parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.0 20231102 (experimental)
[2]
Compiling C object .../net_nfp_nfpcore_nfp_mutex.c.o
.../net/nfp/nfpcore/nfp_mutex.c: In function ‘nfp_cpp_mutex_alloc’:
.
gcc [1] generates warning [2] about calloc usage, because calloc
parameter order is wrong, fixing it by replacing parameters.
[1]
gcc (GCC) 14.0.0 20231102 (experimental)
[2]
Compiling C object .../pipeline_rte_swx_pipeline_spec.c.o
.../rte_swx_pipeline_spec.c: In function ‘pipeline_spec_parse’:
On Wed, Jan 24, 2024 at 08:28:35AM -0800, Stephen Hemminger wrote:
> Make sure use of RTE_LOG_DP has newline just like uses of RTE_LOG.
>
> Signed-off-by: Stephen Hemminger
> ---
Acked-by: Tyler Retzlaff
On 1/16/2024 8:44 PM, Thomas Monjalon wrote:
Caution: This message originated from an External Source. Use proper caution
when opening attachments, clicking links, or responding.
There was no comment on this doc.
It is RFC, is it ready to merge?
new patch shared doc/linux_gsg: add amd confi
Add AMD EPYC SoC tuning guide as new section of linux getting
started guide.
Signed-off-by: Vipin Varghese
---
MAINTAINERS | 4 ++
doc/guides/linux_gsg/amd_platform.rst | 70 +++
doc/guides/linux_gsg/index.rst| 1 +
3 files changed, 75
On Wed, Jan 24, 2024 at 08:28:34AM -0800, Stephen Hemminger wrote:
> Several drivers did copy/paste of log macros for datapath
> but are not using them, so remove them.
>
> Signed-off-by: Stephen Hemminger
> ---
Acked-by: Tyler Retzlaff
Add AMD EPYC SoC tuning guide as new setcion of linux getting
started guide.
Signed-off-by: Vipin Varghese
---
MAINTAINERS | 4 ++
doc/guides/linux_gsg/amd_platform.rst | 70 +++
doc/guides/linux_gsg/index.rst| 1 +
3 files changed, 75
On Wed, Jan 24, 2024 at 05:45:11AM -0800, Rahul Gupta wrote:
> From: Rahul Gupta
>
> In continuation to the following email, I am sending this patch.
> (https://inbox.dpdk.org/dev/20231110172523.ga17...@microsoft.com/)
>
> Initialization requires rte_eal_init + rte_pktmbuf_pool_create which
> ca
> -Original Message-
> From: Gowrishankar Muthukrishnan
> Sent: Thursday, January 4, 2024 2:38 PM
> To: Kusztal, ArkadiuszX
> Cc: Akhil Goyal ; Ji, Kai ; Power, Ciara
> ; Anoob Joseph ;
> dev@dpdk.org
> Subject: RE: [EXT] [RFC PATCH] cryptodev: add sm2 key exchange and
> encryption for
Hello maintainers,
In porting over the first ethdev suite to the new DTS framework, there was
an inconsistency that we found and we were wondering if anyone would be
able to shed some light on this. In general the inconsistency pertains to
Intel and Mellanox NICs, where one will throw an error and
Make sure use of RTE_LOG_DP has newline just like uses of RTE_LOG.
Signed-off-by: Stephen Hemminger
---
.../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 2 +-
drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 2 +-
drivers/crypto/dpaa_sec/dpaa_sec_log.h| 2 +-
drivers/event/dlb2/dlb2_log
Several drivers did copy/paste of log macros for datapath
but are not using them, so remove them.
Signed-off-by: Stephen Hemminger
---
drivers/bus/cdx/cdx_logs.h| 11 ---
drivers/bus/fslmc/fslmc_logs.h| 11 ---
drivers/common/dpaax/dpaax_logs.h
This patch set was suggested by David while reviewing
the RTE_LOGTYPE_PMD patches.
Stephen Hemminger (2):
drivers: remove unnecessary RTE_LOG_DP macros
drivers: RTE_LOG_DP newline consistency
.../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 2 +-
drivers/bus/cdx/cdx_logs.h
On Tue, 21 Nov 2023 12:26:51 +
Chengwen Feng wrote:
> Introduce argparse library (which was inspired by the thread [1]),
> compared with getopt, the argparse has following advantages:
> 1) Set the help information when defining parameters.
> 2) Support positional parameters.
>
> The paramete
On Wed, Jan 24, 2024 at 2:45 PM Rahul Gupta
wrote:
>
> From: Rahul Gupta
>
> In continuation to the following email, I am sending this patch.
> (https://inbox.dpdk.org/dev/20231110172523.ga17...@microsoft.com/)
>
> Initialization requires rte_eal_init + rte_pktmbuf_pool_create which
> can consume
On Wed, 24 Jan 2024 05:45:11 -0800
Rahul Gupta wrote:
> + * returns current status of execution on a given lcore
> + */
> +__rte_experimental int
> +rte_eal_init_async_setup_done(int lcore_id)
> +{
> + int ret = (lcore_config[lcore_id].state)
parenthesis not needed here
On Wed, 24 Jan 2024 05:45:11 -0800
Rahul Gupta wrote:
> +
> +/*
> + * waits until function executing on given lcore finishes.
> + * returns value returned by the function executing on that lcore.
> + */
> +__rte_experimental int
> +rte_eal_init_wait_async_setup_complete(void)
> +{
> + int lco
> -Original Message-
> From: Juraj Linkeš
> Sent: Monday, January 22, 2024 9:59 PM
> To: Pavan Nikhilesh Bhagavatula
> Cc: Jerin Jacob ; ruifeng.w...@arm.com;
> n...@arm.com; Bruce Richardson ;
> dev@dpdk.org
> Subject: Re: [EXT] Re: [PATCH 2/2] config/arm: add support for fallback marc
> -Original Message-
> From: Juraj Linkeš
> Sent: Monday, January 22, 2024 9:57 PM
> To: Pavan Nikhilesh Bhagavatula
> Cc: Jerin Jacob ; ruifeng.w...@arm.com;
> n...@arm.com; Bruce Richardson ;
> dev@dpdk.org
> Subject: Re: [EXT] Re: [PATCH 1/2] config/arm: avoid mcpu and march
> confli
> > Stephen Hemminger (11):
> > gro: use rte_pktmbuf_mtod_offset
> > gso: use rte_pktmbuf_mtod_offset
> > test/crypto_dev: use rte_pktmbuf_mtod_offset
> > drivers/crypto: use rte_pktmbuf_mtod_offset
> > net/nfp: use rte_pktmbuf_mtod_offset
> > net/tap: use rte_pktmbuf_motd_offset
> >
> -Original Message-
> From: David Marchand
> Sent: Wednesday, January 24, 2024 12:05 PM
> To: dev@dpdk.org
> Cc: Thomas Monjalon ; Chengwen Feng
> ; Laatz, Kevin ;
> Richardson, Bruce ; Elena Agostini
> ; Jerin Jacob ; Kiran Kumar K
> ; Nithin Dabilpuram
> ; Yan, Zhirun ; Pavan
> Nikhi
- On Jan 24, 2024, at 7:58 AM, Ferruh Yigit ferruh.yi...@amd.com wrote:
> On 1/24/2024 12:34 PM, Lewis Donzis wrote:
>
>> - On Jan 11, 2024, at 6:03 AM, Ferruh Yigit ferruh.yi...@amd.com wrote:
>>
>>> On 1/9/2024 4:00 PM, Lewis Donzis wrote:
- On Jan 9, 2024, at 8:2
On 1/24/2024 12:34 PM, Lewis Donzis wrote:
> - On Jan 11, 2024, at 6:03 AM, Ferruh Yigit ferruh.yi...@amd.com wrote:
>
>> On 1/9/2024 4:00 PM, Lewis Donzis wrote:
>>>
>>>
>>> - On Jan 9, 2024, at 8:23 AM, Bruce Richardson
>>> bruce.richard...@intel.com
>>> wrote:
>>>
DPDK does not s
>
> 02/11/2023 18:28, Bruce Richardson:
> > Add a new small library to make it easier for apps to work with
> > cmdline arguments and build up args to use when initializing EAL.
> >
> > This library is optional, and can be disabled at build time using the
> > disable libraries meson option.
>
>
08/07/2023 03:57, Stephen Hemminger:
> Replace explicit packet offset computations with rte_pktmbuf_mtod_offset().
>
> Signed-off-by: Stephen Hemminger
It has been reworked by David Marchand in 23.11.
From: Rahul Gupta
In continuation to the following email, I am sending this patch.
(https://inbox.dpdk.org/dev/20231110172523.ga17...@microsoft.com/)
Initialization requires rte_eal_init + rte_pktmbuf_pool_create which
can consume a total time of 500-600 ms:
a) For many devices FLR may take a si
10/07/2023 14:19, Niklas Söderlund:
> On 2023-07-07 18:57:12 -0700, Stephen Hemminger wrote:
> > Replace explicit packet offset computations with rte_pktmbuf_mtod_offset().
> >
> > Signed-off-by: Stephen Hemminger
>
> Reviewed-by: Niklas Söderlund
A similar change by Chaoyong He has been merge
18/12/2023 10:18, Bruce Richardson:
> On Fri, Dec 15, 2023 at 01:53:21PM -0800, Stephen Hemminger wrote:
> > On Fri, 15 Dec 2023 17:26:24 +
> > Euan Bourke wrote:
> >
> > > A recent thread on the mailing list[1] discussed corelist and coremask
> > > parsing and the idea of a new library dedic
On Wed, Jan 24, 2024 at 02:16:13PM +0100, Morten Brørup wrote:
> > From: Euan Bourke [mailto:euan.bou...@intel.com]
> > Sent: Friday, 15 December 2023 18.26
> >
> > Add a new library to make it easier for eal and other libraries to
> > parse
> > command line arguments.
> >
> > The first function
On Wed, Jan 24, 2024 at 01:26:58PM +, Bruce Richardson wrote:
> On Wed, Jan 24, 2024 at 01:04:49PM +0100, David Marchand wrote:
> > RTE_LOG() macros prefixe the log messages based on the logtype.
> > This results in logs like:
> >
> > TMTY: TELEMETRY: Attempting socket bind to path '/run/user/
22/01/2024 04:58, Chengwen Feng:
> -#define CMD_LINE_OPT_MAC_UPDATING "mac-updating"
> -#define CMD_LINE_OPT_NO_MAC_UPDATING "no-mac-updating"
> -#define CMD_LINE_OPT_PORTMASK "portmask"
> -#define CMD_LINE_OPT_NB_QUEUE "nb-queue"
> -#define CMD_LINE_OPT_COPY_TYPE "copy-type"
> -#define CMD_LINE_OP
On Wed, Jan 24, 2024 at 01:04:49PM +0100, David Marchand wrote:
> RTE_LOG() macros prefixe the log messages based on the logtype.
> This results in logs like:
>
> TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...'
> TMTY: TELEMETRY: Socket creation and binding ok
> TMTY: TELEMETRY: Te
22/01/2024 04:57, Chengwen Feng:
> Introduce argparse library (which was inspired by the thread [1]). This
> commit provides public API and doc.
>
> [1]
> https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengcheng...@huawei.com/
I'm not sure how this helps with the initial pr
> From: Euan Bourke [mailto:euan.bou...@intel.com]
> Sent: Friday, 15 December 2023 18.26
>
> Add a new library to make it easier for eal and other libraries to
> parse
> command line arguments.
>
> The first function in this library is one to parse a corelist string
> into an array of individual
22/01/2024 04:57, Chengwen Feng:
> This commit adds verify argument config test.
>
> Signed-off-by: Chengwen Feng
Test can be squashed in the commit adding the feature.
22/01/2024 04:57, Chengwen Feng:
> Introduce macros: RTE_MBIT64/RTE_MBIT32, RTE_GENMASK64/RTE_GENMASK32,
> and RTE_FIELD_GET64/RTE_FIELD_GET32.
A bit of context and description would help.
> +/**
> + * Get the uint64_t value for a multiple bits set.
> + *
> + * @param val
> + * The value may no
From: Satha Rao
Added cnxk APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
doc/guides/nics/features/cnxk.ini | 1 +
drivers/net/cnxk/cn10k_ethdev.c | 10 ++
drivers/net/cnxk/cn9k_ethdev.c| 10 ++
drivers/net/cnxk/cnxk_ethdev.h| 11 +++
4 f
Did this get checked in?
Just curious because I don't see it in 22.11.4 that was released yesterday, so
wasn't sure when it would show up.
Thanks,
lew
- On Jan 11, 2024, at 6:03 AM, Ferruh Yigit ferruh.yi...@amd.com wrote:
> On 1/9/2024 4:00 PM, Lewis Donzis wrote:
>>
>>
>> - On Jan
Align eventdev with what other device abstraction libraries do: if no
driver is present, skip the tests.
Fixes: f8f9d233ea0e ("test/eventdev: add unit tests")
Cc: sta...@dpdk.org
Signed-off-by: David Marchand
---
app/test/test_eventdev.c | 10 --
1 file changed, 8 insertions(+), 2 delet
From: Satha Rao
Fastpath API to get txq used count.
testpmd> show port 0 txq 0 desc count
Signed-off-by: Satha Rao
---
app/test-pmd/cmdline.c | 78 ++
1 file changed, 78 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdlin
> From: David Marchand [mailto:david.march...@redhat.com]
> Sent: Wednesday, 24 January 2024 13.05
>
> RTE_LOG() macros prefixe the log messages based on the logtype.
> This results in logs like:
>
> TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...'
> TMTY: TELEMETRY: Socket creatio
RTE_LOG() macros prefixe the log messages based on the logtype.
This results in logs like:
TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...'
TMTY: TELEMETRY: Socket creation and binding ok
TMTY: TELEMETRY: Telemetry initialized ok
Remove redundancy in some libraries following their
02/11/2023 18:28, Bruce Richardson:
> Add a new small library to make it easier for apps to work with cmdline
> arguments and build up args to use when initializing EAL.
>
> This library is optional, and can be disabled at build time using
> the disable libraries meson option.
This is an optional
02/11/2023 18:28, Bruce Richardson:
> Add in functions which can be used to check for valid arguments for EAL
> or for the application. This can be used to separate out mixed arguments.
>
> Signed-off-by: Bruce Richardson
> ---
> lib/args/args.c | 122 +++
On 2024-01-23 10:43, Bruce Richardson wrote:
On Tue, Jan 23, 2024 at 10:35:02AM +0100, Mattias Rönnblom wrote:
On 2024-01-19 18:43, Bruce Richardson wrote:
Some small rewording changes to the doxygen comments on struct
rte_event_dev_info.
Signed-off-by: Bruce Richardson
---
lib/eventdev/rt
On 2024-01-23 10:06, Bruce Richardson wrote:
On Tue, Jan 23, 2024 at 09:57:58AM +0100, Mattias Rönnblom wrote:
On 2024-01-19 18:43, Bruce Richardson wrote:
Make some textual improvements to the introduction to eventdev and event
devices in the eventdev header file. This text appears in the doxy
On 2024-01-19 18:43, Bruce Richardson wrote:
Clarify the meaning of the NEW, FORWARD and RELEASE event types.
For the fields in "rte_event" struct, enhance the comments on each to
clarify the field's use, and whether it is preserved between enqueue and
dequeue, and it's role, if any, in schedulin
Bursts of up to 64 or 128 packets are not uncommon, so increase the
maximum tested get and put burst sizes from 32 to 128.
For convenience, also test get and put burst sizes of
RTE_MEMPOOL_CACHE_MAX_SIZE.
Some applications keep more than 512 objects, so increase the maximum
number of kept objects
On Tue, Jan 23, 2024 at 05:19:18PM +0100, Mattias Rönnblom wrote:
> On 2024-01-19 18:43, Bruce Richardson wrote:
> > The description of ordered and atomic scheduling given in the eventdev
> > doxygen documentation was not always clear. Try and simplify this so
> > that it is clearer for the end-use
From: Zerun Fu
For the primary process, the logic loops all BARs and will skip
the map of BAR with an invalid physical address (0), also will
assign 'uio_res->nb_maps' with the real mapped BARs number. But
for the secondary process, instead of loops all BARs, the logic
using the 'uio_res->nb_map'
1 - 100 of 110 matches
Mail list logo