> -Original Message-
> From: Yiding Zhou
> Sent: Saturday, October 8, 2022 4:49 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing ; Xing, Beilei
> ; Zhou, YidingX ;
> sta...@dpdk.org
> Subject: [PATCH v3] net/iavf: fix error of virtchnl command
...
> When the device is bonded, bond pmd will
> -Original Message-
> From: Wang, Jie1X
> Sent: Saturday, October 8, 2022 2:34 PM
> To: dev@dpdk.org
> Cc: Yang, SteveX ; Zhang, Qi Z
> ; Yang, Qiming ; Wu,
> Jingjing ; Xing, Beilei ; Wang,
> Jie1X
> Subject: [PATCH] net/iavf: fix memory leak in flow subscription
>
> When creating f
Normally, to use the HW offloads capability (e.g. checksum and TSO) in
the Tx direction, the application needs to call rte_eth_tx_prepare() to
do some adjustment with the packets before sending them. But the
tx_prepare callback of the bonding driver is not implemented. Therefore,
the sent packets m
07/10/2022 12:44, Andrew Rybchenko:
> From: Morten Brørup
>
> A flush threshold for the mempool cache was introduced in DPDK version
> 1.3, but rte_mempool_do_generic_get() was not completely updated back
> then, and some inefficiencies were introduced.
>
> Fix the following in rte_mempool_do_ge
07/10/2022 19:29, Andrew Rybchenko:
> I'm not sure in testpmd patch. Review would be useful and may be we
> should postpone it to rc2.
>
> v8:
> - Process review notes
> v7:
> - Drop RTE_ETH_RX_OFFLOAD_MUL_MEMPOOL offload which seems to be
>unnecessary. Positive max_rx_mempools in dev_info i
06/10/2022 13:00, Dariusz Sosnowski:
> The hairpin queues are used to transmit packets received on the wire, back to
> the wire.
> How hairpin queues are implemented and configured is decided internally by
> the PMD and
> applications have no control over the configuration of Rx and Tx hairpin
>
Hello, I would like to kill the primary process and then promote the
seconary process to primary. After checking the apis in dpdk source
code, I think dpdk doesn't provide the promote interface. Any one knows
why we don't have this interface? No usage scenario? or it's impossible
to implement?
Bel
Hi Andrew,
> -Original Message-
> From: Andrew Rybchenko
> Sent: Thursday, October 6, 2022 6:12 PM
> To: Wang, YuanX ; dev@dpdk.org; Thomas
> Monjalon ; Ferruh Yigit
> Cc: ferruh.yi...@xilinx.com; m...@ashroe.eu; Li, Xiaoyun
> ; Singh, Aman Deep ;
> Zhang, Yuying ; Zhang, Qi Z
> ; Yang,
On 2022/10/8 19:58, Chengwen Feng wrote:
> The memarea library is an allocator of variable-size object which based
> on a memory region. The main features are as follows:
>
...
>
> ---
> v6:
> * address Mattias's comments.
> * repost patches as there are spread over different series in patchwor
This patch adds a memarea backup mechanism, where an allocation request
which cannot be met by the current memarea is deferred to its backup
memarea.
Signed-off-by: Chengwen Feng
---
doc/guides/prog_guide/memarea_lib.rst | 4
lib/memarea/memarea_private.h | 2 ++
lib/memarea/rte_m
This patch provides lightweight mechanism for detecting memory
corruption which based on magic field in each element node.
Signed-off-by: Chengwen Feng
---
lib/memarea/memarea_private.h | 2 ++
lib/memarea/rte_memarea.c | 29 ++---
2 files changed, 28 insertions(+),
MT-safe is enabled by default in previous test, this patch adds no
MT-safe test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/app/test/test_memarea.c b/app/test/test_memarea.c
index 28c66b886c..adadc6
This patch supports backup memory mechanism test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/app/test/test_memarea.c b/app/test/test_memarea.c
index d159e4f2ef..28c66b886c 100644
--- a/ap
The memarea library is an allocator of variable-size object which based
on a memory region.
This patch provides create/destroy API.
Signed-off-by: Chengwen Feng
---
MAINTAINERS| 5 +
doc/api/doxy-api-index.md | 3 +-
doc/api/doxy-api.conf.in
This patch supports rte_memarea_dump() API which could be used for
debug.
Signed-off-by: Chengwen Feng
---
doc/guides/prog_guide/memarea_lib.rst | 3 +
lib/memarea/rte_memarea.c | 85 +++
lib/memarea/rte_memarea.h | 21 +++
lib/memarea/version
The memarea library is an allocator of variable-size object which based
on a memory region. The main features are as follows:
- The allocated object aligned at RTE_CACHE_LINE_SIZE default.
- The memory region can be initialized from the following memory
sources:
1. HEAP: e.g. invoke rte_mallo
This patch supports memarea test about API rte_memarea_create and
rte_memarea_destroy.
Signed-off-by: Chengwen Feng
---
MAINTAINERS | 1 +
app/test/meson.build| 2 +
app/test/test_memarea.c | 168
3 files changed, 171 insertions(+)
cr
This patch supports rte_memarea_alloc()/rte_memarea_free()/
rte_memarea_update_refcnt() test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 150 +++-
1 file changed, 149 insertions(+), 1 deletion(-)
diff --git a/app/test/test_memarea.c b/app/test
This patch supports rte_memarea_alloc()/rte_memarea_free()/
rte_memarea_update_refcnt() API.
Signed-off-by: Chengwen Feng
---
doc/guides/prog_guide/memarea_lib.rst | 10 ++
lib/memarea/memarea_private.h | 3 +
lib/memarea/rte_memarea.c | 141 ++
lib
This patch supports rte_memarea_dump() test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/app/test/test_memarea.c b/app/test/test_memarea.c
index 5ace384b8a..d159e4f2ef 100644
--- a/app/test/test_m
This patch provides lightweight mechanism for detecting memory
corruption which based on magic field in each element node.
Signed-off-by: Chengwen Feng
---
lib/memarea/memarea_private.h | 2 ++
lib/memarea/rte_memarea.c | 29 ++---
2 files changed, 28 insertions(+),
This patch supports rte_memarea_alloc()/rte_memarea_free()/
rte_memarea_update_refcnt() test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 150 +++-
1 file changed, 149 insertions(+), 1 deletion(-)
diff --git a/app/test/test_memarea.c b/app/test
This patch adds a memarea backup mechanism, where an allocation request
which cannot be met by the current memarea is deferred to its backup
memarea.
Signed-off-by: Chengwen Feng
---
doc/guides/prog_guide/memarea_lib.rst | 4
lib/memarea/memarea_private.h | 2 ++
lib/memarea/rte_m
MT-safe is enabled by default in previous test, this patch adds no
MT-safe test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/app/test/test_memarea.c b/app/test/test_memarea.c
index 28c66b886c..adadc6
This patch supports backup memory mechanism test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/app/test/test_memarea.c b/app/test/test_memarea.c
index d159e4f2ef..28c66b886c 100644
--- a/ap
This patch supports rte_memarea_dump() API which could be used for
debug.
Signed-off-by: Chengwen Feng
---
doc/guides/prog_guide/memarea_lib.rst | 3 +
lib/memarea/rte_memarea.c | 85 +++
lib/memarea/rte_memarea.h | 21 +++
lib/memarea/version
This patch supports rte_memarea_alloc()/rte_memarea_free()/
rte_memarea_update_refcnt() API.
Signed-off-by: Chengwen Feng
---
doc/guides/prog_guide/memarea_lib.rst | 10 ++
lib/memarea/memarea_private.h | 3 +
lib/memarea/rte_memarea.c | 141 ++
lib
This patch supports rte_memarea_dump() test.
Signed-off-by: Chengwen Feng
---
app/test/test_memarea.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/app/test/test_memarea.c b/app/test/test_memarea.c
index 5ace384b8a..d159e4f2ef 100644
--- a/app/test/test_m
The memarea library is an allocator of variable-size object which based
on a memory region. The main features are as follows:
- The allocated object aligned at RTE_CACHE_LINE_SIZE default.
- The memory region can be initialized from the following memory
sources:
1. HEAP: e.g. invoke rte_mallo
The memarea library is an allocator of variable-size object which based
on a memory region.
This patch provides create/destroy API.
Signed-off-by: Chengwen Feng
---
MAINTAINERS| 5 +
doc/api/doxy-api-index.md | 3 +-
doc/api/doxy-api.conf.in
This patch supports memarea test about API rte_memarea_create and
rte_memarea_destroy.
Signed-off-by: Chengwen Feng
---
MAINTAINERS | 1 +
app/test/meson.build| 2 +
app/test/test_memarea.c | 168
3 files changed, 171 insertions(+)
cr
On 2022/10/7 0:42, Ferruh Yigit wrote:
On 10/6/2022 1:05 PM, Dongdong Liu wrote:
Support ethdev Rx/Tx descriptor dump by using procinfo tool.
Thanks to Ferruh, Andrew and Reshma help to review the patchset.
NOTE:
October 1st to October 7th is China's National Day holiday.
I don't have a tes
Add the below extended features in procinfo guide.
--show-port-private
--version
--firmware-version
--show-rss-reta
--show-module-eeprom
--show-rx-descriptor
--show-tx-descriptor
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
doc/guides/tools/proc_info.rst | 36 +++
This patch support Rx/Tx descriptor dump
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx --
--show-rx-descriptor queue_id:offset:num
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx --
--show-tx-descriptor queue_id:offset:num
queue_id: A queue identifier on this port.
offse
From: Jie Hai
Add dump of Rx/Tx burst mode in --show-port.
Sample output changes:
- rx queue
- -- 0 descriptors 0/1024 drop_en rx buffer size 2048 \
mempool mb_pool_0 socket 0
+ -- 0 descriptors 0/1024 drop_en rx buffer size 2048 \
mempool mb_po
This code is to do cleanup for the wrong doxygen syntax comments
The DPDK API is documented using doxygen comment annotations in the
header files. The procinfo code seems no need to use doxygen comment.
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 40 ++
From: "Min Hu (Connor)"
This patch add support for module eeprom info dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-eeprom
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 52
From: "Min Hu (Connor)"
This patch add support for RSS reta dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-rss-reta
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 57 +++
Add support for dump ethdev firmware version.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --firmware-version
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 35 +++
1 fil
From: "Min Hu (Connor)"
Add support for dump dpdk version.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --version
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 19 ++-
1 file changed,
This patchset is to add some extended features for dpdk-proc-info.
Thanks to Reshma and Stephen help to review the patchset.
v8->v9:
- Fixed some checkpatch warnings.
v7(v4)->v8:
- Add Acked-by: Reshma Pattan for PATCH 4,6.
- Add Rx/Tx descriptor dump.
- Adjust procinfo doc guide.
v3->v4:
- Add
Hi Reshma
Many thanks for your review.
I have sent out the below patchset. this patchset have fixed the comments.
[v8,7/8] app/procinfo: support descriptor dump
https://patches.dpdk.org/project/dpdk/list/?series=25047
Thanks,
Dongdong.
On 2022/10/7 22:43, Pattan, Reshma wrote:
-Original
Add the below extended features in procinfo guide.
--show-port-private
--version
--firmware-version
--show-rss-reta
--show-module-eeprom
--show-rx-descriptor
--show-tx-descriptor
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
doc/guides/tools/proc_info.rst | 36 +++
This patch support Rx/Tx descriptor dump
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx --
--show-rx-descriptor queue_id:offset:num
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx --
--show-tx-descriptor queue_id:offset:num
queue_id: A queue identifier on this port.
offse
This code is to do cleanup for the wrong doxygen syntax comments
The DPDK API is documented using doxygen comment annotations in the
header files. The procinfo code seems no need to use doxygen comment.
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 40 ++
From: Jie Hai
Add dump of Rx/Tx burst mode in --show-port.
Sample output changes:
- rx queue
- -- 0 descriptors 0/1024 drop_en rx buffer size 2048 \
mempool mb_pool_0 socket 0
+ -- 0 descriptors 0/1024 drop_en rx buffer size 2048 \
mempool mb_po
From: "Min Hu (Connor)"
This patch add support for RSS reta dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-rss-reta
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 57 +++
Add support for dump ethdev firmware version.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --firmware-version
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 35 +++
1 fil
From: "Min Hu (Connor)"
This patch add support for module eeprom info dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-eeprom
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 52
From: "Min Hu (Connor)"
Add support for dump dpdk version.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --version
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
app/proc-info/main.c | 19 ++-
1 file changed,
Thiss patchset is to add some extended features for dpdk-proc-info.
Thanks to Reshma and Stephen help to review the patchset.
v7(v4)->v8:
- Add Acked-by: Reshma Pattan for PATCH 4,6.
- add Rx/Tx descriptor dump.
- adjust procinfo doc guide.
v3->v4:
- Add Acked-by: Reshma Pattan for PATCH 1,2,3,5
When the device is bonded, bond pmd will register callback for LSC event.
This callback will execute some virtchnl commands in eal-intr-thread to
reinitialize the device with interrupts disabled. In this case, responses
to all commands not be received.
This commit starts a thread to handle all eve
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptod
Hash algorithms:
* ``RTE_CRYPTO_AUTH_MD5``
* ``RTE_CRYPTO_AUTH_MD5_HMAC``
* ``RTE_CRYPTO_AUTH_SHA1``
* ``RTE_CRYPTO_AUTH_SHA1_HMAC``
* ``RTE_CRYPTO_AUTH_SHA224``
* ``RTE_CRYPTO_AUTH_SHA224_HMAC``
* ``RTE_CRYPTO_AUTH_SHA256``
* ``RTE_CRYPTO_AUTH_SHA256_HMAC``
* ``RTE_CRYPTO_AUTH_SHA384``
* ``RTE_CR
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto/uad
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk/uadk_crypto_pmd
Introduce a new crypto PMD for hardware accelerators based on UADK [1].
UADK is a framework for user applications to access hardware accelerators.
UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share
the same page table between IOMMU and MMU.
Thereby user application can directly
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 213 --
1 file changed, 204 insertions(+), 9 deletions(-)
diff --git a/drivers
Introduce a new crypto PMD for hardware accelerators based on UADK [1].
UADK is a framework for user applications to access hardware accelerators.
UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share
the same page table between IOMMU and MMU.
Thereby user application can directly
When the device is bonded, bond pmd will register callback for LSC event.
This callback will execute some virtchnl commands in eal-intr-thread to
reinitialize the device with interrupts disabled. In this case, responses
to all commands not be received.
This commit starts a thread to handle all eve
Hi Mattias,
On 2022/10/7 3:43, Mattias Rönnblom wrote:
> On 2022-10-05 06:09, datshan wrote:
>> From: Chengwen Feng
>>
>> This patch supports rte_memarea_alloc()/rte_memarea_free()/
>> rte_memarea_update_refcnt() API.
>>
>> Signed-off-by: Chengwen Feng
>> ---
>> doc/guides/prog_guide/memarea_l
Hi Mattias,
On 2022/10/7 3:53, Mattias Rönnblom wrote:
> On 2022-10-05 06:09, datshan wrote:
>> From: Chengwen Feng
>>
>> This patch supports backup memory mechanism, the memarea could use
>> another memarea as a backup.
>
> Maybe it's worth mentioning what backup means already here.
>
> "This
On 2022/9/26 15:26, Xia, Chenbo wrote:
-Original Message-
From: Hao Chen
Sent: Tuesday, September 13, 2022 5:55 PM
To: maxime.coque...@redhat.com; Xia, Chenbo
Cc: dev@dpdk.org; ho...@yusur.tech; z...@yusur.tech; Hao Chen
Subject: [PATCH] vhost: enable CONFIG feature
Enable this feat
> -Original Message-
> From: Nicolau, Radu
> Sent: Friday, September 30, 2022 5:05 PM
> To: Zeng, ZhichaoX ; dev@dpdk.org
> Cc: Yang, Qiming ; Zhou, YidingX
> ; Zhang, Qi Z ; Wu, Jingjing
> ; Xing, Beilei ; Sinha, Abhijit
> ; Doherty, Declan
> Subject: Re: [PATCH v4] net/iavf: fix TSO o
Hi Mattias, Thanks for your review, most will fix in v6.
On 2022/10/7 4:15, Mattias Rönnblom wrote:
> On 2022-10-05 06:09, datshan wrote:
>> From: Chengwen Feng
>>
>> The memarea library is an allocator of variable-size object which based
>> on a memory region.
>>
>> This patch provides create/de
65 matches
Mail list logo