From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26705A0093; Thu, 23 Jun 2022 18:02:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D291B4067B; Thu, 23 Jun 2022 18:02:10 +0200 (CEST) Received: from mail-108-mta60.mxroute.com (mail-108-mta60.mxroute.com [136.175.108.60]) by mails.dpdk.org (Postfix) with ESMTP id 88C1040146 for ; Thu, 23 Jun 2022 18:02:09 +0200 (CEST) Received: from filter006.mxroute.com ([140.82.40.27] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta60.mxroute.com (ZoneMTA) with ESMTPSA id 181914c9a5300028a7.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Thu, 23 Jun 2022 16:02:05 +0000 X-Zone-Loop: 59226d02c894a64ef7d3878226cafd6436a299d62199 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To: From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=WWT4mJrYrXOy3dT3Y3MTHwPsv9UQGPoyTJeVqzoy+xY=; b=VRJPItHoxMRFJZE80Nl3g4Fd2+ vYpa+Ak0kCLVWcjQqtrwyzgOqpYTRE/fZs4DYr1sx3pKtlvNTbmLxsFLL23E9UQTKdRD/IDOhTz7y HA8Z5+uZ9uzSwSGLFrkzox7IDUG8On3E3GFlkfKYomaVy+hLCM2mX7EeQsjhv+TESx/I0kto/rCI1 t+7KAkaUVUreJH8mc9FoCS6bk96clq1+rDWnIdbCZlCdcqPMZUicLzKxI8SpNaSrhJ/UT3ZkhFH5r YFeUW8ArO5oa9g3QWWRo6LfOK3Lq94SaeBv+na8hdchqBSpBQekAxQjieIcKPkbR16iPKPZD6IS2k A9sAYSVw==; References: <20220616070743.30658-1-ndabilpuram@marvell.com> <20220616070743.30658-3-ndabilpuram@marvell.com> User-agent: mu4e 1.6.10; emacs 27.1 From: Ray Kinsella To: Nithin Dabilpuram Cc: jerinj@marvell.com, Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Pavan Nikhilesh , Shijith Thotton , dev@dpdk.org Subject: Re: [PATCH 03/12] common/cnxk: add PFC support for VFs Date: Thu, 23 Jun 2022 17:01:39 +0100 In-reply-to: <20220616070743.30658-3-ndabilpuram@marvell.com> Message-ID: <87a6a34bd1.fsf@mdr78.vserver.site> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: mdr@ashroe.eu X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Nithin Dabilpuram writes: > From: Sunil Kumar Kori > > Current PFC implementation does not support VFs. > Patch enables PFC on VFs too. > > Also fix the config of aura.bp to be based on number > of buffers(aura.limit) and corresponding shift > value(aura.shift). > Fixes: cb4bfd6e7bdf ("event/cnxk: support Rx adapter") > > Signed-off-by: Sunil Kumar Kori > --- > drivers/common/cnxk/roc_nix.h | 14 +++- > drivers/common/cnxk/roc_nix_fc.c | 120 +++++++++++++++++++++++++++---- > drivers/common/cnxk/roc_nix_priv.h | 2 + > drivers/common/cnxk/roc_nix_queue.c | 47 ++++++++++++ > drivers/common/cnxk/roc_nix_tm.c | 67 +++++++++-------- > drivers/common/cnxk/version.map | 3 +- > drivers/event/cnxk/cnxk_eventdev_adptr.c | 12 ++-- > drivers/net/cnxk/cnxk_ethdev.h | 2 + > 8 files changed, 217 insertions(+), 50 deletions(-) Acked-by: Ray Kinsella