[PATCH v20 00/13] drivers/zsda: introduce zsda drivers

2024-11-09 Thread Hanxiao Li
v20 - add release note which was forgot in last version v19: - delete cryptodev drivers and prepare to submit it next time. - only submit compressdev driver this time. - resplit the patches. v18: - add code in drivers/meson.build to compile zsda drivers. - make every patch compile without any war

[PATCH v20 01/13] config: add zsda device number

2024-11-09 Thread Hanxiao Li
Add the number of zsda devices. Signed-off-by: Hanxiao Li --- config/rte_config.h | 4 1 file changed, 4 insertions(+) diff --git a/config/rte_config.h b/config/rte_config.h index dd7bb0d35b..e1e85b3291 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -117,6 +117,10 @@ #defin

[PATCH v20 05/13] common/zsda: add definition and use of msg chan.

2024-11-09 Thread Hanxiao Li
Add msg chan functions and the use to get hardware information or operate hardware. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c| 309 +++ drivers/common/zsda/zsda_qp.h| 91 drivers/common/zsda/zsda_qp_common.h | 1 - 3 files cha

[PATCH v20 04/13] common/zsda: add functions to operate hardware queue

2024-11-09 Thread Hanxiao Li
Add functions to operate hardware queue, such as queue start,stop and clear. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c| 7 + drivers/common/zsda/zsda_qp.c| 196 +++ drivers/common/zsda/zsda_

[PATCH v20 07/13] compress/zsda: add zsda compressdev dev ops

2024-11-09 Thread Hanxiao Li
add zsda compressdev dev interface implementation. Signed-off-by: Hanxiao Li --- doc/guides/compressdevs/zsda.rst | 23 +--- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_qp_common.c | 57 ++ drivers/common/zsda/zsda_qp_common.h | 36 +++ drivers/c

[PATCH v20 02/13] common/zsda: add zsdadev driver

2024-11-09 Thread Hanxiao Li
Add basic zsdadev init and register PCI probe functions Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 + drivers/common/zsda/meson.build | 13 ++ drivers/common/zsda/zsda_device.c | 191 ++ drivers/common/zsda/zsda_device.h | 53 +

[PATCH v20 06/13] compress/zsda: add zsda compressdev driver skeleton

2024-11-09 Thread Hanxiao Li
Add zsda compressdev driver interface skeleton Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 + doc/guides/compressdevs/features/zsda.ini | 6 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/zsda.rst | 216 ++

[PATCH v20 09/13] compress/zsda: add zsda compressdev xform ops

2024-11-09 Thread Hanxiao Li
Add zsda compressdev xform interface implementation. Signed-off-by: Hanxiao Li --- drivers/compress/zsda/zsda_comp_pmd.c | 55 +-- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/drivers/compress/zsda/zsda_comp_pmd.c b/drivers/compress/zsda/zsda_comp_pmd.c

[PATCH v20 10/13] compress/zsda: add zsda compressdev qp ops

2024-11-09 Thread Hanxiao Li
Add zsda compressdev qp interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_device.c | 1 - drivers/common/zsda/zsda_device.h | 3 +- drivers/common/zsda/zsda_qp.c | 248 ++ drivers/common/zsda/zsda_qp.h | 122 +

[PATCH v20 11/13] compress/zsda: add zsda compressdev enqueue datapath

2024-11-09 Thread Hanxiao Li
Add zsda compressdev enqueue datapath. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/common/zsda/zsda_qp.c | 107 drivers/common/zsda/zsda_qp.h | 23 ++- drivers/common/zsda/zsda_qp_common.c | 72 drivers/common/zsd

[PATCH v20 13/13] compress/zsda: add zsda cryptodev capabilities

2024-11-09 Thread Hanxiao Li
Add zsda cryptodev capabilities. Signed-off-by: Hanxiao Li --- doc/guides/compressdevs/features/zsda.ini | 9 + doc/guides/compressdevs/zsda.rst | 23 +++ doc/guides/rel_notes/release_24_11.rst| 7 +++ drivers/compress/zsda/zsda_comp_pmd.c | 15

[PATCH v20 12/13] compress/zsda: add zsda compressdev dequeue datapath

