RE: [PATCH] eal: add worker threads cleanup in rte_eal_cleanup()

2025-01-12 Thread Gagandeep Singh
Hi, > -Original Message- > From: Stephen Hemminger > Sent: Friday, January 10, 2025 10:49 PM > To: Gagandeep Singh > Cc: dev@dpdk.org > Subject: Re: [PATCH] eal: add worker threads cleanup in rte_eal_cleanup() > > On Fri, 10 Jan 2025 12:17:17 +0530 > Gagandeep Singh wrote: > > > This

Re: [PATCH v14] dts: port over queue start/stop suite

2025-01-12 Thread Patrick Robb
On Mon, Jan 6, 2025 at 2:36 PM Dean Marx wrote: > > +@func_test > +def test_rx_queue_deferred_start(self) -> None: > +"""Rx queue deferred start stop test. > + > +Steps: > +Launch testpmd, enable deferred start on Rx queue 0 port 0. > +Stop Rx queue

Re: [v24,01/13] config: add zsda device number

2025-01-12 Thread Hanxiao Li
Hi maintainers, There is an error in the patch, that is "The requested resource was not found on this server". And I have no idea about the cause of the problem and how to solve it. So could you please take a moment to look at this issue and give me some advices? Thanks, Hanxiao Li

[PATCH v1 0/2] ethdev: fix skip valid port in probing callback

2025-01-12 Thread Huisong Li
After we check the validity of the port in eth_event_callback() of testpmd like patch 1/2, testpmd attach one port and doesn't update total port number maintained in testmd. See the following log: --- testpmd> testpmd> port attach :7d:00.1 Attaching a new port... testpmd> testpmd> port start al

[PATCH v1 2/2] ethdev: fix skip valid port in probing callback

2025-01-12 Thread Huisong Li
The event callback in application may use the macro RTE_ETH_FOREACH_DEV to iterate over all enabled ports to do something(like, verifying the port id validity) when receive a probing event. If the ethdev state of a port is not RTE_ETH_DEV_UNUSED, this port will be considered as a valid port. Howev

[PATCH v1 1/2] app/testpmd: check the validity of the port

2025-01-12 Thread Huisong Li
This patch checks the validity of port id for all events in 'eth_event_callback()'. Signed-off-by: Huisong Li Acked-by: Aman Singh Acked-by: Chengwen Feng --- app/test-pmd/testpmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/t

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

2025-01-12 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| 187 +++ drivers/common/zsda/zsda_

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

2025-01-12 Thread Hanxiao Li
v24: - Try to resolve the issue in v23 by sending all patches at once v23: - modify funcitons name to move the verb to the end - move the qp_setup and qp_release calls in same patch - make the queue setup APIs common with one function. - Fix some code in original patch. v22: - modify misspelled e

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

2025-01-12 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 | 106 drivers/common/zsda/zsda_qp.h | 13 +- drivers/common/zsda/zsda_qp_common.c | 72 drivers/common/zsda

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

2025-01-12 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 v24 08/13] compress/zsda: add zsda compressdev stats ops

2025-01-12 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 | 24 +- 3 files changed, 101 insertions(+)

[PATCH v24 13/13] compress/zsda: add zsda compressdev capabilities

2025-01-12 Thread Hanxiao Li
Add zsda compressdev capabilities Signed-off-by: Hanxiao Li --- doc/guides/compressdevs/features/zsda.ini | 9 + doc/guides/compressdevs/zsda.rst | 23 +++ doc/guides/rel_notes/release_25_03.rst| 7 +++ drivers/compress/zsda/zsda_comp_pmd.c | 16

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

2025-01-12 Thread Hanxiao Li
Add zsda compressdev qp interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_qp.c | 267 ++ drivers/common/zsda/zsda_qp.h | 84 drivers/common/zsda/zsda_qp_common.h | 40 drivers/compress/zsda/zsda_comp_pmd.c |

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

2025-01-12 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 | 171 ++

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

2025-01-12 Thread Hanxiao Li
add zsda compressdev dev interface implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c | 9 +- drivers/common/zsda/zsda_qp_common.c | 57 +++ drivers/common/zsda/zsda_qp_common.h | 37 +++ drivers/co

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

2025-01-12 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| 307 +++ drivers/common/zsda/zsda_qp.h| 48 + drivers/common/zsda/zsda_qp_common.h | 37 3 files cha

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

2025-01-12 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 3734db6bdc..86897de75e 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -119,6 +119,10 @@ #defin

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

2025-01-12 Thread Hanxiao Li
Add zsda compressdev xform interface implementation. Signed-off-by: Hanxiao Li --- drivers/compress/zsda/zsda_comp_pmd.c | 54 ++- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/drivers/compress/zsda/zsda_comp_pmd.c b/drivers/compress/zsda/zsda_comp_pmd.c

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

2025-01-12 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| 187 +++ drivers/common/zsda/zsda_device.h| 54 ++

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

2025-01-12 Thread Hanxiao Li
Add zxdh logging implementation. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 1 + drivers/common/zsda/zsda_device.c| 22 +++--- drivers/common/zsda/zsda_logs.c | 19 +++ drivers/common/zsda/zsda_logs.h | 27 +

Re: [PATCH RESEND v7 2/5] ethdev: fix skip valid port in probing callback

2025-01-12 Thread lihuisong (C)
在 2025/1/11 1:54, Stephen Hemminger 写道: On Fri, 10 Jan 2025 11:21:26 +0800 "lihuisong (C)" wrote: Hi Stephen, Can you take a look at my below reply and reconsider this patch? /Huisong 在 2024/12/10 9:50, lihuisong (C) 写道: Hi Ferruh, Stephen and Thomas, Can you take a look at this patch?

[DPDK/DTS Bug 1614] DTS: Modprobe vfio and vfio-pci at testrun setup

2025-01-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1614 Bug ID: 1614 Summary: DTS: Modprobe vfio and vfio-pci at testrun setup Product: DPDK Version: 25.03 Hardware: All OS: Linux Status: UNCONFIRMED Severity: minor

[PATCH v3 1/6] raw/ifpga: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/raw/ifpga/base/opae_intel_max10.c | 5

[PATCH v3 4/6] net/failsafe: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/failsafe/failsafe.c | 6 +- 1 file

[PATCH v3 5/6] net/hinic: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/hinic/base/hinic_compat.h | 8 ++--

[PATCH v3 6/6] lib/vhost: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- lib/vhost/socket.c | 14 ++ 1 file cha

[PATCH v3 3/6] common/cnxk: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/common/cnxk/roc_bphy_cgx.c | 5 + 1 fi

[PATCH v3 2/6] net/bnxt: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/bnxt/bnxt_ethdev.c | 40 ++

[PATCH v3 0/6] remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
Hello, This series addresses Bugzilla ID 1586; the man says > pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Meaning, the check around around pthread_mutex_init() is needless. Thank you, Link: https://man7.org/linux/man-

[PATCH v2 6/6] lib/vhost: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- lib/vhost/socket.c | 14 ++ 1 file cha

[PATCH v2 5/6] net/hinic: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/hinic/base/hinic_compat.h | 8 ++--

[PATCH v2 4/6] net/failsafe: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/failsafe/failsafe.c | 6 +- 1 file

[PATCH v2 3/6] common/cnxk: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/common/cnxk/roc_bphy_cgx.c | 5 + 1 fi

[PATCH v2 2/6] net/bnxt: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/bnxt/bnxt_ethdev.c | 40 ++

[PATCH v2 1/6] raw/ifpga: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/raw/ifpga/base/opae_intel_max10.c | 5

[PATCH v2 0/6] remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
Hello, This series addresses Bugzilla ID 1586; the man says > pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Meaning, the check around around pthread_mutex_init() is needless. Thank you, Link: https://man7.org/linux/man-

[PATCH 4/6] net/failsafe: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/failsafe/failsafe.c | 6 +- 1 file

[PATCH 6/6] lib/vhost: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- lib/vhost/socket.c | 14 ++ 1 file cha

[PATCH 5/6] net/hinic: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/hinic/base/hinic_compat.h | 8 ++--

[PATCH 3/6] common/cnxk: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/common/cnxk/roc_bphy_cgx.c | 5 + 1 fi

[PATCH 1/6] raw/ifpga: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/raw/ifpga/base/opae_intel_max10.c | 5

[PATCH 2/6] net/bnxt: remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
> pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html Bugzilla ID: 1586 Signed-off-by: Ariel Otilibili --- drivers/net/bnxt/bnxt_ethdev.c | 40 ++

[PATCH 0/6] remove check around pthread_mutex_init()

2025-01-12 Thread Ariel Otilibili
Hello, This series addresses Bugzilla ID 1586; the man says > pthread_mutex_init always returns 0. The other mutex functions > return 0 on success and a non-zero error code on error. Meaning, the check around around pthread_mutex_init() is needless. Thank you, Link: https://man7.org/linux/man-