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
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
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
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
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
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
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_
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
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
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
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(+)
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
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 |
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 ++
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
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
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
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
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 ++
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 +
在 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?
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
> 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
> 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
> 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 ++--
> 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
> 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
> 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 ++
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-
> 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
> 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 ++--
> 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
> 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
> 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 ++
> 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
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-
> 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
> 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
> 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 ++--
> 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
> 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
> 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 ++
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-
43 matches
Mail list logo