2024-11-09 Thread Hanxiao Li
Add zsda compressdev dequeue datapath. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 55 + drivers/common/zsda/zsda_qp.h | 1 + drivers/common/zsda/zsda_qp_common.h | 4 + drivers/compress/zsda/zsda_comp.c | 155 ++ driver

[PATCH v19 00/13] drivers/zsda: introduce zsda drivers

2024-11-09 Thread Hanxiao Li
v19: - delete cryptodev drivers and prepare to submit it next time. - only submit compressdev driver this time. - resplit the patches. v18: - add code in drivers/meson.build to compile zsda drivers. - make every patch compile without any warnings or errors. v17: - fix some spelling errors v16: -

[PATCH v19 01/13] config: add zsda device number

2024-11-09 Thread Hanxiao Li
Add the number of zsda devices. Signed-off-by: Hanxiao Li --- config/rte_config.h | 4 1 file changed, 4 insertions(+) diff --git a/config/rte_config.h b/config/rte_config.h index dd7bb0d35b..e1e85b3291 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -117,6 +117,10 @@ #defin

[PATCH v19 04/13] common/zsda: add functions to operate hardware queue

2024-11-09 Thread Hanxiao Li
Add functions to operate hardware queue, such as queue start,stop and clear. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c| 7 + drivers/common/zsda/zsda_qp.c| 196 +++ drivers/common/zsda/zsda_

[PATCH v19 12/13] compress/zsda: add zsda compressdev dequeue datapath

2024-11-09 Thread Hanxiao Li
Add zsda compressdev dequeue datapath. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 55 + drivers/common/zsda/zsda_qp.h | 1 + drivers/common/zsda/zsda_qp_common.h | 4 + drivers/compress/zsda/zsda_comp.c | 155 ++ driver

[PATCH v19 13/13] compress/zsda: add zsda cryptodev capabilities

2024-11-09 Thread Hanxiao Li
Add zsda cryptodev capabilities. Signed-off-by: Hanxiao Li --- doc/guides/compressdevs/features/zsda.ini | 9 + doc/guides/compressdevs/zsda.rst | 46 +-- drivers/compress/zsda/zsda_comp_pmd.c | 15 +++- 3 files changed, 49 insertions(+), 21 deletions(-)

[PATCH v19 08/13] compress/zsda: add zsda compressdev stats ops

