Message ID | 1631975519-30924-1-git-send-email-skoteshwar@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61463A0C45; Sat, 18 Sep 2021 16:32:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA56640041; Sat, 18 Sep 2021 16:32:09 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 10A0D4003D for <dev@dpdk.org>; Sat, 18 Sep 2021 16:32:07 +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 18IEB1ok016026 for <dev@dpdk.org>; Sat, 18 Sep 2021 07:32:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=+kef3sW+t/jQYtMZPdsttNp03yzJs225ZBpdIUrM8C8=; b=Bre3iov4ZOp6yM1unEjK00XMdzSq11WkTouMhmCQBm5UMqTdCaClEI1uWECUqjV202i7 aHvmx1a8w/QpH7pFlZHZO8msoYY7/zM+5Wt/vSXJ3MNRxYwz3hYj5Dr5irJiPAxJBoFV D7GTwGM8yV4hfcwZ9nZSb2ODgvfvq+5N97A68yfGlKqWYcO5cne0SB2/cLjF4NLgd52P Jm8qpKXDu+7AvMG+5e/ACFrhrsyRmd2F8Rw3XU/53w/QCAGLOG5TE4HQ+w7tX/5UTLmr DmJK21HDKUTwcsn6wf9G5TtVhZiMFbzXMtnKbI1UqcRbvTKNbeYXiuFOPxNP9bjIR3Rs jw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 3b5fmm08yc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Sat, 18 Sep 2021 07:32:07 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sat, 18 Sep 2021 07:32:05 -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; Sat, 18 Sep 2021 07:32:05 -0700 Received: from cavium.marvell.com (unknown [10.28.34.244]) by maili.marvell.com (Postfix) with ESMTP id 7E0393F705D; Sat, 18 Sep 2021 07:32:04 -0700 (PDT) From: <skoteshwar@marvell.com> To: CC: <dev@dpdk.org>, Satha Rao <skoteshwar@marvell.com> Date: Sat, 18 Sep 2021 10:31:50 -0400 Message-ID: <1631975519-30924-1-git-send-email-skoteshwar@marvell.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1630516236-10526-1-git-send-email-skoteshwar@marvell.com> References: <1630516236-10526-1-git-send-email-skoteshwar@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-ORIG-GUID: 4mZopAs02ITXUBH1Ip5qcJzM1orA7fLV X-Proofpoint-GUID: 4mZopAs02ITXUBH1Ip5qcJzM1orA7fLV 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-18_05,2021-09-17_02,2020-04-07_01 Subject: [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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
Add TM Support for CN9K and CN10K
|
|
Message
Satha Koteswara Rao Kottidi
Sept. 18, 2021, 2:31 p.m. UTC
From: Satha Rao <skoteshwar@marvell.com>
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
Comments
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com> On 9/18/21 8:01 PM, skoteshwar@marvell.com wrote: > From: Satha Rao <skoteshwar@marvell.com> > > 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 >