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 B7FE9A00C2; Wed, 22 Apr 2020 19:22:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 977A41D534; Wed, 22 Apr 2020 19:22:11 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 797341D51E for ; Wed, 22 Apr 2020 19:22:10 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03MHLO70004262; Wed, 22 Apr 2020 10:22:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : content-transfer-encoding : in-reply-to : mime-version; s=pfpt0818; bh=1YxpRAZHwf5UWAzTwF2dwicHg1RsZk5tjBd7ttquJEE=; b=UyMsdlAm/MPY8qnHYv1umbZv3qlfhnF9KeyMJr7MehF5e9Jhfu1Cq1KZ4opzA9ZuI+UE Jf+ycJbc2YQfrAwTg/hHyTA9FRFIKvccvLF4Ph7ge3tW3nB1RVp5gMiUfdlFHVla/rPz CSUTXRxN+ARBse5zSZ5D7tvKzxccT58xAcMZ/STVOWGdtshNBdCcJk6BrsT6hxoq2SZY k1ikfVsXP1LrKpdSUpNffaY2NDyVCZgRTpFA9juDUKVIiSRLo49LCIIcYeXBaFOu5YAI l7Ea/CnTOe/I+TEVm+U6xPhUJJ2hJwAwuYHFzvtbFFmxTLJeewb6PRVUjLRXKrn5PJDj cA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 30jd0135y7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 22 Apr 2020 10:22:09 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Apr 2020 10:22:07 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Apr 2020 10:22:06 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.57) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 22 Apr 2020 10:22:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BdVCaRRdBEgeNR61tXavuoFmIQBTy2fCAvPwMLILKnGNRkQHb445FaRKlELzyGqQ5Fa5BA7fIOZnqmLBNx43nDDyutIyg8THZQSO9j7YM0qa4RmFgJRAcL3On2DTgCjg/BadZonEF0vI+JcR3kyHYaz/DOpCVs0YjYiRsLZ0E9ASO+vkEMA7eJgtlYCDnN/YpS6meDCT29+cdhCbNA+eKspg2fm85JfGBIXSoGiAFPlO+D/AKZ81wPRsbeCmKej7ijtYxrcsnUC9/A+R6j4GnqCxA72CAufJe45OiutyujqajTclL3szqBT5rPJvnfifR4VA6hCQtbgqydKvs1IaQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1YxpRAZHwf5UWAzTwF2dwicHg1RsZk5tjBd7ttquJEE=; b=djLVpUAYjXqc+v2RUr7Nj5CV/fXE0r9BG2lvoQj2PvzyppLQStc++92iGoNNNKvamWBnuBnEGxh6a2Lk3YRS6w3ZjfOOUpyfi7gQPnSD6pkpvmNfcxP1ftcEPRsxu3BXacYtsbxrhalk4gAyG4yjsEDnf/EnL6KeU2uB11FfRQpK/WzRyueHVXfSMYJF/YPQw2Qu+VYSd//ExPirZKvt7T6P/xysabfNoxQ1kPZ6vCI1qM+ze6VvO9DUNsFmm/lE2a2jiA4tr3/hjzVJJ7+Go6qpy7ROTO8Yu4AzKFGv8ZvnJQaDqXrdPOvO/PYSYc5bklC2UKMu+A66azEGN7FGlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1YxpRAZHwf5UWAzTwF2dwicHg1RsZk5tjBd7ttquJEE=; b=WHqVtEfcriRBGYSnNgb/vndTOLL7Lr0xiHOJjhczgV7+iASZtbKemkFiPsgSSVU14sszafYqfs8Qc0ULtqX4WfD1gk2rCRkwds9jG4SiojDyjMVCiWF9SLF/eQVMBsJplzJwrZM42RentJ7Iakw5enhay9k9YbpHnQrqgT3mfo8= Received: from BYAPR18MB2917.namprd18.prod.outlook.com (2603:10b6:a03:105::19) by BYAPR18MB2981.namprd18.prod.outlook.com (2603:10b6:a03:102::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Wed, 22 Apr 2020 17:22:04 +0000 Received: from BYAPR18MB2917.namprd18.prod.outlook.com ([fe80::a1ec:e959:77df:cd58]) by BYAPR18MB2917.namprd18.prod.outlook.com ([fe80::a1ec:e959:77df:cd58%5]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020 17:22:04 +0000 Date: Wed, 22 Apr 2020 22:51:52 +0530 From: Nithin Dabilpuram To: "Singh, Jasvinder" CC: Nithin Dabilpuram , "Dumitrescu, Cristian" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , "dev@dpdk.org" , "jerinj@marvell.com" , "kkanas@marvell.com" Message-ID: <20200422172152.GD760@outlook.office365.com> References: <20200330160019.29674-1-ndabilpuram@marvell.com> <20200422075948.10051-1-nithind1988@gmail.com> <20200422080842.GA760@outlook.office365.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.2 (34cd43c) (2019-09-21) X-ClientProxiedBy: BMXPR01CA0051.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::15) To BYAPR18MB2917.namprd18.prod.outlook.com (2603:10b6:a03:105::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from outlook.office365.com (115.113.156.2) by BMXPR01CA0051.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13 via Frontend Transport; Wed, 22 Apr 2020 17:22:01 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8c8f506f-0a34-4b35-f4bf-08d7e6e1acf0 X-MS-TrafficTypeDiagnostic: BYAPR18MB2981: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2449; X-Forefront-PRVS: 03818C953D X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR18MB2917.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(346002)(366004)(136003)(396003)(376002)(39860400002)(26005)(2906002)(66946007)(33656002)(107886003)(8936002)(8676002)(54906003)(81156014)(4326008)(186003)(9686003)(55016002)(16526019)(66556008)(30864003)(6916009)(6666004)(66476007)(956004)(5660300002)(478600001)(1076003)(7696005)(53546011)(55236004)(86362001)(52116002)(6506007)(316002)(290074003); DIR:OUT; SFP:1101; Received-SPF: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FFiP5tG5Dh7UTxxrJCKx4pIcjpLqACBf12lxSo80p5R+x/W2U8RwGhEh0OnDKvyDzQaimg9Y3oNqxx+HU/enNxAlHBDtH0zqqayPODT1WkugNS85bQp5M1USpsOYpOPrydvfec20N3yQz/MNNWCjMYNwx0fewpVk3DVB3lNAN4oEK7SO1wPoxv/fCazVmhL+7Ae3qnFuccgqnQgVqdW6gnKt7+Bp4xqk75TOdo4oovGKv4tePJYi5MUpdMEZKX8tKuePgcPt9rmnl0Fk564FM6+G5EFAYdy7kw395W2xUNr9lz2eqtfQUX+QwOr+vdTprgfgG8hmtDKmopEaJgoOGrMtWO5tTmr0EpRf+Fr2CpetdKMJyAm778qvBRuqkPq/JFiKrpcmnH09O/VhWNMLhIGm8pLy/KK63IK8mElsYASNc/XbHBHQSQPCXxU4QyYZkzvK7AZrIQqjt6TJkOTaOYh4+VfsGef5IYBIezYtpidGk0wLWt6BKRla2XZWuX31 X-MS-Exchange-AntiSpam-MessageData: 32p/KMshQS8sktpPwls0STz1H39J557nl/drFWyi/SKCa17FirqlBjYYN5wNW2XsqSNgwYMdT6JXsIefH1YT8LSIc63o5LwHjgim8+09Wn1+TzXtJg7aWhWa7hwOyxkubAERvahb/k6D9Xura2cDUw== X-MS-Exchange-CrossTenant-Network-Message-Id: 8c8f506f-0a34-4b35-f4bf-08d7e6e1acf0 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2020 17:22:04.4444 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nNck6bAB1AvEc7z8i12zS1L9vnvuv5DFnemBv3o5JmGj5p8TUdZqvZoFt4Z16PMNmyYfMXMyoACH+z4MQ6r2bw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2981 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-22_06:2020-04-22, 2020-04-22 signatures=0 Subject: Re: [dpdk-dev] [EXT] RE: [PATCH v3] ethdev: add tm support for shaper config in pkt mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Fixed in v4. On Wed, Apr 22, 2020 at 12:18:14PM +0000, Singh, Jasvinder wrote: > External Email > > ---------------------------------------------------------------------- > > > > -----Original Message----- > > From: Nithin Dabilpuram > > Sent: Wednesday, April 22, 2020 9:09 AM > > To: Nithin Dabilpuram > > Cc: Singh, Jasvinder ; Dumitrescu, Cristian > > ; Thomas Monjalon > > ; Yigit, Ferruh ; Andrew > > Rybchenko ; dev@dpdk.org; > > jerinj@marvell.com; kkanas@marvell.com > > Subject: Re: [dpdk-dev] [PATCH v3] ethdev: add tm support for shaper config > > in pkt mode > > > > Please ignore this patch. Had issue with subject line. > > Consider patch "[v3,1/4] ethdev: add tm support for shaper config in pkt > > mode " > > instead. > > > > On Wed, Apr 22, 2020 at 01:29:44PM +0530, Nithin Dabilpuram wrote: > > > From: Nithin Dabilpuram > > > > > > Some NIC hardware support shaper to work in packet mode i.e shaping or > > > ratelimiting traffic is in packets per second (PPS) as opposed to > > > default bytes per second (BPS). Hence this patch adds support to > > > configure shared or private shaper in packet mode, provide rate in PPS > > > and add related tm capabilities in port/level/node capability > > > structures. > > > > > > This patch also updates tm port/level/node capability structures with > > > exiting features of scheduler wfq packet mode, scheduler wfq byte mode > > > and private/shared shaper byte mode. > > > > > > SoftNIC PMD is also updated with new capabilities. > > > > > > Signed-off-by: Nithin Dabilpuram > > > --- > > > > > > v2..v3: > > > - Fix typo's > > > - Add shaper_shared_(packet, byte)_mode_supported in level and node > > > cap > > > - Fix comment in pkt_length_adjust. > > > - Move rte_eth_softnic_tm.c capability update to patch 1/4 to > > > avoid compilations issues in node and level cap array in softnicpmd. > > > ../drivers/net/softnic/rte_eth_softnic_tm.c:782:3: warning: braces around > > scalar initializer > > > {.nonleaf = { > > > ../drivers/net/softnic/rte_eth_softnic_tm.c:782:3: note: (near initialization > > for ‘tm_node_cap[0].shaper_shared_byte_mode_supported’) > > > ../drivers/net/softnic/rte_eth_softnic_tm.c:782:4: error: field name not in > > record or union initializer > > > {.nonleaf = { > > > > > > v1..v2: > > > - Add seperate capability for shaper and scheduler pktmode and > > bytemode. > > > - Add packet_mode field in struct rte_tm_shaper_params to indicate > > > packet mode shaper profile. > > > > > > > > > drivers/net/softnic/rte_eth_softnic_tm.c | 65 ++++++++++ > > > > > @@ -548,13 +554,19 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > .sched_n_children_max = UINT32_MAX, > > > .sched_sp_n_priorities_max = 1, > > > .sched_wfq_n_children_per_group_max = > > UINT32_MAX, > > > .sched_wfq_n_groups_max = 1, > > > .sched_wfq_weight_max = 1, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 0, > > [Jasvinder] - byte mode needs to be set here. > > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > } }, > > > @@ -572,7 +584,11 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > .sched_n_children_max = UINT32_MAX, > > > .sched_sp_n_priorities_max = 1, > > > @@ -580,9 +596,14 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .sched_wfq_n_groups_max = 1, > > > #ifdef RTE_SCHED_SUBPORT_TC_OV > > > .sched_wfq_weight_max = UINT32_MAX, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 1, > > > #else > > > .sched_wfq_weight_max = 1, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 0, > > [jasvinder] - byte mode should be set here as well. > > > > > #endif > > > + > > > .stats_mask = STATS_MASK_DEFAULT, > > > } }, > > > }, > > > @@ -599,7 +620,11 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > .sched_n_children_max = > > > RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE, > > > @@ -608,6 +633,8 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .sched_wfq_n_children_per_group_max = 1, > > > .sched_wfq_n_groups_max = 0, > > > .sched_wfq_weight_max = 1, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 0, > > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > } }, > > > @@ -625,7 +652,11 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 1, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 1, > > > > > > .sched_n_children_max = > > > RTE_SCHED_BE_QUEUES_PER_PIPE, > > > @@ -634,6 +665,8 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > RTE_SCHED_BE_QUEUES_PER_PIPE, > > > .sched_wfq_n_groups_max = 1, > > > .sched_wfq_weight_max = UINT32_MAX, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 1, > > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > } }, > > > @@ -651,7 +684,11 @@ static const struct rte_tm_level_capabilities > > tm_level_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 0, > > > .shaper_private_rate_max = 0, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 0, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > .cman_head_drop_supported = 0, > > > .cman_wred_packet_mode_supported = > > WRED_SUPPORTED, @@ -736,7 > > > +773,11 @@ static const struct rte_tm_node_capabilities tm_node_cap[] = > > { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > {.nonleaf = { > > > .sched_n_children_max = UINT32_MAX, @@ -744,6 > > +785,8 @@ static > > > const struct rte_tm_node_capabilities tm_node_cap[] = { > > > .sched_wfq_n_children_per_group_max = > > UINT32_MAX, > > > .sched_wfq_n_groups_max = 1, > > > .sched_wfq_weight_max = 1, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 0, > > > } }, > > [Jasvinder] - byte mode to be set. > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > @@ -754,7 +797,11 @@ static const struct rte_tm_node_capabilities > > tm_node_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > {.nonleaf = { > > > .sched_n_children_max = UINT32_MAX, @@ -762,6 > > +809,8 @@ static > > > const struct rte_tm_node_capabilities tm_node_cap[] = { > > > .sched_wfq_n_children_per_group_max = > > UINT32_MAX, > > > .sched_wfq_n_groups_max = 1, > > > .sched_wfq_weight_max = UINT32_MAX, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 0, > > > } }, > > [Jasvinder] - byte mode to be set here. > > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > @@ -772,7 +821,11 @@ static const struct rte_tm_node_capabilities > > tm_node_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > {.nonleaf = { > > > .sched_n_children_max = > > > @@ -782,6 +835,8 @@ static const struct rte_tm_node_capabilities > > tm_node_cap[] = { > > > .sched_wfq_n_children_per_group_max = 1, > > > .sched_wfq_n_groups_max = 0, > > > .sched_wfq_weight_max = 1, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 0, > > > } }, > > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > @@ -792,7 +847,11 @@ static const struct rte_tm_node_capabilities > > tm_node_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 1, > > > .shaper_private_rate_max = UINT32_MAX, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 1, > > > .shaper_shared_n_max = 1, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 1, > > > > > > {.nonleaf = { > > > .sched_n_children_max = > > > @@ -802,6 +861,8 @@ static const struct rte_tm_node_capabilities > > tm_node_cap[] = { > > > RTE_SCHED_BE_QUEUES_PER_PIPE, > > > .sched_wfq_n_groups_max = 1, > > > .sched_wfq_weight_max = UINT32_MAX, > > > + .sched_wfq_packet_mode_supported = 0, > > > + .sched_wfq_byte_mode_supported = 1, > > > } }, > > > > > > .stats_mask = STATS_MASK_DEFAULT, > > > @@ -812,7 +873,11 @@ static const struct rte_tm_node_capabilities > > tm_node_cap[] = { > > > .shaper_private_dual_rate_supported = 0, > > > .shaper_private_rate_min = 0, > > > .shaper_private_rate_max = 0, > > > + .shaper_private_packet_mode_supported = 0, > > > + .shaper_private_byte_mode_supported = 0, > > > .shaper_shared_n_max = 0, > > > + .shaper_shared_packet_mode_supported = 0, > > > + .shaper_shared_byte_mode_supported = 0, > > > > > > > > > {.leaf = { > > >