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 2BDC0A0352; Mon, 7 Feb 2022 18:22:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 084E7410FD; Mon, 7 Feb 2022 18:22:12 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 4A5B8410FD for ; Mon, 7 Feb 2022 18:22:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644254530; x=1675790530; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=8lHIAuxuhShVLCGS+SxSC9gpYKKLy7rc0MfmLrI2bwg=; b=lGoRb451Ml806Lh4VeaprdFkI3YqoWPK3Ecms7Q/E8GUald+KxFlGpDY g/3n8fNiJn2wZix4ct7MPt6HMePy9JaNX+g93rJZUGu/4g29FUH9yD6vn ZH6e4DwtZuoqQo6gTE5Tl9pr2qmZxbQH5QyUVi1/IQC9T/1vKjDlAUOyv rMooKVsjuVtwrlEjDRRTGXxZxbWF9qPVmOoqQa12BpAQ0KuMaIjxPZptQ yoLziBRcufuy9ngy5Xsy5TXbDVZHxjXCZpW//uwBWQPckd3cYYO/QuWNW m//gW7ViJiQySxMGsjSYqPjS5ALVI5R5oSzJgMafujB4EYvu0py5KGKR5 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10250"; a="236169013" X-IronPort-AV: E=Sophos;i="5.88,350,1635231600"; d="scan'208";a="236169013" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 09:22:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,350,1635231600"; d="scan'208";a="600956745" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga004.fm.intel.com with ESMTP; 07 Feb 2022 09:22:08 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 7 Feb 2022 09:22:08 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 7 Feb 2022 09:22:08 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.46) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 7 Feb 2022 09:22:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VScVbhddJQe1ZyKqhlJ+hjvA4gzTLLbbQkzns1NyIgJpKAD5h/mGeU3F8z+J7pNjL13omAgGoVh8la7VbUCuB8BUkZeSstl76glJY5cCUDIMl4oRxFmlq4ozaI/7td51pKOwaGUvhruBX2eq6TUACFoLzlPPoIWi09OMsKkSa6EUI8GdSigSUCYNmaexryWIaPzctwhJbwfcqfsKxA7v//8QfdJYuvJnWHhfsRPL4EH5cLr//LZhByiQm+PZzQNQso8SAct6JwO5byE4YsmMIagI4pxUwDXtLBvZkRmI8iEj7rhZ5uX6dSxKK2Ocfcpf4UbVpRKDjld2ArfCsyXYhg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+x8uwUvvsBIIuAlotTMkz2j59o/zMINBE7/WZPtxPNE=; b=hOA9Wqk+G5ajTv6o22ga+Z6BShXTLCmYfbkf7AcqTZ8QgPnPYWJSy0+nyi0n6D4Q9BCPf3vyIPnl45k7o9+j8sMeb7YPdigjZ/kKmBCi0uAqbGaEc7II/+e7vykmxjCPGQU49cV7w52mrRuX7xp36cgLzx1PoGDPsE1Ow8wIg0MC4YBTKw3vq0mNi589A9hAwUeGP4maK6CnaKBAHz0tVeaJDR7Cnn6i0Y+rRk8lFNxb8hWugy8WdCxqnL5QUDFr3FD2uJhlxZ/8nisJhWiFcXwjapCHFES4O7le7BBZzdl4mWyqOObaKWyptiw++A1U6tn0nq04i2J8Q1Xb8RA4Qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4773.namprd11.prod.outlook.com (2603:10b6:510:33::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Mon, 7 Feb 2022 17:22:04 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4951.019; Mon, 7 Feb 2022 17:22:04 +0000 Message-ID: Date: Mon, 7 Feb 2022 17:21:47 +0000 Subject: Re: [dpdk-dev] [PATCH v4 2/2] app/testpmd: add queue based pfc CLI options Content-Language: en-US To: , , Xiaoyun Li , Aman Singh , Yuying Zhang CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20220131180859.2662034-1-jerinj@marvell.com> <20220207135511.3012285-1-jerinj@marvell.com> <20220207135511.3012285-2-jerinj@marvell.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220207135511.3012285-2-jerinj@marvell.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0273.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::8) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: acafc143-4c88-44cd-94e4-08d9ea5e5c09 X-MS-TrafficTypeDiagnostic: PH0PR11MB4773:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3276; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Xnb5hKirRu1lyVCfG5Hs20Wm/QoiKod79fLS1ARz2jRiGRL/7Tcii4gbNnzwrT96z0rFGHLODcBtvuDAsifRTojDwpBF1u69GReVuwBy7xwrHuuQWvAMgyWYpq8bXLvSCGrhQVtPj86UpfEk7Fi/y6PKuSRpVjFeZ1gR1p+BHboCF5lD45MLogQeGaBKcOXfDkIPo51XIL+UW9Usjiz/b5HZaUTyZjeqTAmSy1IPffyHrOTku4aaRzWq0XXkP+VFNEikuXLo8wExByCVuqQpQdspX+s2zhvWvchseJ+ohxrKpvGtdcwSWhQEzlDVI/uz45AYryDTEJdWr69Sy3KTbP3k2yINm1zH2YzVa+iufn7EkUNJoQGXy5FFO5SeSOlhyPUCsajMJFIEjE3gwnMBEuE1Gz4RRT6l1yG184djw396nMKr4jMgC/42G7bMHqd00vkbPwTPd1py0xojAWwimcwLdyE4szJxgUxgEcrEH6uyJpNisQXMspnK0d2NyQxVChRNTN4ZFRNGK/K+2hevYv8Qa1DxrbxHJtGqIS3M7n/S+Q7kj7jVFVP9nDoXmKC79m2gXDDW1VMHOb6TlAxmziTYHb6Bd/Vf3T80Ejsk6vIHHXB1m8F4X17KT42Xt1WBWBEnEcx3Tjg4V4XrlEV97pK83Rpvamas30thTHSokt23PXRPD5WJMuBrFE2yoDHLZsexPh14RNcRQKKBVupXfg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(66946007)(8676002)(110136005)(53546011)(55236004)(38100700002)(8936002)(66556008)(6666004)(4326008)(6506007)(82960400001)(66476007)(86362001)(31696002)(6486002)(6636002)(6512007)(7416002)(7366002)(36756003)(316002)(186003)(26005)(508600001)(7406005)(5660300002)(4744005)(2906002)(44832011)(2616005)(31686004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bTJhbXhteGhxNUpTekNkVUhYVm92ZVJXcngxTlBkazFCM3hCUk9tSEhQVjBl?= =?utf-8?B?ajhPVVFqbmkwNjEyWXRSVE1USXQyS0tLaFRIQXRHb3ZOdTRLcUNvTDZRaGhK?= =?utf-8?B?OEs3ZWpVWkx4cUJtWGFwa1UySnB2MHROOWcrUjlpZ1ZWV0dCSXN0M0dPL0pC?= =?utf-8?B?YXIrTW5JdGFzbHVtZHEzR256M3BrNGJMY2M2WENkNXRReXhmV1BlOUF5QUNE?= =?utf-8?B?a1h3MkQvb1dOZGVOSnZnOVRhMmpDN3dObDNnU2dpNkRuTkJMei9xc1psZDd6?= =?utf-8?B?a2Nyc1FnbnMwUkI5SGVmdjMzRklBTFZmanNhN3I5UEZrTk0zemJpT1Y4cEdo?= =?utf-8?B?RTN6UlFnTklDOHFpSkhVazNWVXphQjBpRWVQVkt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+S10DVxpw=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: acafc143-4c88-44cd-94e4-08d9ea5e5c09 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2022 17:22:04.6592 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XrtjttCdoe1xXshm0MvqTl2fSchylNRbH3IsEAr/0PmcbohqU4ov+WkAS5w9ieAdi5mUlNTrSalQUGmRxbNWdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4773 X-OriginatorOrg: intel.com 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 On 2/7/2022 1:55 PM, jerinj@marvell.com wrote: > From: Sunil Kumar Kori > > Patch adds command line options to configure queue based > priority flow control. > > - Syntax command is given as below: > > set pfc_queue_ctrl rx \ > tx > > - Example command to configure queue based priority flow control > on rx and tx side for port 0, Rx queue 0, Tx queue 0 with pause > time 2047 > > testpmd> set pfc_queue_ctrl 0 rx on 0 0 tx on 0 0 2047 > > Signed-off-by: Sunil Kumar Kori lgtm, thanks