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 19678A00C4; Mon, 14 Feb 2022 11:07:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E08A5410F6; Mon, 14 Feb 2022 11:07:01 +0100 (CET) Received: from mail-108-mta195.mxroute.com (mail-108-mta195.mxroute.com [136.175.108.195]) by mails.dpdk.org (Postfix) with ESMTP id 56A9440DDA for ; Mon, 14 Feb 2022 11:07:00 +0100 (CET) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultr.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta195.mxroute.com (ZoneMTA) with ESMTPSA id 17ef7b310be0005a20.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 14 Feb 2022 10:06:54 +0000 X-Zone-Loop: 55c28bc93486818875416ad1380dbec25ff0bb22d379 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:Date:In-reply-to: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=KSYW8p0QxlF2irpxnOrzYOLRvIAEuRTBMw5eUR0arCw=; b=INUts8StN4Yz521xrliJNJng4z WOilBFEdDDLrKdtrMQs5fnqKHGu473yC2h1pQLj0wat3+FEebGrasKmHlppmHKtYf0cjJcYRHoxcH BEebbiu0HbmrsMt0a3gbbUAbM34GieBq0cboZX8ePG6FMrJDVxWtnjR0MPF0n5flKMyyehXTRTSuf SlU1QwhUC7iWlrIW307u6RT3S3lRtLh6A9rEbkS8IUhn7ye8azu36qHH53UDHas3HZSgYH4VUXqvF 7WyZaQmQlcVum/oJk1yScrF6EgIXxS8kSsd66oRGW4UdtR6a1KN3nlpPchv7p4T7lBGUBbBMuLpoO dD6/+GZg==; References: <20220207172124.252136-2-skori@marvell.com> <20220214090247.493995-1-skori@marvell.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Ray Kinsella To: skori@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Satha Rao , dev@dpdk.org Subject: Re: [PATCH v8 1/2] common/cnxk: support priority flow ctrl config API In-reply-to: <20220214090247.493995-1-skori@marvell.com> Date: Mon, 14 Feb 2022 05:06:52 -0500 Message-ID: <87ee45iwxv.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 skori@marvell.com writes: > From: Sunil Kumar Kori > > CNXK platforms support priority flow control(802.1qbb) to pause > respective traffic per class on that link. > > Patch adds RoC interface to configure priority flow control on MAC > block i.e. CGX on cn9k and RPM on cn10k. > > Signed-off-by: Sunil Kumar Kori > --- > v1..v2: > - fix RoC API naming convention. > > v2..v3: > - fix pause quanta configuration for cn10k. > - remove unnecessary code > > v3..v4: > - fix PFC configuration with other type of TM tree > i.e. default, user and rate limit tree. > > v4..v5: > - rebase on top of tree > - fix review comments > - fix initialization error for LBK devices > > v5..v6: > - fix review comments > > v6..v7: > - no change > > v7..v8: > - rebase on top of 22.03-rc1 > > drivers/common/cnxk/roc_mbox.h | 19 ++- > drivers/common/cnxk/roc_nix.h | 21 ++++ > drivers/common/cnxk/roc_nix_fc.c | 95 +++++++++++++-- > drivers/common/cnxk/roc_nix_priv.h | 6 +- > drivers/common/cnxk/roc_nix_tm.c | 171 ++++++++++++++++++++++++++- > drivers/common/cnxk/roc_nix_tm_ops.c | 14 ++- > drivers/common/cnxk/version.map | 4 + > 7 files changed, 310 insertions(+), 20 deletions(-) Acked-by: Ray Kinsella -- Regards, Ray K