[PATCH v16 5/6] memarea: support dump API

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_dump() API which could be used for debug. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- doc/guides/prog_guide/memarea_lib.rst | 3 + lib/memarea/rte_memarea.c | 100 +++

[PATCH v16 2/6] test/memarea: support memarea test

2023-07-09 Thread Chengwen Feng
This patch supports memarea test of rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- MAINTAINERS | 1 + app/test/meson.build| 2 + app/test/test_memarea.c | 139 +++

[PATCH v16 1/6] memarea: introduce memarea library

2023-07-09 Thread Chengwen Feng
The memarea library is an allocator of variable-size object which based on a memory region. This patch provides rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- MAINTAINERS| 5 +

[PATCH v16 0/6] introduce memarea library

2023-07-09 Thread Chengwen Feng
The memarea library is an allocator of variable-size object which based on a memory region. The main features are as follows: - The memory region can be initialized from the following memory sources: 1. HEAP: e.g. invoke rte_malloc_socket. 2. LIBC: e.g. invoke posix_memalign. 3. Another me

[PATCH v16 3/6] memarea: support alloc and free API

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_alloc() and rte_memarea_free() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- doc/guides/prog_guide/memarea_lib.rst | 6 + lib/memarea/memarea_private.h | 10 ++ lib/memarea/rte_memarea.c | 164

[PATCH v16 4/6] test/memarea: support alloc and free API test

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_alloc() and rte_memarea_free() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- app/test/test_memarea.c | 214 +++- 1 file changed, 213 insertions(+), 1 deletion(-) diff --git a/app

[PATCH v16 6/6] test/memarea: support dump API test

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_dump() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- app/test/test_memarea.c | 40 1 file changed, 40 insertions(+) diff --git a/app/test/test_memarea.c b/app/test/test_mema

Re: [PATCH v4] dmadev: add tracepoints

2023-07-09 Thread Thomas Monjalon
09/07/2023 05:23, fengchengwen: > Hi Thomas, > > On 2023/7/7 18:40, Thomas Monjalon wrote: > > 26/05/2023 10:42, Chengwen Feng: > >> Add tracepoints at important APIs for tracing support. > >> > >> Signed-off-by: Chengwen Feng > >> Acked-by: Morten Brørup > >> > >> --- > >> v4: Fix asan smoke fa

RE: [PATCH v3] graph: fix graph model check in core binding

2023-07-09 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Friday, July 7, 2023 6:17 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; Fu, Qi > Subject: Re: [PATCH v3] graph: fix graph model check in core binding > > On Wed, Jul 5,

RE: [PATCH v1 0/2] add IPv6 extension push remove

2023-07-09 Thread Rongwei Liu
Hi Ferruh & Andrew & Ori & Thomas: Sorry, we can't commit the PMD implementation for "IPv6 extension push remove" feature in time for this release. There are some dis-agreements which need to be addressed internally. We will continue to work on this and plan to push it in

RE: [PATCH] net/iavf: fix vlan offload strip flag inconsistency

2023-07-09 Thread Zhang, Qi Z
> -Original Message- > From: Wenjing Qiao > Sent: Friday, July 7, 2023 3:58 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Huang, ZhiminX ; Qiao, > Wenjing > Subject: [PATCH] net/iavf: fix vlan offload strip flag inconsistency > > For i40e in-tree kernel driver, it will set

Re: [PATCH v15 1/6] memarea: introduce memarea library

2023-07-09 Thread Stephen Hemminger
On Sun, 9 Jul 2023 13:00:36 + Chengwen Feng wrote: > +struct rte_memarea_param { > + char name[RTE_MEMAREA_NAMESIZE]; /**< Name of memarea. */ > + enum rte_memarea_source source; /**< Memory source of memarea. */ > + enum rte_memarea_algorithm alg; /**< Memory management algorit

[PATCH] net/mlx5/hws: add support for multi pattern

2023-07-09 Thread Alex Vesker
When creating an action it can contain a bulk of objects, but the objects are fixed to a specific pattern and cannot be reused. This can lead to inefficient usage of the HW resources, This support allows creating multiple patterns over a single mlx5dr action. Signed-off-by: Alex Vesker Reviewed-b

[PATCH v15 3/6] memarea: support alloc and free API

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_alloc() and rte_memarea_free() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- doc/guides/prog_guide/memarea_lib.rst | 6 + lib/memarea/memarea_private.h | 10 ++ lib/memarea/rte_memarea.c | 164

[PATCH v15 5/6] memarea: support dump API

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_dump() API which could be used for debug. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- doc/guides/prog_guide/memarea_lib.rst | 3 + lib/memarea/rte_memarea.c | 100 +++

[PATCH v15 1/6] memarea: introduce memarea library

2023-07-09 Thread Chengwen Feng
The memarea library is an allocator of variable-size object which based on a memory region. This patch provides rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- MAINTAINERS| 5 +

[PATCH v15 0/6] introduce memarea library

2023-07-09 Thread Chengwen Feng
The memarea library is an allocator of variable-size object which based on a memory region. The main features are as follows: - The memory region can be initialized from the following memory sources: 1. HEAP: e.g. invoke rte_malloc_socket. 2. LIBC: e.g. invoke posix_memalign. 3. Another me

[PATCH v15 2/6] test/memarea: support memarea test

2023-07-09 Thread Chengwen Feng
This patch supports memarea test of rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- MAINTAINERS | 1 + app/test/meson.build| 2 + app/test/test_memarea.c | 122 +++

[PATCH v15 6/6] test/memarea: support dump API test

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_dump() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- app/test/test_memarea.c | 40 1 file changed, 40 insertions(+) diff --git a/app/test/test_memarea.c b/app/test/test_mema

[PATCH v15 4/6] test/memarea: support alloc and free API test

2023-07-09 Thread Chengwen Feng
This patch supports rte_memarea_alloc() and rte_memarea_free() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- app/test/test_memarea.c | 214 +++- 1 file changed, 213 insertions(+), 1 deletion(-) diff --git a/app