patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] net/iavf: fix indent in Tx path
@ 2023-10-26  8:06 David Marchand
  2023-10-26  9:34 ` Radu Nicolau
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2023-10-26  8:06 UTC (permalink / raw)
  To: dev
  Cc: stable, Jingjing Wu, Beilei Xing, Radu Nicolau, Declan Doherty,
	Abhijit Sinha

Fix confusing indentations.

Fixes: 1e728b01120c ("net/iavf: rework Tx path")
Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/iavf/iavf_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index c6ef6af1d8..cba7ec3564 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -2896,7 +2896,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
 			txe->last_id = desc_idx_last;
 			desc_idx = txe->next_id;
 			txe = txn;
-			}
+		}
 
 		if (nb_desc_ipsec) {
 			volatile struct iavf_tx_ipsec_desc *ipsec_desc =
@@ -2909,7 +2909,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
 			if (txe->mbuf) {
 				rte_pktmbuf_free_seg(txe->mbuf);
 				txe->mbuf = NULL;
-		}
+			}
 
 			iavf_fill_ipsec_desc(ipsec_desc, ipsec_md, &ipseclen);
 
-- 
2.41.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net/iavf: fix indent in Tx path
  2023-10-26  8:06 [PATCH] net/iavf: fix indent in Tx path David Marchand
@ 2023-10-26  9:34 ` Radu Nicolau
  2023-10-30  0:16   ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: Radu Nicolau @ 2023-10-26  9:34 UTC (permalink / raw)
  To: David Marchand, dev
  Cc: stable, Jingjing Wu, Beilei Xing, Declan Doherty, Abhijit Sinha


On 26-Oct-23 9:06 AM, David Marchand wrote:
> Fix confusing indentations.
>
> Fixes: 1e728b01120c ("net/iavf: rework Tx path")
> Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>   drivers/net/iavf/iavf_rxtx.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
> index c6ef6af1d8..cba7ec3564 100644
> --- a/drivers/net/iavf/iavf_rxtx.c
> +++ b/drivers/net/iavf/iavf_rxtx.c
> @@ -2896,7 +2896,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
>   			txe->last_id = desc_idx_last;
>   			desc_idx = txe->next_id;
>   			txe = txn;
> -			}
> +		}
>   
>   		if (nb_desc_ipsec) {
>   			volatile struct iavf_tx_ipsec_desc *ipsec_desc =
> @@ -2909,7 +2909,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
>   			if (txe->mbuf) {
>   				rte_pktmbuf_free_seg(txe->mbuf);
>   				txe->mbuf = NULL;
> -		}
> +			}
>   
>   			iavf_fill_ipsec_desc(ipsec_desc, ipsec_md, &ipseclen);
>   
Acked-by: Radu Nicolau <radu.nicolau@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] net/iavf: fix indent in Tx path
  2023-10-26  9:34 ` Radu Nicolau
@ 2023-10-30  0:16   ` Zhang, Qi Z
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Qi Z @ 2023-10-30  0:16 UTC (permalink / raw)
  To: Nicolau, Radu, Marchand, David, dev
  Cc: stable, Wu, Jingjing, Xing, Beilei, Doherty, Declan, Sinha, Abhijit



> -----Original Message-----
> From: Radu Nicolau <radu.nicolau@intel.com>
> Sent: Thursday, October 26, 2023 5:34 PM
> To: Marchand, David <david.marchand@redhat.com>; dev@dpdk.org
> Cc: stable@dpdk.org; Wu, Jingjing <jingjing.wu@intel.com>; Xing, Beilei
> <beilei.xing@intel.com>; Doherty, Declan <declan.doherty@intel.com>;
> Sinha, Abhijit <abhijit.sinha@intel.com>
> Subject: Re: [PATCH] net/iavf: fix indent in Tx path
> 
> 
> On 26-Oct-23 9:06 AM, David Marchand wrote:
> > Fix confusing indentations.
> >
> > Fixes: 1e728b01120c ("net/iavf: rework Tx path")
> > Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > ---
> >   drivers/net/iavf/iavf_rxtx.c | 4 ++--
> >   1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/net/iavf/iavf_rxtx.c
> > b/drivers/net/iavf/iavf_rxtx.c index c6ef6af1d8..cba7ec3564 100644
> > --- a/drivers/net/iavf/iavf_rxtx.c
> > +++ b/drivers/net/iavf/iavf_rxtx.c
> > @@ -2896,7 +2896,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf
> **tx_pkts, uint16_t nb_pkts)
> >   			txe->last_id = desc_idx_last;
> >   			desc_idx = txe->next_id;
> >   			txe = txn;
> > -			}
> > +		}
> >
> >   		if (nb_desc_ipsec) {
> >   			volatile struct iavf_tx_ipsec_desc *ipsec_desc = @@ -
> 2909,7
> > +2909,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts,
> uint16_t nb_pkts)
> >   			if (txe->mbuf) {
> >   				rte_pktmbuf_free_seg(txe->mbuf);
> >   				txe->mbuf = NULL;
> > -		}
> > +			}
> >
> >   			iavf_fill_ipsec_desc(ipsec_desc, ipsec_md, &ipseclen);
> >
> Acked-by: Radu Nicolau <radu.nicolau@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-30  0:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-26  8:06 [PATCH] net/iavf: fix indent in Tx path David Marchand
2023-10-26  9:34 ` Radu Nicolau
2023-10-30  0:16   ` Zhang, Qi Z

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).