DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinj@marvell.com>
To: Vamsi Krishna Attunuru <vattunuru@marvell.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: Vamsi Krishna Attunuru <vattunuru@marvell.com>,
	Vidya Sagar Velumuri <vvelumuri@marvell.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH v0 1/1] net/octeon_ep: fix buffer refill failure
Date: Wed, 26 Mar 2025 08:30:52 +0000	[thread overview]
Message-ID: <BY3PR18MB47854A817558672AEC1E824EC8A62@BY3PR18MB4785.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20250324110850.92072-1-vattunuru@marvell.com>



> -----Original Message-----
> From: Vamsi Krishna <vattunuru@marvell.com>
> Sent: Monday, March 24, 2025 4:39 PM
> To: dev@dpdk.org
> Cc: Jerin Jacob <jerinj@marvell.com>; Vamsi Krishna Attunuru
> <vattunuru@marvell.com>; Vidya Sagar Velumuri <vvelumuri@marvell.com>
> Subject: [PATCH v0 1/1] net/octeon_ep: fix buffer refill failure
> 
> From: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> 
> Fix the buffer refill for SDP output queue
> Fixes: ab09499e809c ("net/octeon_ep: add SSE Rx")
> 
> Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> Acked-by: Vamsi Krishna Attunuru <vattunuru@marvell.com>



Updated the git commit as follows and applied to dpdk-next-net-mrvl/for-main. Thanks

commit 5b1a795452a09eb6a0b0a4d8eccd113c1c53f131 (HEAD -> for-main)
Author: Vidya Sagar Velumuri <vvelumuri@marvell.com>
Date:   Mon Mar 24 16:38:50 2025 +0530

    net/octeon_ep: fix buffer refill

    Fix the buffer refill for SDP output queue

    Fixes: ab09499e809c ("net/octeon_ep: add SSE Rx")
    Cc: stable@dpdk.org

    Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
    Acked-by: Vamsi Attunuru <vattunuru@marvell.com>


> ---
>  drivers/net/octeon_ep/cnxk_ep_rx.h | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/octeon_ep/cnxk_ep_rx.h
> b/drivers/net/octeon_ep/cnxk_ep_rx.h
> index 83677e1c6f..5db32c4448 100644
> --- a/drivers/net/octeon_ep/cnxk_ep_rx.h
> +++ b/drivers/net/octeon_ep/cnxk_ep_rx.h
> @@ -72,11 +72,10 @@ cnxk_ep_rx_refill(struct otx_ep_droq *droq)
>  		desc_refilled = count;
>  		count = droq->read_idx;
>  		rc = cnxk_ep_rx_refill_mbuf(droq, count);
> -		if (unlikely(rc)) {
> +		if (unlikely(rc))
>  			droq->stats.rx_alloc_failure++;
> -			return;
> -		}
> -		desc_refilled += count;
> +		else
> +			desc_refilled += count;
>  	}
> 
>  	/* Flush the droq descriptor data to memory to be sure
> --
> 2.34.1


      reply	other threads:[~2025-03-26  8:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-24 11:08 Vamsi Krishna
2025-03-26  8:30 ` Jerin Jacob [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BY3PR18MB47854A817558672AEC1E824EC8A62@BY3PR18MB4785.namprd18.prod.outlook.com \
    --to=jerinj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=vattunuru@marvell.com \
    --cc=vvelumuri@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).