fg->vfio_enabled = 0` and
`default_vfio_cfg->vfio_container_fd = -1`, socket error will
be set in DPDK primary process when it sync this info to
the secondary process.
This patch use to skip this kind of useless detection for this
scenario.
Acked-by: Anatoly Burakov
Signed-off-by: Yang Ming
---
fg->vfio_enabled = 0` and
`default_vfio_cfg->vfio_container_fd = -1`, socket error will
be set in DPDK primary process when it sync this info to
the secondary process.
This patch use to skip this kind of useless detection for this
scenario.
Acked-by: Anatoly Burakov
Signed-off-by: Yang Ming
---
fg->vfio_enabled = 0` and
`default_vfio_cfg->vfio_container_fd = -1`, socket error will
be set in DPDK primary process when it sync this info to
the secondary process.
This patch use to skip this kind of useless detection for this
scenario.
Acked-by: Anatoly Burakov
Signed-off-by: Yang Ming
---
Signed-off-by: Yang Ming
---
.mailmap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index d8439b79ce..e63e1af4fa 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1734,7 +1734,7 @@ Yahui Cao
Yajun Wu
Yangchao Zhou
Yanglong Wu
-Yang Ming
+Yang Ming
Yang
Hi,
On 2025/4/7 13:25, Yang Ming wrote:
From: myang
When a secondary process tries to release a queue pair (QP) that
does not belong to it, error logs occur:
CRYPTODEV: ipsec_mb_ipc_request() line 373: Unable to release
qp_id=0
EAL: Message data is too long
EAL: Fail to handle message
On 2025/3/21 21:27, Yang Ming wrote:
The directory /var/log may not be writable in a container's
read-only mode. To address this issue, use the DPDK runtime
directory as an alternative when /var/log is not writable.
Cc: bi...@nvidia.com
Cc: dsosnow...@nvidia.com
Cc: step...@networkplumbe
From: myang
When a secondary process tries to release a queue pair (QP) that
does not belong to it, error logs occur:
CRYPTODEV: ipsec_mb_ipc_request() line 373: Unable to release
qp_id=0
EAL: Message data is too long
EAL: Fail to handle message: ipsec_mb_mp_msg
EAL: Fail to recv reply for reques
send_msg->sendmsg(mp_fd, &msgh, 0);
Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Cc: kevin.la...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Yang Ming
---
lib/eal/freebsd/eal.c | 2 +-
lib/eal/linux/eal.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --g
On 2025/3/27 17:28, Yang Ming wrote:
On 2025/3/17 21:56, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when
clicking links or opening attachments. See http://nok.it/nsb for
additional information.
On Fri, 14 Mar 2025 18:36:38 +0800
Yang Ming wrote
On 2025/3/27 16:14, David Marchand wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
Hello,
On Thu, Mar 27, 2025 at 9:02 AM Yang Ming wrote:
On 2025/3/13 23:37, Stephen Hemminger
On 2025/3/13 23:37, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
On Thu, 13 Mar 2025 14:19:03 +0800
Yang Ming wrote:
This change ensures that the current
On 2025/3/17 21:56, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
On Fri, 14 Mar 2025 18:36:38 +0800
Yang Ming wrote:
The secordary process should not close
fg->vfio_enabled = 0` and
`default_vfio_cfg->vfio_container_fd = -1`, socket error will
be set in DPDK primary process when it sync this info to
the secondary process.
This patch use to skip this kind of useless detection for this
scenario.
Signed-off-by: Yang Ming
---
lib/eal/linux/eal_vfio.c | 11
d-off-by: Yang Ming
---
drivers/net/mlx5/mlx5_rxtx.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c
index 9c075f6a56..9e63d38524 100644
--- a/drivers/net/mlx5/mlx5_rxtx.c
+++ b/dr
d-off-by: Yang Ming
---
drivers/net/mlx5/linux/mlx5_socket.c | 23 ++-
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/drivers/net/mlx5/linux/mlx5_socket.c
b/drivers/net/mlx5/linux/mlx5_socket.c
index 6ce0e59643..270a105f1d 100644
--- a/drivers/net/mlx5/
send_msg->sendmsg(mp_fd, &msgh, 0);
Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Cc: kevin.la...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Yang Ming
---
lib/eal/linux/eal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/eal/linux/eal.c b/lib/e
randomization of the virtual address space.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Yang Ming
---
lib/eal/linux/eal_memory.c | 12
1 file changed, 12 insertions(+)
diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/eal_memo
On 2025/3/13 00:29, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
On Wed, 12 Mar 2025 11:13:27 +0800
Yang Ming wrote:
On 2025/3/11 05:43, Stephen Hemminger
On 2025/3/11 05:43, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
On Fri, 28 Feb 2025 17:44:04 +0800
Yang Ming wrote:
This change ensures that the current
On 2025/1/3 10:51, Ming 1. Yang (NSB) wrote:
On 2024/12/14 01:16, Bruce Richardson wrote:
On Fri, Dec 13, 2024 at 09:12:39AM -0800, Stephen Hemminger wrote:
On Fri, 13 Dec 2024 17:24:42 +0800
Yang Ming wrote:
1. /var/tmp is hard code which is not a good style
2. /var/tmp may be not
-
From: Yang Ming
Sent: Friday, December 13, 2024 5:25 PM
To: Dariusz Sosnowski ; Slava Ovsiienko
; Bing Zhao ; Ori Kam
; Suanming Mou ; Matan Azrad
Cc: dev@dpdk.org; Yang Ming
Subject: [PATCH 2/2] net/mlx5: improve log file path
External email: Use caution opening links or attachments
1. /var/log
,
ensuring consistent behavior across both x86 and ARM platforms.
Fixes: fced83c1229e ("net/iavf: fix mbuf release in multi-process")
Cc: ke1x.zh...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Yang Ming
---
drivers/net/intel/iavf/iavf_rxtx.c | 3 +++
drivers/net/intel/iavf/i
On 2025/3/4 14:23, Bing Zhao wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
Hi Ming,
-Original Message-
From: Yang Ming
Sent: Friday, December 13, 2024 5:25 PM
To
On 2025/2/26 21:45, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
On Wed, 22 Jan 2025 16:15:03 +0800
Yang Ming wrote:
On 2025/1/18 00:47, Stephen Hemminger
randomization of the virtual address space.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Yang Ming
---
lib/eal/linux/eal_memory.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/ea
On 2025/1/22 16:15, Yang Ming wrote:
Hi Stephen
Hi Stephen,
Could you please confirm the comment above?
Brs,
Yang Ming
: rte_cryptodev_close() line 1453: Device 0 must be
stopped before closing
Function call trace: rte_eal_cleanup->eal_bus_cleanup->
vdev_cleanup->rte_vdev_driver_remove->ipsec_mb_remove->
rte_cryptodev_pmd_destroy->rte_cryptodev_pmd_release_device->
rte_cryptodev_close
Signed-off-by:
On 2025/1/18 00:47, Stephen Hemminger wrote:
Caution: This is an external email. Please be very careful when clicking links
or opening attachments. See http://nok.it/nsb for additional information.
On Fri, 17 Jan 2025 15:28:47 +0800
Yang Ming wrote:
DPDK detect vfio container according
Hi experts, is there any chance to review and accept this patch?
On 2025/1/2 16:58, Yang Ming wrote:
Fix the issue where OS memory is mistakenly freed with rte_free
by setting the length (len) of unused memseg to 0.
When `eal_legacy_hugepage_init()` releases the VA space for
unused memseg
fg->vfio_enabled = 0` and
`default_vfio_cfg->vfio_container_fd = -1`, socket error will
be set in DPDK primary process when it sync this info to
the secondary process.
This patch use to skip this kind of useless detection for this
scenario.
Signed-off-by: Yang Ming
---
lib/eal/linux/eal_vfio.c | 11
dev_pmd_destroy->rte_cryptodev_pmd_release_device->
rte_cryptodev_close
Signed-off-by: Yang Ming
---
lib/cryptodev/rte_cryptodev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c
index 85a4b46ac9..ed1021
On 2024/12/14 01:16, Bruce Richardson wrote:
On Fri, Dec 13, 2024 at 09:12:39AM -0800, Stephen Hemminger wrote:
On Fri, 13 Dec 2024 17:24:42 +0800
Yang Ming wrote:
1. /var/tmp is hard code which is not a good style
2. /var/tmp may be not allowed to be written via container's
read only
.@dpdk.org
Signed-off-by: Yang Ming
Acked-by: Dmitry Kozlyuk
---
lib/eal/linux/eal_memory.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/eal_memory.c
index 45879ca743..9dda60c0e1 100644
--- a/lib/eal/linux/eal_memory.c
+++ b/lib/eal/linux/eal_me
.@dpdk.org
Signed-off-by: Yang Ming
Acked-by: Dmitry Kozlyuk
---
lib/eal/linux/eal_memory.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/eal_memory.c
index 45879ca743..9dda60c0e1 100644
--- a/lib/eal/linux/eal_memory.c
+++ b/lib/eal/linux/eal_me
On 2025/1/1 20:34, Dmitry Kozlyuk wrote:
2024-12-26 16:10 (UTC+0800), Yang Ming:
Fix the issue where OS memory is mistakenly freed with rte_free
by setting the length (len) of unused memseg to 0.
When eal_legacy_hugepage_init releases the VA space for unused
memseg lists, it does not reset
malloc may return an address less than len,
causing mlx5_mem_is_rte to incorrectly treat it as DPDK memory.
Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists")
Cc: anatoly.bura...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Yang Ming
---
lib/eal/linux/eal_memory.c | 1
1. /var/log is hard code which is not a good coding style.
2. /var/log may be not allowed to be written via container's
read-only mode.
Signed-off-by: Yang Ming
---
drivers/net/mlx5/mlx5_rxtx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_rxt
1. /var/tmp is hard code which is not a good style
2. /var/tmp may be not allowed to be written via container's
read only mode.
Signed-off-by: Yang Ming
---
drivers/net/mlx5/linux/mlx5_socket.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/mlx5/
dev_pmd_destroy->rte_cryptodev_pmd_release_device->
rte_cryptodev_close
Signed-off-by: Yang Ming
---
lib/cryptodev/rte_cryptodev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c
index 85a4b46ac9..ed1021
39 matches
Mail list logo