Re: RE: [PATCH v2 2/2] vhost: introduce VHOST_USER_RESET_VRING

2022-09-22 Thread Xuan Zhuo
On Thu, 22 Sep 2022 09:35:35 +, "Xia, Chenbo" wrote: > > -Original Message- > > From: Kangjie Xu > > Sent: Monday, September 5, 2022 11:48 AM > > To: maxime.coque...@redhat.com; Xia, Chenbo > > Cc: dev@dpdk.org; xuanz...@linux.alibaba.com; hen...@linux.alibaba.com; > > jasonw...@redh

Re: [EXT] [PATCH 4/8] trace: fix dynamically enabling trace points

2022-09-22 Thread David Marchand
On Thu, Sep 22, 2022 at 1:18 PM Sunil Kumar Kori wrote: > > int > > -rte_trace_point_disable(rte_trace_point_t *trace) > > +rte_trace_point_disable(rte_trace_point_t *t) > > { > > - if (trace_point_is_invalid(trace)) > > + uint64_t prev; > > + > > + if (trace_point_is_invalid(t)) > >

Re: [EXT] [PATCH 3/8] trace: fix leak with regexp

2022-09-22 Thread David Marchand
On Thu, Sep 22, 2022 at 1:00 PM Sunil Kumar Kori wrote: > > @@ -210,15 +210,18 @@ rte_trace_regexp(const char *regex, bool enable) > > return -EINVAL; > > > > STAILQ_FOREACH(tp, &tp_list, next) { > > - if (regexec(&r, tp->name, 0, NULL, 0) == 0) { > > -

[PATCH v2 5/5] doc: Update doc for UADK crypto PMD

2022-09-22 Thread Zhangfei Gao
Update doc for the new UADK crypto PMD, which relies on UADK library [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. [1] https://github.com/Linaro/uadk

[PATCH v2 4/5] crypto/uadk: support auth algorithms

2022-09-22 Thread Zhangfei Gao
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

[PATCH v2 3/5] crypto/uadk: support cipher algorithms

2022-09-22 Thread Zhangfei Gao
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 --- drivers/crypto/uadk/uadk_crypto_pmd.c | 254 +- 1 file changed, 252 insertions(+), 2 deletio

[PATCH v2 2/5] crypto/uadk: introduce uadk crypto driver

2022-09-22 Thread Zhangfei Gao
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

[PATCH v2 1/5] test/crypto: add cryptodev_uadk_autotest

2022-09-22 Thread Zhangfei Gao
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

[PATCH v2 0/5] crypto/uadk: introduce uadk crypto driver

2022-09-22 Thread Zhangfei Gao
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

[PATCH v2] vhost: use dedicated variable for vhost message result code

2022-09-22 Thread Andy Pei
Currently in function vhost_user_msg_handler, variable ret is used to store both vhost msg result code and function call return value. After this patch, variable ret is used only to store function call return value, a new dedicated variable msg_result is used to store vhost msg result. This can imp

RE: [PATCH] vhost: use another variable to store vhost msg result code

2022-09-22 Thread Pei, Andy
HI Chenbo, Thanks for your reply. I think your suggestion is good, and I will send a V2 patch to address this. > -Original Message- > From: Xia, Chenbo > Sent: Thursday, September 22, 2022 9:27 PM > To: Pei, Andy ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Ma, WenwuX > Subject: RE:

[PATCH v3] doc: add known issue in intel VF guide

2022-09-22 Thread Steve Yang
Add a known issue: configuring VLAN filters from VF is unsupported for i40e driver 2.17.15. Signed-off-by: Steve Yang --- doc/guides/nics/intel_vf.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/nics/intel_vf.rst b/doc/guides/nics/intel_vf.rst index 09e1eb7685..d582f831

Re: [PATCH] app/test: fix LACP handshake overtime

2022-09-22 Thread humin (Q)
Hi, Zhang,     Why LACP handshake "overtime" in your test?     Maybe in other occasions, 60 * delay is also not enough.     BTW, how about config "conf.update_timeout_ms" for the test? 在 2022/8/18 13:43, Ke Zhang 写道: Increase the loop count so that there is a longer threshold time for the LAC

RE: [PATCH 1/2] net/iavf: check illegal packets

2022-09-22 Thread Zhang, Qi Z
> -Original Message- > From: Liu, KevinX > Sent: Thursday, September 22, 2022 3:04 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Xing, Beilei > ; Wu, Jingjing ; Liu, KevinX > > Subject: [PATCH 1/2] net/iavf: check illegal packets > > Some illegal packets wi

RE: [PATCH v2] net/iavf: fix processing vlan tci in SSE path

2022-09-22 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Tuesday, September 13, 2022 5:29 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > sta...@dpdk.org; Richardson, Bruce ; > Konstantin Ananyev ; Wu, Jingjing > ; Xing, Beilei ; Zhang, Qi Z > ; Rong, Leyi >

RE: [EXT] [PATCH v9 0/7] bbdev changes for 22.11

2022-09-22 Thread Chautru, Nicolas
Thanks Akhil. I put the change to the release note here: https://patches.dpdk.org/project/dpdk/patch/20220922205833.41496-2-nicolas.chau...@intel.com/ > -Original Message- > From: Akhil Goyal > Sent: Thursday, September 22, 2022 11:18 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@m

[PATCH v1 0/1] doc: release note update related to bbdev

2022-09-22 Thread Nic Chautru
Hi Akhil, This is the release note update as discussed on the email list. Nic Chautru (1): doc: release note update for the bbdev change doc/guides/rel_notes/release_22_11.rst | 8 1 file changed, 8 insertions(+) -- 2.37.1

[PATCH v1 1/1] doc: release note update for the bbdev change

2022-09-22 Thread Nic Chautru
To be squashed by Akhil. Signed-off-by: Nic Chautru --- doc/guides/rel_notes/release_22_11.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst index 8c021cf050..22c0f23e39 100644 --- a/doc/guides/rel_not

RE: [PATCH v3] eal: Pointer alignment check improvements

2022-09-22 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 22 September 2022 15.39 > > On Thu, Sep 22, 2022 at 03:27:30PM +0200, Morten Brørup wrote: > > Checking a const pointer for alignment would emit a warning about the > > const qualifier being discarded. > > > > No need t

[PATCH v5 13/14] baseband/acc: add PF configure companion function

2022-09-22 Thread Nic Chautru
Add configure function notably to configure the device from the PF within DPDK and bbdev-test (without external dependency). Signed-off-by: Nic Chautru --- app/test-bbdev/test_bbdev_perf.c | 71 drivers/baseband/acc/meson.build | 2 +- drivers/baseband/acc/rte_acc200_cfg.h | 4

[PATCH v5 14/14] baseband/acc: simplify meson dependency

2022-09-22 Thread Nic Chautru
Removing some of libraries from the external dependency captured in meson build file. Signed-off-by: Nic Chautru --- drivers/baseband/acc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/meson.build b/drivers/baseband/acc/meson.build index 7ae1

[PATCH v5 12/14] baseband/acc: add device status and vf2pf comms

2022-09-22 Thread Nic Chautru
Add support to expose the device status seen from the host through v2pf mailbox communication. Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 61 +++ 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/drivers/baseband/acc/rte_acc200_pm

[PATCH v5 09/14] baseband/acc: add LTE processing functions

2022-09-22 Thread Nic Chautru
Add functions and capability for 4G FEC Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 894 +- 1 file changed, 874 insertions(+), 20 deletions(-) diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc/rte_acc200_pmd.c index d0e

[PATCH v5 11/14] baseband/acc: support interrupt

2022-09-22 Thread Nic Chautru
Adding support for capability and functions for MSI/MSI-X interrupt and underlying information ring. Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 345 +- 1 file changed, 343 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/rte_acc

[PATCH v5 10/14] baseband/acc: add support for FFT operations

2022-09-22 Thread Nic Chautru
Add functions and capability for FFT processing Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 251 +- 1 file changed, 249 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc/rte_acc200_pmd.c in

[PATCH v5 07/14] baseband/acc: add queue configuration for ACC200

2022-09-22 Thread Nic Chautru
Adding function to create and configure queues for the device. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 391 +- 2 files changed, 391 insertions(+), 1 deletion(-) diff --git a/drivers/baseband/ac

[PATCH v5 08/14] baseband/acc: add LDPC processing functions

2022-09-22 Thread Nic Chautru
Adding LDPC encode and decode processing functions. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc_common.h | 84 ++ drivers/baseband/acc/rte_acc200_pmd.c | 1526 - 2 files changed, 1606 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc/acc_c

[PATCH v5 06/14] baseband/acc: add info get function for ACC200

2022-09-22 Thread Nic Chautru
Add support for info_get to allow to query the device. Null capability exposed. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc200_pmd.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 239 ++ 2 files changed, 240 insertions(+) diff --git a/drivers/baseband/

[PATCH v5 04/14] baseband/acc: introduce PMD for ACC200

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru This patch introduces stubs for device driver for the ACC200 integrated VRAN accelerator on SPR-EEC Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- MAINTAINERS | 3 + doc/guides/bbdevs/acc200.rst | 244

[PATCH v5 01/14] baseband/acc100: remove unused registers

2022-09-22 Thread Nic Chautru
Cleaning up the enum files to remove un-used registers definitions. No functionality change. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc100/acc100_pf_enum.h | 939 --- 1 file changed, 939 deletions(-) diff --git a/drivers/baseband/ac

[PATCH v5 05/14] baseband/acc: add HW register definitions for ACC200

2022-09-22 Thread Nic Chautru
Add registers list and structure to access the device. Signed-off-by: Nic Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc200_pf_enum.h | 108 + drivers/baseband/acc/acc200_pmd.h | 163 ++ drivers/baseband/acc/acc200_vf_enum.h | 83 +

[PATCH v5 03/14] baseband/acc: rename directory from acc100 to acc

2022-09-22 Thread Nic Chautru
Using a common directory for the ACC PMDs Signed-off-by: Nic Chautru --- MAINTAINERS | 2 +- app/test-bbdev/meson.build| 4 ++-- app/test-bbdev/test_bbdev_perf.c | 4 ++-- drivers/baseband/{acc100 => acc}/

From: Nic Chautru

2022-09-22 Thread Nic Chautru
v5: Updades based on Maxime review notably on commit 6 and 7/14. v4: Rebase to split the first commit and change the order within the series based on Maxime's feedback. No functional change. v3: Merge ACC100 and ACC200 PMDs in the same directory v2: Includes now code refactory to have common struc

[v1 19/19] net/mlx5/hws: Enable HWS

2022-09-22 Thread Alex Vesker
Replace stub implenation of HWS with mlx5dr code. Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/meson.build | 18 + drivers/net/mlx5/hws/mlx5dr.h | 594 + drivers/net/mlx5/hws/mlx5dr_internal.h | 93 drivers/net/mlx5/meson.build | 1

[v1 17/19] net/mlx5/hws: Add HWS action object

2022-09-22 Thread Alex Vesker
Action objects are used for executing different HW actions over packets. Each action contains the HW resources and parameters needed for action use over the HW when creating a rule. Signed-off-by: Erez Shitrit Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_action.c | 2217 +

[v1 18/19] net/mlx5/hws: Add HWS debug layer

2022-09-22 Thread Alex Vesker
The debug layer is used to generate a debug CSV file containing details of the context, table, matcher, rules and other useful debug information. Signed-off-by: Hamdan Igbaria Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_debug.c | 459 drivers/net/mlx5

[v1 16/19] net/mlx5/hws: Add HWS rule object

2022-09-22 Thread Alex Vesker
HWS rule objects reside under the matcher, each rule holds the configuration for the packet fields to match on and the set of actions to execute over the packet that has the requested fields. Rules can be created asynchronously in parallel over multiple queues to different matchers. Each rule is co

[v1 15/19] net/mlx5/hws: Add HWS matcher object

2022-09-22 Thread Alex Vesker
HWS matcher resides under the table object, each table can have multiple chained matcher with different attributes. Each matcher represents a combination of match and action templates. Each matcher can contain multiple configurations based on the templates. Packets are steered from the table to the

[v1 14/19] net/mlx5/hws: Add HWS table object

2022-09-22 Thread Alex Vesker
HWS table resides under the context object, each context can have multiple tables with different steering types RX/TX/FDB. The table is not only a logical object but it is also represented in the HW, packets can be steered to the table and from there to other tables. Signed-off-by: Erez Shitrit S

[v1 12/19] net/mlx5/hws: Add HWS definer layer

2022-09-22 Thread Alex Vesker
Definers are HW objects that are used for matching, rte items are translated to definers, each definer holds the fields and bit-masks used for HW flow matching. The definer layer is used for finding the most efficient definer for each set of items. In addition to definer creation we also calculate

[v1 13/19] net/mlx5/hws: Add HWS context object

2022-09-22 Thread Alex Vesker
Context is the first mlx5dr object created, all sub object: table, matcher, rule, action are created using the context. The context holds the capabilities and send queues used for configuring the offloads to the HW. Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_context.c | 222 +

[v1 11/19] net/mlx5/hws: Add HWS send layer

2022-09-22 Thread Alex Vesker
HWS configures flows to the HW using a QP, each WQE has the details of the flow we want to offload. The send layer allocates the resources needed to send the request to the HW as well as managing the queues, getting completions and handling failures. Signed-off-by: Mark Bloch Signed-off-by: Alex

[v1 10/19] net/mlx5/hws: Add HWS pool and buddy

2022-09-22 Thread Alex Vesker
HWS needs to manage different types of device memory in an efficient and quick way. For this, memory pools are being used. Signed-off-by: Erez Shitrit Signed-off-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_buddy.c | 201 + drivers/net/mlx5/hws/mlx5dr_buddy.h | 18 + drivers/net/mlx

[v1 09/19] net/mlx5/hws: Add HWS command layer

2022-09-22 Thread Alex Vesker
The command layer is used to communicate with the FW, query capabilities and allocate FW resources needed for HWS. Signed-off-by: Erez Shitrit Signed-off-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h| 609 ++- drivers/net/mlx5/hws/mlx5dr_cmd.c | 957

[v1 08/19] net/mlx5: Remove stub HWS support

2022-09-22 Thread Alex Vesker
This change brakes compilation, which is bad, but it will be fixed for the final submission. Signed-off-by: Alex Vesker --- drivers/net/mlx5/meson.build | 1 - drivers/net/mlx5/mlx5.h | 1 - drivers/net/mlx5/mlx5_dr.c | 383 - drivers/net/mlx5/mlx5_dr.h |

[v1 07/19] net/mlx5: Add additional glue functions for HWS

2022-09-22 Thread Alex Vesker
Add missing glue support for HWS mlx5dr layer. The new glue functions are needed for mlx5dv create matcher and action, which are used as the kernel root table as well as for capabilities query like device name and ports info. Signed-off-by: Alex Vesker --- drivers/common/mlx5/linux/mlx5_glue.c |

[v1 06/19] net/mlx5: provide the available tag registers

2022-09-22 Thread Alex Vesker
From: Bing Zhao The available tags that can be used by the application are fixed after startup. A global array is used to store the information and transfer the TAG item directly from the ID to the REG_C_x. Signed-off-by: Bing Zhao --- drivers/net/mlx5/linux/mlx5_os.c | 5 ++- drivers/net/ml

[v1 05/19] common/mlx5: query set capability of registers

2022-09-22 Thread Alex Vesker
From: Bing Zhao In the flow table capabilities, new fields are added to query the capability to set, add, copy to a REG_C_x. The set capability are queried and saved for the future usage. Signed-off-by: Bing Zhao --- drivers/common/mlx5/mlx5_devx_cmds.c | 30 +++ drivers/commo

[v1 04/19] net/mlx5: add port to metadata conversion

2022-09-22 Thread Alex Vesker
From: Dariusz Sosnowski This patch initial version of functions used to: - convert between ethdev port_id and internal tag/mask value, - convert between IB context and internal tag/mask value. Signed-off-by: Dariusz Sosnowski --- drivers/net/mlx5/linux/mlx5_os.c | 2 ++ drivers/net/mlx5/mlx5

[v1 02/19] net/mlx5: split flow item matcher and value translation

2022-09-22 Thread Alex Vesker
From: Suanming Mou As hardware steering mode translates flow matcher and value in two different stages, split the flow item matcher and value translation to help reuse the code. Signed-off-by: Suanming Mou --- drivers/net/mlx5/mlx5_flow.h| 32 + drivers/net/mlx5/mlx5_flow_dv.c | 2317 +++

[v1 03/19] net/mlx5: add hardware steering item translation function

2022-09-22 Thread Alex Vesker
From: Suanming Mou As hardware steering root table flows still work under FW steering mode. This commit provides shared item tranlsation code for hardware steering root table flows. Signed-off-by: Suanming Mou --- drivers/net/mlx5/mlx5_flow.h| 17 ++ drivers/net/mlx5/mlx5_flow_dv.c | 9

[v1 01/19] net/mlx5: split flow item translation

2022-09-22 Thread Alex Vesker
From: Suanming Mou In order to share the item translation code with hardware steering mode, this commit splits flow item translation code to a dedicate function. Signed-off-by: Suanming Mou --- drivers/net/mlx5/mlx5_flow_dv.c | 1915 --- 1 file changed, 979 insertio

[v1 00/19] net/mlx5: Add HW steering low level support

2022-09-22 Thread Alex Vesker
Mellanox ConnetX devices supports packet matching, packet modification and redirection. These functionalities are also referred to as flow-steering. To configure a steering rule, the rule is written to the device owned memory, this memory is accessed and cached by the device when processing a packe

RE: [PATCH v4 07/14] baseband/acc: add queue configuration for ACC200

2022-09-22 Thread Chautru, Nicolas
Hi Maxime, Will update this in the new version. Thanks. > -Original Message- > From: Maxime Coquelin > Sent: Thursday, September 22, 2022 7:30 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.

Dpdk Use Memif in secondary process

2022-09-22 Thread Mustafa BAKIRCIOGLU
Hello, I am using memif in our applications. In my case, I have to use memif in secondary process. I can use memif ( as a server ) in secondary process. Running primary process "./primaryProc --proc-type=primary --file-prefix=pmd1 --vdev=net_memif,role=server,socket=/tmp/memif.sock, socket-abstr

DPDK Release Status Meeting 2022-09-22

2022-09-22 Thread Mcnamara, John
Release status meeting minutes 2022-09-22 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Canonical [No] * Debian/Microsoft [No] * Intel * Marvell * Nvidia * Red Hat * Xilinx/AMD Release Dates - T

RE: [PATCH v4 06/14] baseband/acc: add info get function for ACC200

2022-09-22 Thread Chautru, Nicolas
Hi Maxime, OK, chanding this in v5. > -Original Message- > From: Maxime Coquelin > Sent: Thursday, September 22, 2022 7:12 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.com; > david.march...

RE: [EXT] [PATCH v9 0/7] bbdev changes for 22.11

2022-09-22 Thread Akhil Goyal
> v9: removing code snippet from documentation in 5/7 requested by Akhil. > Thanks. > v8: edit based on review by Akhil : typos, coding guidelines. No functional > change. Thanks > v7: couple of typos in documentation spotted by Maxime. Thanks. > v6: added one comment in commit 2/7 suggested by Max

RE: [PATCH v4 03/14] baseband/acc: rename directory from acc100 to acc

2022-09-22 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, September 22, 2022 6:18 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; hemant.agra...@nxp.com; > david.march...@redhat.com; step...@netw

[PATCH v9 7/7] bbdev: remove unnecessary if-check

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru Code clean up due to if-check not required Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- lib/bbdev/rte_bbdev_op.h | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_o

[PATCH v9 6/7] bbdev: add queue related warning and status information

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru This allows to expose more information with regards to any queue related failure and warning which cannot be supported in existing API. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 2 ++ lib/bbdev/rte_bbdev.c

[PATCH v9 5/7] bbdev: add new operation for FFT processing

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru Extension of bbdev operation to support FFT based operations. Signed-off-by: Nicolas Chautru Acked-by: Hemant Agrawal Acked-by: Maxime Coquelin --- doc/guides/prog_guide/bbdev.rst | 103 +++ lib/bbdev/rte_bbdev.c | 10 ++- lib/bbdev/rt

[PATCH v9 4/7] drivers/baseband: update PMDs to expose queue per operation

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru Add support in existing bbdev PMDs for the explicit number of queues and priority for each operation type configured on the device. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin Acked-by: Hemant Agrawal --- drivers/baseband/acc100/rte_acc100_pmd.c |

[PATCH v9 3/7] bbdev: add device info on queue topology

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru Adding more options in the API to expose the number of queues exposed and related priority. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- lib/bbdev/rte_bbdev.h | 4 1 file changed, 4 insertions(+) diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bb

[PATCH v9 2/7] bbdev: add device status info

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru Added device status information, so that the PMD can expose information related to the underlying accelerator device status. Minor order change in structure to fit into padding hole. Signed-off-by: Nicolas Chautru Acked-by: Mingshan Zhang Acked-by: Hemant Agrawal --- dr

[PATCH v9 1/7] bbdev: allow operation type enum for growth

2022-09-22 Thread Nic Chautru
From: Nicolas Chautru Updating the enum for rte_bbdev_op_type to allow to keep ABI compatible for enum insertion while adding padded maximum value for array need. Removing RTE_BBDEV_OP_TYPE_COUNT and instead exposing RTE_BBDEV_OP_TYPE_PADDED_MAX. Signed-off-by: Nicolas Chautru Acked-by: Maxime

[PATCH v9 0/7] bbdev changes for 22.11

2022-09-22 Thread Nic Chautru
v9: removing code snippet from documentation in 5/7 requested by Akhil. Thanks. v8: edit based on review by Akhil : typos, coding guidelines. No functional change. Thanks v7: couple of typos in documentation spotted by Maxime. Thanks. v6: added one comment in commit 2/7 suggested by Maxime. v5: u

RE: [EXT] [PATCH v7 5/7] bbdev: add new operation for FFT processing

2022-09-22 Thread Chautru, Nicolas
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Thursday, September 22, 2022 9:49 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net; hemant.agra...@nxp.com > Cc: maxime.coque...@redhat.com; t...@redhat.com; m...@ashroe.eu; > Richardson, Bruce ; > david.march...@r

Re: [PATCH v7 1/4] eal: add lcore poll busyness telemetry

2022-09-22 Thread Kevin Laatz
On 19/09/2022 11:19, Konstantin Ananyev wrote: Hi everyone, From: Anatoly Burakov Currently, there is no way to measure lcore poll busyness in a passive way, without any modifications to the application. This patch adds a new EAL API that will be able to passively track core polling busyness.

RE: [EXT] [PATCH v7 5/7] bbdev: add new operation for FFT processing

2022-09-22 Thread Akhil Goyal
Hi Nicolas, > > > > > +The structure passed for each FFT operation is given below, with > > > > > +the operation flags forming a bitmask in the ``op_flags`` field. > > > > > + > > > > > +.. code-block:: c > > > > > + > > > > > +struct rte_bbdev_op_fft { > > > > > +struct rte_bbdev_op_da

RE: [EXT] [PATCH v4] baseband/turbo_sw: remove Flexran SDK meson option

2022-09-22 Thread Akhil Goyal
Hi Thomas, Do you have more comments on this patch? > The related dependency to build the PMD based on the > SDK libraries is now enabled through pkgconfig. > > Signed-off-by: Nicolas Chautru > ---

RE: [EXT] [PATCH v7 5/7] bbdev: add new operation for FFT processing

2022-09-22 Thread Chautru, Nicolas
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Thursday, September 22, 2022 7:20 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net; hemant.agra...@nxp.com > Cc: maxime.coque...@redhat.com; t...@redhat.com; m...@ashroe.eu; > Richardson, Bruce ; > david.march...@r

RE: [PATCH] test/cryptodev: ensure structs are updated in unison

2022-09-22 Thread Akhil Goyal
> Subject: [PATCH] test/cryptodev: ensure structs are updated in unison > > The structs are directly indexed for generating standard vectors. Add > asserts to make sure structs are not updated in isolation. > > Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal Applied to dpdk-next-crypto Than

RE: [EXT] [dpdk-dev v2] crypto/openssl: fix HMAC output length

2022-09-22 Thread Akhil Goyal
> This patch sets the max length of dst in OpenSSL 3.0 lib EVP MAC final > routine to ensure enough space for the result. > > Fixes: 75adf1eae44f ("crypto/openssl: update HMAC routine with 3.0 EVP API") Cc: sta...@dpdk.org > > Signed-off-by: Kai Ji > Acked-by: Fan Zhang Applied to dpdk-next-cr

RE: [PATCH] cryptodev: add missing algorithm strings

2022-09-22 Thread Akhil Goyal
> Subject: [PATCH] cryptodev: add missing algorithm strings > > SHA3 family algorithms were missing in the array of algorithm strings. > > Fixes: 1df800f89518 ("crypto/ccp: support SHA3 family") > > Signed-off-by: Volodymyr Fialko > --- Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks

RE: [PATCH v3 1/5] mbuf: clarify meta data needed for Outbound Inline

2022-09-22 Thread Akhil Goyal
> Subject: [PATCH v3 1/5] mbuf: clarify meta data needed for Outbound Inline > > Clarify mbuf meta data needed for Outbound Inline processing. > Application needs to provide mbuf.l3_len and L3 type in > mbuf.ol_flags so that like tunnel mode using mbuf.l2_len, transport mode > can make use of l3_l

RE: [PATCH 2/3] security: support MACsec

2022-09-22 Thread Akhil Goyal
Hi txgbe/ixgbe maintainers, I see that MACsec is supported by ixgbe and txgbe PMDs. Could you please review this patch? Regards, Akhil > Subject: [PATCH 2/3] security: support MACsec > > Added support for MACsec in rte_security for offloading > MACsec Protocol operation to inline NIC device or

RE: [PATCH 1/3] net: add MACsec header

2022-09-22 Thread Akhil Goyal
Hi Olivier, Could you please review this patch? Apologies. I missed to add you earlier. Regards, Akhil > Subject: [PATCH 1/3] net: add MACsec header > > Added MACsec protocol header to be used for supporting > MACsec protocol offload in hardware or directly in the application. > > Signed-off-

Re: [PATCH v2] lib/eal/linux: update lcore-worker name due to high number of cores

2022-09-22 Thread Stephen Hemminger
On Thu, 22 Sep 2022 13:30:23 +0300 Abdullah Ömer Yamaç wrote: > In this patch we suggest a new name for lcore-worker. > In case of more than 99 logical cores, name is truncated > (length is restricted to 16 characters, including the > terminating null byte ('\0')) and it makes hard to follow thre

Re: [PATCH v5] usertools: rewrite pmdinfo

2022-09-22 Thread Ferruh Yigit
On 9/22/2022 12:58 PM, Robin Jarry wrote: dpdk-pmdinfo.py does not produce any parseable output. The -r/--raw flag merely prints multiple independent JSON lines which cannot be fed directly to any JSON parser. Moreover, the script complexity is rather high for such a simple task: extracting PMD_I

Re: [PATCH 00/10] port: implement output port non-blocking behavior

2022-09-22 Thread Thomas Monjalon
06/08/2022 00:00, Cristian Dumitrescu: > In case of blocking behavior, the output port retries sending the > packets that could not be sent successfully. The retry can take place > potentially forever in case the Ethernet device or the ring consumer > are down, which leads to deadlock. > > In case

RE: [PATCH v1] ethdev: add direction info when creating the transfer table

2022-09-22 Thread Ori Kam
Hi Ivan, > -Original Message- > From: Ivan Malov > Sent: Thursday, 22 September 2022 15:43 > > Hi Ori, > > On Thu, 22 Sep 2022, Ori Kam wrote: > > > Hi Andrew, > > > >> -Original Message- > >> From: Andrew Rybchenko > >> Sent: Thursday, 22 September 2022 10:39 > >> > >> On 9/2

Re: [PATCH v4 4/9] dts: add ssh pexpect library

2022-09-22 Thread Stanislaw Kardach
On Thu, Sep 22, 2022 at 09:41:40AM +, Juraj Linkeš wrote: > Hi Stanislaw, First a preface. I understand that the DTS rework is sponsored by someone and there may be people waiting with their labs for this job to be done. Everything that I'll write below is from a point of view of a developer wh

Re: [PATCH v4 07/14] baseband/acc: add queue configuration for ACC200

2022-09-22 Thread Maxime Coquelin
On 9/22/22 02:27, Nic Chautru wrote: Adding function to create and configure queues for the device. Signed-off-by: Nic Chautru --- drivers/baseband/acc/rte_acc200_pmd.c | 373 +- 1 file changed, 372 insertions(+), 1 deletion(-) diff --git a/drivers/baseban

RE: [EXT] [PATCH v7 5/7] bbdev: add new operation for FFT processing

2022-09-22 Thread Akhil Goyal
> Hi Akhil, > > > -Original Message- > > From: Akhil Goyal > > > > > Extension of bbdev operation to support FFT based operations. > > > > > > Signed-off-by: Nicolas Chautru > > > Acked-by: Hemant Agrawal > > > Acked-by: Maxime Coquelin > > > --- > > > doc/guides/prog_guide/bbdev.rst

Re: [PATCH v4 06/14] baseband/acc: add info get function for ACC200

2022-09-22 Thread Maxime Coquelin
On 9/22/22 02:27, Nic Chautru wrote: Add support for info_get to allow to query the device. Null capability exposed. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc200_pmd.h | 1 + drivers/baseband/acc/rte_acc200_pmd.c | 239 ++ 2 files chang

RE: [PATCH v2 1/6] cryptodev: rework session framework

2022-09-22 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Akhil Goyal > Sent: Wednesday, September 21, 2022 4:03 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; > hemant.agra...@nxp.com; vattun...@marvell.com; > ferruh.yi...@xilinx.com; andrew.rybche...@oktetlabs.ru; > ko

RE: [PATCH v2 2/6] crypto/scheduler: use unified session

2022-09-22 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Akhil Goyal > Sent: Wednesday, September 21, 2022 4:03 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; > hemant.agra...@nxp.com; vattun...@marvell.com; > ferruh.yi...@xilinx.com; andrew.rybche...@oktetlabs.ru; > ko

Re: [PATCH v4 05/14] baseband/acc: add HW register definitions for ACC200

2022-09-22 Thread Maxime Coquelin
On 9/22/22 02:27, Nic Chautru wrote: Add registers list and structure to access the device. Signed-off-by: Nic Chautru --- drivers/baseband/acc/acc200_pf_enum.h | 108 ++ drivers/baseband/acc/acc200_pmd.h | 163 ++ drivers/baseband/

Re: [PATCH v4 04/14] baseband/acc: introduce PMD for ACC200

2022-09-22 Thread Maxime Coquelin
On 9/22/22 02:27, Nic Chautru wrote: This patch introduce stubs for device driver for the ACC200 introduces* device driver stubs for... integrated VRAN accelerator on SPR-EEC Signed-off-by: Nic Chautru --- MAINTAINERS | 3 + doc/guides/bbdevs/acc200.rst

RE: [PATCH v2 5/6] drivers/crypto: support security session get size op

2022-09-22 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Akhil Goyal > Sent: Wednesday, September 21, 2022 4:03 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; > hemant.agra...@nxp.com; vattun...@marvell.com; > ferruh.yi...@xilinx.com; andrew.rybche...@oktetlabs.ru; > ko

RE: [PATCH v2 3/6] cryptodev: hide sym session structure

2022-09-22 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Akhil Goyal > Sent: Wednesday, September 21, 2022 4:03 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; > hemant.agra...@nxp.com; vattun...@marvell.com; > ferruh.yi...@xilinx.com; andrew.rybche...@oktetlabs.ru; > ko

RE: [PATCH] examples/vhost: fix use after free

2022-09-22 Thread Xia, Chenbo
> -Original Message- > From: Xia, Chenbo > Sent: Friday, July 15, 2022 1:55 PM > To: Ma, WenwuX ; maxime.coque...@redhat.com; > dev@dpdk.org > Cc: Hu, Jiayu ; Wang, Yinan ; He, > Xingguang ; Ling, WeiX ; Wang, > YuanX ; sta...@dpdk.org > Subject: RE: [PATCH] examples/vhost: fix use after f

RE: [PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function

2022-09-22 Thread Morten Brørup
> From: Andrew Rybchenko [mailto:andrew.rybche...@oktetlabs.ru] > Sent: Monday, 12 September 2022 16.47 > > On 8/18/22 15:23, Ferruh Yigit wrote: > > On 8/18/2022 10:37 AM, Morten Brørup wrote: > >> Applications may use rte_eth_rx_queue_count() in the RX stage of the > >> dataplane, so only check

Re: [PATCH v3] eal: Pointer alignment check improvements

2022-09-22 Thread Bruce Richardson
On Thu, Sep 22, 2022 at 03:27:30PM +0200, Morten Brørup wrote: > Checking a const pointer for alignment would emit a warning about the > const qualifier being discarded. > > No need to calculate the aligned pointer; just check the last bits of the > pointer. > > v3: > - Make the uintptr_t const t

[PATCH v3] eal: Pointer alignment check improvements

2022-09-22 Thread Morten Brørup
Checking a const pointer for alignment would emit a warning about the const qualifier being discarded. No need to calculate the aligned pointer; just check the last bits of the pointer. v3: - Make the uintptr_t const to avoid potential future warnings. (Bruce) v2: - Remove compiler attribute ((co

RE: [PATCH] vhost: use another variable to store vhost msg result code

2022-09-22 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Monday, July 18, 2022 10:07 AM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Ma, > WenwuX > Subject: [PATCH] vhost: use another variable to store vhost msg result > code Patch looks good. I suggest to use title: vhost: u

Re: [PATCH v4 03/14] baseband/acc: rename directory from acc100 to acc

2022-09-22 Thread Maxime Coquelin
On 9/22/22 02:27, Nic Chautru wrote: Using a common directory for the ACC PMDs Signed-off-by: Nic Chautru --- MAINTAINERS |2 +- app/test-bbdev/meson.build |4 +- app/test-bbdev/test_bbdev_perf.c |4 +- drivers/b

[PATCH] net/nfp: fix memory leak for receive function

2022-09-22 Thread Niklas Söderlund
From: Long Wu nfp_net_recv_pkts() should not return a value that less than 0 and the inappropriate return value in receive loop also causes the memory leak. Modify code to avoid return a value less than 0. Furthermore, When nfp_net_recv_pkts() break out from the receive loop because of packet pro

Re: [PATCH v4 01/14] baseband/acc100: remove unused registers

2022-09-22 Thread Maxime Coquelin
On 9/22/22 02:27, Nic Chautru wrote: Cleaning up the enum files to remove un-used registers definitions. No functionality change. Signed-off-by: Nic Chautru --- drivers/baseband/acc100/acc100_pf_enum.h | 939 --- 1 file changed, 939 deletions(-) diff --git a/d

  1   2   >