* [PATCH 1/2] net/i40e: Tx path check mbuf sub-segment [not found] <20240315102409.1079521-1-mingjinx.ye@intel.com> @ 2024-03-15 10:24 ` Mingjin Ye 2024-03-15 10:24 ` [PATCH 2/2] net/ice: " Mingjin Ye 2024-03-19 9:39 ` [PATCH 0/2] " Li, HongboX 2 siblings, 0 replies; 5+ messages in thread From: Mingjin Ye @ 2024-03-15 10:24 UTC (permalink / raw) To: dev; +Cc: Mingjin Ye, stable, Yuying Zhang Add check mbuf sub-segment to Tx diagnostic path. Fixes: 82b03af55a1b ("net/i40e: support mbuf checks in Tx path") Cc: stable@dpdk.org Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com> --- drivers/net/i40e/i40e_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 5d25ab4d3a..2c69e96e4b 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c @@ -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; -- 2.25.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] net/ice: Tx path check mbuf sub-segment [not found] <20240315102409.1079521-1-mingjinx.ye@intel.com> 2024-03-15 10:24 ` [PATCH 1/2] net/i40e: Tx path check mbuf sub-segment Mingjin Ye @ 2024-03-15 10:24 ` Mingjin Ye 2024-03-21 2:10 ` Li, HongboX 2024-03-19 9:39 ` [PATCH 0/2] " Li, HongboX 2 siblings, 1 reply; 5+ messages in thread From: Mingjin Ye @ 2024-03-15 10:24 UTC (permalink / raw) To: dev; +Cc: Mingjin Ye, stable Add check mbuf sub-segment to Tx diagnostic path. Fixes: 2a0244d611b4 ("net/ice: support mbuf checks in Tx path") Cc: stable@dpdk.org Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com> --- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment 2024-03-15 10:24 ` [PATCH 2/2] net/ice: " Mingjin Ye @ 2024-03-21 2:10 ` Li, HongboX 0 siblings, 0 replies; 5+ messages in thread From: Li, HongboX @ 2024-03-21 2:10 UTC (permalink / raw) To: Ye, MingjinX, dev; +Cc: Ye, MingjinX, stable > -----Original Message----- > From: Mingjin Ye <mingjinx.ye@intel.com> > Sent: Friday, March 15, 2024 6:24 PM > To: dev@dpdk.org > Cc: Ye, MingjinX <mingjinx.ye@intel.com>; stable@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: stable@dpdk.org > > Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com> > --- > 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 <hongbox.li@intel.com> ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 0/2] Tx path check mbuf sub-segment [not found] <20240315102409.1079521-1-mingjinx.ye@intel.com> 2024-03-15 10:24 ` [PATCH 1/2] net/i40e: Tx path check mbuf sub-segment Mingjin Ye 2024-03-15 10:24 ` [PATCH 2/2] net/ice: " Mingjin Ye @ 2024-03-19 9:39 ` Li, HongboX 2024-04-04 10:12 ` Bruce Richardson 2 siblings, 1 reply; 5+ messages in thread From: Li, HongboX @ 2024-03-19 9:39 UTC (permalink / raw) To: Ye, MingjinX, dev; +Cc: Ye, MingjinX, stable > -----Original Message----- > From: Mingjin Ye <mingjinx.ye@intel.com> > Sent: Friday, March 15, 2024 6:24 PM > To: dev@dpdk.org > Cc: Ye, MingjinX <mingjinx.ye@intel.com> > 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 <hongbox.li@intel.com> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] Tx path check mbuf sub-segment 2024-03-19 9:39 ` [PATCH 0/2] " Li, HongboX @ 2024-04-04 10:12 ` Bruce Richardson 0 siblings, 0 replies; 5+ messages in thread From: Bruce Richardson @ 2024-04-04 10:12 UTC (permalink / raw) To: Li, HongboX; +Cc: Ye, MingjinX, dev, stable On Tue, Mar 19, 2024 at 09:39:47AM +0000, Li, HongboX wrote: > > -----Original Message----- > > From: Mingjin Ye <mingjinx.ye@intel.com> > > Sent: Friday, March 15, 2024 6:24 PM > > To: dev@dpdk.org > > Cc: Ye, MingjinX <mingjinx.ye@intel.com> > > 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 <hongbox.li@intel.com> Series applied to dpdk-next-net-intel Thanks, /Bruce ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-04 10:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20240315102409.1079521-1-mingjinx.ye@intel.com> 2024-03-15 10:24 ` [PATCH 1/2] net/i40e: Tx path check mbuf sub-segment Mingjin Ye 2024-03-15 10:24 ` [PATCH 2/2] net/ice: " Mingjin Ye 2024-03-21 2:10 ` Li, HongboX 2024-03-19 9:39 ` [PATCH 0/2] " Li, HongboX 2024-04-04 10:12 ` Bruce Richardson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).