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 5A0DAA0561; Tue, 21 Apr 2020 07:11:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1379A1D67F; Tue, 21 Apr 2020 07:11:24 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id D8CAD1C11E for ; Tue, 21 Apr 2020 07:11:22 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03L55eiw010264; Mon, 20 Apr 2020 22:11:22 -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 : in-reply-to : mime-version; s=pfpt0818; bh=xQ1OSbEOuvobVFZ9kH4ThIh1SxLYgpAFDvZkfg+qIy0=; b=GCn8m7Tol+f908BkWw9pJIRJ9ZDVv0v0oWmQYh4KhoLf/fjuoAoxz3geKnwlBMD9rhnO 3hR2WGKKIlgNQvHjEkqI/gxOcVL9NZqatiL/nony6ZRaUp9G4Jt31WzXWSAlB16CWIRX elIPoEr2DsbtaAEuL/CThqit5BW+rFG5a3SHUnf+WIdpfElrkQjihB6d2MbCUzttxxuH PapZsTYVhHRFgstgRk73q8W2lnTXIazHAWpgSP8jY7HZx6au0Awr3QkbaTQTSCjAP6at nKv6RG/Nc8leRlvdRneSfJwME9XB7ARxukbjfBDeFrC6Yq6WAA0QURbb2aXIcX0Bku0n zQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 30fxwpasu9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 20 Apr 2020 22:11:21 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 20 Apr 2020 22:11:19 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 20 Apr 2020 22:11:19 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 20 Apr 2020 22:11:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W3XicXsO0MakiAj/EhmQBo3mrkeKPZpvqFofXxB7L4JCmnt9xdoX2opuvW+6YhccKiINLS4xbDEK/XcMinsCz5fy0wXaj5G4B4LNOipdU5lNZpeN7JTNR26jWKVmH1WCjzZJIy6XV6733uvRMLQGk1nE0GcHMisdR+RGzXmnKGlmAU+BNmAc+rWXZ508IoEznNeMBbp6mDs4Buwzk3RDbQiQ6wYV7OucRn6zgNuWWMKxIKVN/i7ScG7x0pzZ2B1VyGHAJfnwd2rV3noODO9jnslULOTGcloOrlIDzUIEXZDuyfPgplhIWc8bgVrF8M/55Lan/RxqqHnMx3NzpJIV8A== 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=xQ1OSbEOuvobVFZ9kH4ThIh1SxLYgpAFDvZkfg+qIy0=; b=BdCWcoc0kmaMPxnMschA0+R+J5T47Rjg20SQCHEZbrYG5oG4zEFjWVQun8qBTR77jUBvnefh4ECtq8ljrfu0CUCTyDmwWUBF1ys9PFiV6jO4jRgzKV+wPRX2GOwrGdI9XZCte6Qikj5ryS3SlBNe8PosezzsMw9BKUCKbck/Fky1Ll73SfNkbEzJBjHkaPezCfEaW1pnEs9GB+zeikX/J7+1LRHP1kyipcvfQWdShLW2rn+vHKeZQwahGsi7ywsVPsbN0Umj3NlxSy6ZvdvG+wIIpXpNF1MLpISk8xK8zqy/adkJ0i2xjrvxIt6XY4rSewwPT7CpRKWcSG0M66T3aA== 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=xQ1OSbEOuvobVFZ9kH4ThIh1SxLYgpAFDvZkfg+qIy0=; b=buIaQvzGTcCFtVoRdKXJvQmiGTXIZnwkBLQwdISRZSj79F9nM+gR3IT2vo2VCqeMY75Y3zqyz4jNpZ+V7nZvB9xfP6mr6cQEIDpwjh4ZfMXbbuG6uzJyeeYf5QA42fwshGlRKewPq6r0OG/A0ElyQmDWMyHbJ0aBRTcQWd4Hh50= Received: from BYAPR18MB2917.namprd18.prod.outlook.com (2603:10b6:a03:105::19) by BYAPR18MB2887.namprd18.prod.outlook.com (2603:10b6:a03:103::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Tue, 21 Apr 2020 05:11:16 +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; Tue, 21 Apr 2020 05:11:16 +0000 Date: Tue, 21 Apr 2020 10:41:01 +0530 From: Nithin Dabilpuram To: Ferruh Yigit CC: Nithin Dabilpuram , Cristian Dumitrescu , Thomas Monjalon , Andrew Rybchenko , , , Message-ID: <20200421051101.GA9014@outlook.office365.com> References: <20200330160019.29674-1-ndabilpuram@marvell.com> <20200411114430.18506-1-nithind1988@gmail.com> <54352438-d5e7-3701-c7d8-16b6554ffcf7@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54352438-d5e7-3701-c7d8-16b6554ffcf7@intel.com> User-Agent: Mutt/1.12.2 (34cd43c) (2019-09-21) X-ClientProxiedBy: PN1PR0101CA0001.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::11) 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 PN1PR0101CA0001.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25 via Frontend Transport; Tue, 21 Apr 2020 05:11:13 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c106dbd-76d2-45d8-04b2-08d7e5b26aee X-MS-TrafficTypeDiagnostic: BYAPR18MB2887: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 038002787A 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)(376002)(39860400002)(136003)(366004)(396003)(346002)(9686003)(2906002)(86362001)(33656002)(4326008)(55016002)(54906003)(316002)(8676002)(107886003)(7696005)(8936002)(81156014)(6916009)(52116002)(5660300002)(53546011)(66556008)(26005)(186003)(6506007)(956004)(478600001)(6666004)(66946007)(55236004)(66476007)(16526019)(1076003)(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: Ua1lYQxkyzRDct091OsiDIK24QjlQVbhPrhrriQw3khuY6ZBGdJstPkT1UI5N9xOnm2Wg0M73oyPR8w2WMQphARKTVEq4VxpLOMeQBY0SfXrPQ9J9R35qcjcmolbkVw7Gba3dxtrTAzxh9/Wo3ZwA/8t4ISBObxcXoaLwkWpZXMVuvwBo74HZkv07CkYWamvM2m63okJgKsdJv8mEsU+TAisRmCHe07LIRZ/NJPLq6c42+pMptsKQJ8LI7iV6T3RJIxMbPZ6irWgBADAAzH4Af5TPTypaL/hFFEI0OWlAjhJPfTK03xy7w5AdixSXe0X719aBqfT6X5EoyNcFfdUV7XdylI64te5EK4br3S97jf0C5LDZwtVkWrebIzsre1D7j0W64iYb2lMpAm0ZWu6qmo6514l2K3MSD1jyR97BV0XzjaeXHVNTsUppjsSgbYcjfJPnuyeV60zMrZQu3wJQoLbsYFLvmdszpxDBi4lQXvdF5a51cH2XuwqBIG/IVDF X-MS-Exchange-AntiSpam-MessageData: CTXbKEe/FYXlDIGq0up8/58ENuL7QgxenQYmGBYNw0wuhothVmZCBbMei5BkUefxTJaKMaJClhpaPvOnfIK5ydVtklma0kNKZjc617osy3Q/NboK00qKenXflz6T0kBUZnWgVp0TRLlsOwdJL+X4iA== X-MS-Exchange-CrossTenant-Network-Message-Id: 3c106dbd-76d2-45d8-04b2-08d7e5b26aee X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2020 05:11:16.0295 (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: Igl+bBdEdBc3k1sOPb58NmrLevZi5972e8C610anQF4YtjgWLaqWdH0COzAykgYbmbAEs0P+18ulDsLsLYxyNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2887 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-21_01:2020-04-20, 2020-04-21 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/4] 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" Ping. On Thu, Apr 16, 2020 at 02:48:49PM +0100, Ferruh Yigit wrote: > External Email > > ---------------------------------------------------------------------- > On 4/11/2020 12:44 PM, 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. > > > > Signed-off-by: Nithin Dabilpuram > > --- > > > > 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. > > > > Hi Cristian, > > Can you please review this series? > > Thanks, > ferruh