From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9832A09F6 for ; Fri, 18 Dec 2020 00:55:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE1B2CA2C; Fri, 18 Dec 2020 00:55:02 +0100 (CET) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by dpdk.org (Postfix) with ESMTP id 9BF6DCA2C; Fri, 18 Dec 2020 00:55:00 +0100 (CET) Received: by mail-ej1-f54.google.com with SMTP id d17so589140ejy.9; Thu, 17 Dec 2020 15:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BFiHbzHPMyPAaVBsnd3ruCrFsmudYOxpPD2QDTZihR8=; b=bV4m+lNBFclFiHiZfXwViHe54T9yRKCVuggB3iEd9JukjcS6OrPz2/kFUlFhvlOs1w h7bSxk2X1mpI4wFY0br4ZJrSESwjyuAo/2a0AMbTk1TpizT0hsPZ6n2bJW5vbPdVJymG 2Pqv4lNjnANwGiZdJ1DwuJhT+naKiCrV47H6cxwheVAPyc3KCFOexd5WalWR8OEY1lm4 AAEu+X9f1vMAVt1htLG692vmHwGaEwE0t6jP/OcllhmEUfG2pK//Yh7T0ks7gsUHfuVC NknMrFarH3XRF0Lx2u7oy9gn8mRa0qR3vkPAUU8c7v+p/6SN7M9HuV5+ASIGWEnY4/Ed SZqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BFiHbzHPMyPAaVBsnd3ruCrFsmudYOxpPD2QDTZihR8=; b=MFFyJs7QUv3ucKSqnqMxF2Bi+l0PaNHD2gd0dTivYri+EfEXZg4LG8EBOULPU8Gdtz o9eiJQCWunzGYG8fq0r51XQWryHreEq/o14X4ozEjVyIosPOBsuqS5wnDaq3wiDqhggb NnT89NDDRcO3yJktpd+nUKzEI/vDlX0oeRnV8cGd+aSRKiSl3AtVcEk3r35Jcok/HOeh +XzrpvYjT/5IlzwKpnWei8YpT7+YNQMsyLRVqqh+IjGOpQjTCvQbD8uhhkfl7izkNWc5 4vGctC3hoYC/ssCHBi5ndJM3ZjU8vHqnZ6JbW0zbExo+cQpsSoNAo4dVoLuoQxDGSC/d DYQA== X-Gm-Message-State: AOAM532gTfjrv/NbmhVeEgpKBKjDmL6CVGe7QOWkypDDJMm1LYqZD1Bh +iyXmFTCyT09ZrDkCPx0Lv346NtWf5X5/I/RnC59motdoyPrGw== X-Google-Smtp-Source: ABdhPJwiQNXo94AZnRr5sU3snuV/VgiIfIvVTVnjTAD81H9vhzgjwQHcYxauSns489Ab359CYaEau2ZJ7GwvJY81ZCU= X-Received: by 2002:a17:907:41e3:: with SMTP id nb3mr1516516ejb.378.1608249299347; Thu, 17 Dec 2020 15:54:59 -0800 (PST) MIME-Version: 1.0 References: <20201214185352.252477-1-lance.richardson@broadcom.com> In-Reply-To: <20201214185352.252477-1-lance.richardson@broadcom.com> From: Ajit Khaparde Date: Thu, 17 Dec 2020 15:54:48 -0800 Message-ID: To: Lance Richardson Cc: Ajit Khaparde , Somnath Kotur , Venkat Duvvuru , dev@dpdk.org, ferruh.yigit@intel.com, stable@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/bnxt: limit per-poll Rx representor pkts X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Mon, Dec 14, 2020 at 10:54 AM Lance Richardson wrote: > > Limit number of representor packets transferred per poll > to requested burst size. > > Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") > Signed-off-by: Lance Richardson > Reviewed-by: Ajit Kumar Khaparde > Reviewed-by: Somnath Kotur > Cc: stable@dpdk.org Patch applied to dpdk-next-net-brcm. Thanks > --- > drivers/net/bnxt/bnxt_rxr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c > index 2b1dd97617..ffdeeecc3a 100644 > --- a/drivers/net/bnxt/bnxt_rxr.c > +++ b/drivers/net/bnxt/bnxt_rxr.c > @@ -901,7 +901,7 @@ uint16_t bnxt_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > } > > raw_cons = NEXT_RAW_CMP(raw_cons); > - if (nb_rx_pkts == nb_pkts || evt) > + if (nb_rx_pkts == nb_pkts || nb_rep_rx_pkts == nb_pkts || evt) > break; > /* Post some Rx buf early in case of larger burst processing */ > if (nb_rx_pkts == BNXT_RX_POST_THRESH) > -- > 2.25.1 > > > -- > This electronic communication and the information and any files transmitted > with it, or attached to it, are confidential and are intended solely for > the use of the individual or entity to whom it is addressed and may contain > information that is confidential, legally privileged, protected by privacy > laws, or otherwise restricted from disclosure to anyone else. If you are > not the intended recipient or the person responsible for delivering the > e-mail to the intended recipient, you are hereby notified that any use, > copying, distributing, dissemination, forwarding, printing, or copying of > this e-mail is strictly prohibited. If you received this e-mail in error, > please return the e-mail to the sender, delete it from your computer, and > destroy any printed copy of it. -- Ajit Khaparde