Tx path check mbuf sub-segment
cover 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(-)
Signature · 1 line
2.25.1
PATCH 1/2 net/i40e: Tx path check mbuf sub-segment
Add check mbuf sub-segment to Tx diagnostic path.
--- drivers/net/i40e/i40e_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/i40e/i40e_rxtx.c +1 -1
@@ -1554,7 +1554,7 @@ i40e_xmit_pkts_check(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts ol_flags = mb->ol_flags;if ((adapter->mbuf_check &I40E_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 ;
Signature · 1 line
2.25.1
PATCH 2/2 net/ice: Tx path check mbuf sub-segment
In reply to Mingjin YeAdd check mbuf sub-segment to Tx diagnostic path.
--- drivers/net/ice/ice_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ice/ice_rxtx.c +1 -1
@@ -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 ;
Signature · 1 line
2.25.1
RE: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment
Quoted 33 lines
-----Original Message-----
From: Mingjin Ye <[email protected]>
Sent: Friday, March 15, 2024 6:24 PM
To: [email protected]
Cc: Ye, MingjinX <[email protected]>; [email protected]
Subject: [PATCH 2/2] net/ice: Tx path check mbuf sub-segmentAdd check mbuf sub-segment to Tx diagnostic path.
Fixes 2a0244d611b4 ("net/ice: support mbuf checks in Tx path")Signed-off-by Mingjin Ye <[email protected]>--- drivers/net/ice/ice_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ice/ice_rxtx.c index renamed from drivers/net/ice/ice_rxtx.c +0
-0
13aabe97a5..31a3a35c1d100644drivers/net/ice/ice_rxtx.c +0
-0@@ -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) &&drivers/net/ice/ice_rxtx.c +1
-2- (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 ; --
Quoted 1 line
2.25.1
Quoted 13 lines
-----Original Message-----
From: Mingjin Ye <[email protected]>
Sent: Friday, March 15, 2024 6:24 PM
To: [email protected]
Cc: Ye, MingjinX <[email protected]>
Subject: [PATCH 0/2] Tx path check mbuf sub-segmentAdd 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
Quoted 6 lines
drivers/net/i40e/i40e_rxtx.c | 2 +- drivers/net/ice/ice_rxtx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)--
2.25.1
Quoted 13 lines · HongboX
Quoted 13 lines
-----Original Message-----
From: Mingjin Ye <[email protected]>
Sent: Friday, March 15, 2024 6:24 PM
To: [email protected]
Cc: Ye, MingjinX <[email protected]>
Subject: [PATCH 0/2] Tx path check mbuf sub-segmentAdd 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
Quoted 8 lines
Quoted 6 lines
drivers/net/i40e/i40e_rxtx.c | 2 +- drivers/net/ice/ice_rxtx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)--
2.25.1Tested-by Li, HongboX <[email protected]>
Series applied to dpdk-next-net-intel
Thanks,
/Bruce