2024-11-09 Thread Hanxiao Li
Add zsda compressdev stats interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp_common.c | 63 +++ drivers/common/zsda/zsda_qp_common.h | 16 +++ drivers/compress/zsda/zsda_comp_pmd.c | 25 ++- 3 files changed, 102 insertions(+

[PATCH v19 07/13] compress/zsda: add zsda compressdev dev ops

2024-11-09 Thread Hanxiao Li
add zsda compressdev dev interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_qp_common.c | 57 ++ drivers/common/zsda/zsda_qp_common.h | 36 +++ drivers/compress/zsda/zsda_comp_pmd.c | 144 +++

[PATCH v19 03/13] common/zsda: add logging macros

2024-11-09 Thread Hanxiao Li
Add zxdh logging implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c | 23 --- drivers/common/zsda/zsda_logs.c | 19 +++ drivers/common/zsda/zsda_logs.h | 27 +++

[PATCH v19 02/13] common/zsda: add zsdadev driver

2024-11-09 Thread Hanxiao Li
Add basic zsdadev init and register PCI probe functions Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 + drivers/common/zsda/meson.build | 13 ++ drivers/common/zsda/zsda_device.c | 191 ++ drivers/common/zsda/zsda_device.h | 53 +

[PATCH v19 10/13] compress/zsda: add zsda compressdev qp ops

2024-11-09 Thread Hanxiao Li
Add zsda compressdev qp interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_device.c | 1 - drivers/common/zsda/zsda_device.h | 3 +- drivers/common/zsda/zsda_qp.c | 248 ++ drivers/common/zsda/zsda_qp.h | 122 +

[PATCH v19 09/13] compress/zsda: add zsda compressdev xform ops

2024-11-09 Thread Hanxiao Li
Add zsda compressdev xform interface implementation. Signed-off-by: Hanxiao Li --- drivers/compress/zsda/zsda_comp_pmd.c | 55 +-- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/drivers/compress/zsda/zsda_comp_pmd.c b/drivers/compress/zsda/zsda_comp_pmd.c

[PATCH v19 06/13] compress/zsda: add zsda compressdev driver skeleton

2024-11-09 Thread Hanxiao Li
Add zsda compressdev driver interface skeleton Signed-off-by: Hanxiao Li --- MAINTAINERS | 3 + doc/guides/compressdevs/features/zsda.ini | 6 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/zsda.rst | 216 ++

[PATCH v19 11/13] compress/zsda: add zsda compressdev enqueue datapath

2024-11-09 Thread Hanxiao Li
Add zsda compressdev enqueue datapath. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/common/zsda/zsda_qp.c | 107 drivers/common/zsda/zsda_qp.h | 23 ++- drivers/common/zsda/zsda_qp_common.c | 72 drivers/common/zsd

[PATCH v19 05/13] common/zsda: add definition and use of msg chan.

2024-11-09 Thread Hanxiao Li
Add msg chan functions and the use to get hardware information or operate hardware. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c| 309 +++ drivers/common/zsda/zsda_qp.h| 91 drivers/common/zsda/zsda_qp_common.h | 1 - 3 files cha

[PATCH v20 08/13] compress/zsda: add zsda compressdev stats ops

2024-11-09 Thread Hanxiao Li
Add zsda compressdev stats interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp_common.c | 63 +++ drivers/common/zsda/zsda_qp_common.h | 16 +++ drivers/compress/zsda/zsda_comp_pmd.c | 25 ++- 3 files changed, 102 insertions(+

Re: [v5 00/42] DPAA2 specific patches

2024-11-09 Thread Thomas Monjalon
23/10/2024 13:59, vanshika.shu...@nxp.com: > Apeksha Gupta (2): > net/dpaa2: add proper MTU debugging print > net/dpaa2: store drop priority in mbuf > > Brick Yang (1): > net/dpaa2: update DPNI link status method > > Gagandeep Singh (3): > bus/fslmc: upgrade with MC version 10.37 > net/

Re: [v5 06/42] bus/fslmc: add close API to close DPAA2 device

2024-11-09 Thread Thomas Monjalon
23/10/2024 13:59, vanshika.shu...@nxp.com: > +static int > +rte_fslmc_close(void) > +{ > + int ret = 0; > + > + ret = fslmc_vfio_close_group(); > + if (ret) > + DPAA2_BUS_ERR("Unable to close devices %d", ret); > + > + return 0; > +} You should not try to clos

Re: [PATCH] mbuf: add transport mode ESP packet type

2024-11-09 Thread Thomas Monjalon
15/10/2024 16:40, Dariusz Sosnowski: > > -Original Message- > > From: Alexander Kozyrev > > Sent: Thursday, August 22, 2024 17:32 > > To: dev@dpdk.org > > Cc: Dariusz Sosnowski ; Ori Kam ; > > nithind1...@gmail.com; olivier.m...@6wind.com; NBU-Contact-Thomas > > Monjalon (EXTERNAL) ; Matan

Re: [v7 02/15] dma/dpaa2: refactor driver code

2024-11-09 Thread Thomas Monjalon
09/11/2024 14:37, Thomas Monjalon: > 15/10/2024 09:13, Gagandeep Singh: > > diff --git a/drivers/dma/dpaa2/version.map b/drivers/dma/dpaa2/version.map > > deleted file mode 100644 > > index 43e8b2d5c5..00 > > --- a/drivers/dma/dpaa2/version.map > > +++ /dev/null > > @@ -1,13 +0,0 @@ > > -DP

Re: [v7 08/15] dma/dpaa: refactor driver

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:13, Gagandeep Singh: > +static inline int > +ilog2_qthld(uint32_t q_thld) > { > - csgf->cfg = rte_cpu_to_le_32(QDMA_SG_FIN | (len & QDMA_SG_LEN_MASK)); > + return (ilog2(q_thld) - ilog2(16)); > } error: unused function 'ilog2_qthld' You must make sure each patch is co

Re: [v7 15/15] bus/dpaa: add port bmi stats

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:14, Gagandeep Singh: > From: Hemant Agrawal > > Add BMI statistics and fixing the existing extended > statistics > > Signed-off-by: Hemant Agrawal > Signed-off-by: Gagandeep Singh This patch was part of another series already merged. Skipping

Re: [v7 11/15] dma/dpaa: add workaround for ERR050757

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:13, Gagandeep Singh: > From: Jun Yang > > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -488,7 +488,8 @@ soc_dpaa = { > ['RTE_MACHINE', '"dpaa"'], > ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false], > ['RTE_MAX_LCORE', 16], > -['RTE_MAX

[PATCH v20 03/13] common/zsda: add logging macros

2024-11-09 Thread Hanxiao Li
Add zxdh logging implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c | 23 --- drivers/common/zsda/zsda_logs.c | 19 +++ drivers/common/zsda/zsda_logs.h | 27 +++

Re: [PATCH] net/mlx5: add support for transport mode ESP ptype

2024-11-09 Thread Thomas Monjalon
> > Implement matching on RTE_PTYPE_L4_ESP and RTE_PTYPE_INNER_L4_ESP for IP > > Encapsulating Security Payload (ESP) in transport mode. > > > > Signed-off-by: Alexander Kozyrev > > Acked-by: Dariusz Sosnowski Applied, thanks.

Re: [v5 14/42] bus/fslmc: enhance MC VFIO multiprocess support

2024-11-09 Thread Thomas Monjalon
23/10/2024 13:59, vanshika.shu...@nxp.com: > --- a/drivers/bus/fslmc/version.map > +++ b/drivers/bus/fslmc/version.map > @@ -118,6 +118,7 @@ INTERNAL { > rte_fslmc_get_device_count; > rte_fslmc_object_register; > rte_global_active_dqs_list; > + rte_fslmc_vfio_mem_dmaun

Re: [v5 23/42] net/dpaa2: flow API refactor

2024-11-09 Thread Thomas Monjalon
23/10/2024 13:59, vanshika.shu...@nxp.com: > +static inline int > +dpaa2_fs_action_supported(enum rte_flow_action_type action) > +{ > + int i; > + int action_num = sizeof(dpaa2_supported_fs_action_type) / > + sizeof(enum rte_flow_action_type); > > - curr =

Re: [v7 02/15] dma/dpaa2: refactor driver code

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:13, Gagandeep Singh: > diff --git a/drivers/dma/dpaa2/version.map b/drivers/dma/dpaa2/version.map > deleted file mode 100644 > index 43e8b2d5c5..00 > --- a/drivers/dma/dpaa2/version.map > +++ /dev/null > @@ -1,13 +0,0 @@ > -DPDK_25 { > - local: *; > -}; > - > -EXPERIMENT

Re: [v7 07/15] dma/dpaa2: move the qdma header to common place

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:13, Gagandeep Singh: > --- a/doc/api/doxy-api.conf.in > +++ b/doc/api/doxy-api.conf.in > @@ -8,7 +8,7 @@ INPUT = @TOPDIR@/doc/api/doxy-api-index.md \ >@TOPDIR@/drivers/bus/vdev \ >@TOPDIR@/drivers/crypto/cnxk \

Re: [v7 02/15] dma/dpaa2: refactor driver code

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:13, Gagandeep Singh: > +Device Arguments > + > +* Use dev arg option ``fle_pre_populate=1`` to pre-populate all > + DMA descriptors with pre-initialized values. > + usage example: ``fslmc:dpdmai.1,fle_pre_populate=1`` > +* Use dev arg option ``desc_debug=1`` to enabl

Re: [v7 00/15] NXP DMA driver fixes and Enhancements

2024-11-09 Thread Thomas Monjalon
15/10/2024 09:13, Gagandeep Singh: > Jun Yang (14): > dma/dpaa2: configure route by port by PCIe port param > dma/dpaa2: refactor driver code > bus/fslmc: enhance the qbman dq storage logic > dma/dpaa2: add short FD support > dma/dpaa2: limit the max descriptor number > dma/dpaa2: chang

Re: [PATCH v20 00/13] drivers/zsda: introduce zsda drivers

2024-11-09 Thread Thomas Monjalon
09/11/2024 11:36, Hanxiao Li: > v20 > - add release note which was forgot in last version Please when using --in-reply-to, you should target the very first version, so it avoid extra indents in mail clients, thanks.