RE: [PATCH] examples/l3fwd: Fix core dump with multiple socket

2024-07-03 Thread Li, HongboX
> -Original Message-
> From: Kaiwen Deng 
> Sent: Wednesday, July 3, 2024 3:51 PM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Zhou, YidingX ; Deng, KaiwenX
> ; Sean Morrissey 
> Subject: [PATCH] examples/l3fwd: Fix core dump with multiple socket
> 
> Setting acl will clear the acl config of other sockets, which will result in 
> core
> dump.
> 
> This commit will no longer clear the acl config when setting acl.
> 
> Fixes: 6de0ea50e9b9 ("examples/l3fwd: merge l3fwd-acl example")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Kaiwen Deng 
> ---

Tested-by: Li, Hongbo 


RE: [PATCH 0/2] Tx path check mbuf sub-segment

2024-03-19 Thread Li, HongboX
> -Original Message-
> From: Mingjin Ye 
> Sent: Friday, March 15, 2024 6:24 PM
> To: dev@dpdk.org
> Cc: Ye, MingjinX 
> Subject: [PATCH 0/2] Tx path check mbuf sub-segment
> 
> Add check mbuf sub-segment to Tx diagnostic path.
> 
> Mingjin Ye (2):
>   net/i40e: Tx path check mbuf sub-segment
>   net/ice: Tx path check mbuf sub-segment
> 
>  drivers/net/i40e/i40e_rxtx.c | 2 +-
>  drivers/net/ice/ice_rxtx.c   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --
> 2.25.1

Tested-by: Li, HongboX 


RE: [PATCH] net/iavf: fix fail to reset vf when using dcf

2024-03-19 Thread Li, HongboX
> -Original Message-
> From: Kaiwen Deng 
> Sent: Thursday, March 14, 2024 9:01 AM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Zhou, YidingX ; Deng, KaiwenX
> ; Wu, Jingjing ; Zeng,
> ZhichaoX ; Zhang, Qi Z 
> Subject: [PATCH] net/iavf: fix fail to reset vf when using dcf
> 
> On the latest ice kernel driver, renegotiating VIRTCHNL_OP_GET_VF_RESOURCES
> will fail without hardware reset when using dcf.
> 
> This commit will send VIRTCHNL_OP_RESET_VF to pf before dpdk resets vf.
> 
> Fixes: 7a93cd3575eb ("net/iavf: add VF reset check")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Kaiwen Deng 

Tested-by: Li, HongboX 


RE: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment

2024-03-20 Thread Li, HongboX
> -Original Message-
> From: Mingjin Ye 
> Sent: Friday, March 15, 2024 6:24 PM
> To: dev@dpdk.org
> Cc: Ye, MingjinX ; sta...@dpdk.org
> Subject: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment
> 
> Add check mbuf sub-segment to Tx diagnostic path.
> 
> Fixes: 2a0244d611b4 ("net/ice: support mbuf checks in Tx path")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Mingjin Ye 
> ---
>  drivers/net/ice/ice_rxtx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index
> 13aabe97a5..31a3a35c1d 100644
> --- a/drivers/net/ice/ice_rxtx.c
> +++ b/drivers/net/ice/ice_rxtx.c
> @@ -3713,7 +3713,7 @@ ice_xmit_pkts_check(void *tx_queue, struct
> rte_mbuf **tx_pkts, uint16_t nb_pkts)
>   ol_flags = mb->ol_flags;
> 
>   if ((adapter->devargs.mbuf_check &
> ICE_MBUF_CHECK_F_TX_MBUF) &&
> - (rte_mbuf_check(mb, 0, &reason) != 0)) {
> + (rte_mbuf_check(mb, 1, &reason) != 0)) {
>   PMD_TX_LOG(ERR, "INVALID mbuf: %s\n", reason);
>   pkt_error = true;
>   break;
> --
> 2.25.1

Tested-by: Li, HongboX 


RE: [PATCH v2] net/ice: fix wrong DDP search path

2024-11-04 Thread Li, HongboX
> -Original Message-
> From: Zhichao Zeng 
> Sent: Monday, November 4, 2024 6:10 PM
> To: dev@dpdk.org
> Cc: Zeng, ZhichaoX ; Richardson, Bruce
> ; Burakov, Anatoly
> 
> Subject: [PATCH v2] net/ice: fix wrong DDP search path
> 
> In the previous implementation, when the user did not enter any value in
> "/sys/module/firmware_class/parameters/path", it would incorrectly search
> for DDP packages under "/".
> 
> This commit fixes this issue.
> 
> Fixes: 9207f93640a7 ("net/ice: support custom search path for DDP
> package")
> 
> Signed-off-by: Zhichao Zeng 
> 
> v2: change return code
> ---
Tested-by: Li, Hongbo 


RE: [PATCH] net/ice: fix ACL filter uninit

2025-02-24 Thread Li, HongboX
> -Original Message-
> From: Mingjin Ye 
> Sent: Friday, February 21, 2025 4:25 PM
> To: dev@dpdk.org
> Cc: Ye, MingjinX ; Richardson, Bruce
> ; Burakov, Anatoly
> 
> Subject: [PATCH] net/ice: fix ACL filter uninit
> 
> The pf has enabled the ACL filter, so uninit is no longer limited to the DCF.
> 
> Fixes: a9d612291c2d ("net/ice: support IPv4 fragments in ACL filters")
> 
> Signed-off-by: Mingjin Ye 
> ---
Tested-by: Li, Hongbo