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 89FF3A0548; Mon, 20 Sep 2021 11:00:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 163A540DF7; Mon, 20 Sep 2021 11:00:04 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EB90440DF5 for ; Mon, 20 Sep 2021 11:00:02 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18K8mq2M014678 for ; Mon, 20 Sep 2021 02:00:02 -0700 Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3b6aschhdu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 20 Sep 2021 02:00:00 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 20 Sep 2021 01:59:54 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Mon, 20 Sep 2021 01:59:54 -0700 Received: from [10.193.72.71] (unknown [10.193.72.71]) by maili.marvell.com (Postfix) with ESMTP id 0A0233F709A; Mon, 20 Sep 2021 01:59:52 -0700 (PDT) To: CC: , References: <1630516236-10526-1-git-send-email-skoteshwar@marvell.com> <1631975519-30924-1-git-send-email-skoteshwar@marvell.com> From: Message-ID: <45fecf1c-9c92-0b0f-2580-cb219b965673@gmail.com> Date: Mon, 20 Sep 2021 14:29:51 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <1631975519-30924-1-git-send-email-skoteshwar@marvell.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: kag2W0KnuOvIEcTHXOmHTmmSstCfKXiB X-Proofpoint-ORIG-GUID: kag2W0KnuOvIEcTHXOmHTmmSstCfKXiB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-20_05,2021-09-17_02,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v2 0/8] Add TM Support for CN9K and CN10K 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 Sender: "dev" Acked-by: Nithin Dabilpuram On 9/18/21 8:01 PM, skoteshwar@marvell.com wrote: > From: Satha Rao > > Initial implementation of traffic management for CN9K and CN10K > platforms. > > Nithin Dabilpuram (1): > common/cnxk: increase sched weight and shaper burst limit > > Satha Rao (7): > common/cnxk: use different macros for sdp and lbk max frames > common/cnxk: flush smq > common/cnxk: handle packet mode shaper limits > common/cnxk: handler to get rte tm error type > common/cnxk: set of handlers to get tm hierarchy internals > net/cnxk: tm capabilities and queue rate limit handlers > net/cnxk: tm shaper and node operations > > v2: > > - Added cover letter > - fixed meson warnings > - updated release notes > > doc/guides/rel_notes/release_21_11.rst | 1 + > drivers/common/cnxk/cnxk_utils.c | 68 ++++ > drivers/common/cnxk/cnxk_utils.h | 11 + > drivers/common/cnxk/hw/nix.h | 23 +- > drivers/common/cnxk/meson.build | 5 + > drivers/common/cnxk/roc_model.h | 6 + > drivers/common/cnxk/roc_nix.c | 5 +- > drivers/common/cnxk/roc_nix.h | 34 +- > drivers/common/cnxk/roc_nix_priv.h | 13 +- > drivers/common/cnxk/roc_nix_tm.c | 24 +- > drivers/common/cnxk/roc_nix_tm_ops.c | 147 +++++-- > drivers/common/cnxk/roc_nix_tm_utils.c | 130 ++++++- > drivers/common/cnxk/roc_utils.c | 6 + > drivers/common/cnxk/version.map | 10 + > drivers/net/cnxk/cnxk_ethdev.c | 2 + > drivers/net/cnxk/cnxk_ethdev.h | 3 + > drivers/net/cnxk/cnxk_tm.c | 675 +++++++++++++++++++++++++++++++++ > drivers/net/cnxk/cnxk_tm.h | 23 ++ > drivers/net/cnxk/meson.build | 1 + > 19 files changed, 1121 insertions(+), 66 deletions(-) > create mode 100644 drivers/common/cnxk/cnxk_utils.c > create mode 100644 drivers/common/cnxk/cnxk_utils.h > create mode 100644 drivers/net/cnxk/cnxk_tm.c > create mode 100644 drivers/net/cnxk/cnxk_tm.h >