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 87566A0C46; Tue, 31 Aug 2021 17:15:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 164B94013F; Tue, 31 Aug 2021 17:15:17 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 93DDC40041 for ; Tue, 31 Aug 2021 17:15:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="205625498" X-IronPort-AV: E=Sophos;i="5.84,366,1620716400"; d="scan'208";a="205625498" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 08:15:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,366,1620716400"; d="scan'208";a="509970024" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga001.jf.intel.com with ESMTP; 31 Aug 2021 08:15:13 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 31 Aug 2021 08:15:06 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Tue, 31 Aug 2021 08:15:06 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 31 Aug 2021 08:15:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bwaJRIQgt3NdCnRhr5jydGuKmF9mITsj5zyPRNSps7AMnIIAxm+qNEtytrJ8A5S1zc+tHr6UPz0dKaVJBFaR/oPaYg7p/yxZQfdwk4Uz/AxRHIWaig7Xq0C0t/Is0QOVxGySn3TQBbChmcFGzgywP57oBpYp1IGct9uyKGgY4PnouW1JDASqi2Z7KqFPv8+FJjdJw6bJ6vplNxKd3h5Z5042pvQVhZdoUEaH7sQChhMWAMgIjzI9NMUTKTV6WaOsT+bCOvoP8aLbo5hFXeZzw2zdytO9a0kzcrpag7JYG9JgmyL9TxcEJmjiqr8YaN8JRZ9/NUW7rD+N5OdSpMMvoQ== 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=RvtwOvMkGJCGca4Y+b7NoeY8OJFk7h9EquQ9+Jgb2uE=; b=PoGbpTHn5O+XZBdUMJ9ZTzzouKKJVuA1Thh/JuwKEjGqBbicmI6TvZOAYkDKi5KH+B9R3wkuz44Z4ybC7SbWFd31tknP5Pcw0MEzZ32SRJmZ1nP1cj7JR2vp4movWa0AfpphURUi2WlIFW7AVCIOmq4+MQ80XxXDmZz2nv1hz04I4Mji9OckweSnQ/mq95FGY711Z+0aT1QjxeKhmdxHCFV0mKKhs4G2FCn4JWDZIxWlMSXuYpAmahzX9SCXbdszNK5V3C8oVqkoC1Ls5ZgWmZKikvbqCclISaDMPJsW7wLgMbCdO4mwfjHKvO4B+Pah7PxXbjr9LlxAv7kt0tmi8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RvtwOvMkGJCGca4Y+b7NoeY8OJFk7h9EquQ9+Jgb2uE=; b=B1CW8q+1BFdTEoK4nbjW+aSf3GHzgB3cBN0Hd6Z0aPlIbLjzGschn1+dCXotGk69x5y533pTc9F/pQjJ2UqqOnqjQsMmRDhQaOR/Zb9Be4DGhxKOLLHZkDJltZbkNntB2OaUuSnB8sE7nEod3+hb4KkoDBr1+Ui2Vtm70RNZs9U= Authentication-Results: tilera.com; dkim=none (message not signed) header.d=none;tilera.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5192.namprd11.prod.outlook.com (2603:10b6:510:3b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.24; Tue, 31 Aug 2021 15:14:56 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 15:14:56 +0000 To: "Li, Xiaoyun" , Zhihong Wang , "dev@dpdk.org" , "Singh, Aman Deep" , "irusskikh@marvell.com" , "cchemparathy@tilera.com" References: <20210819123541.16308-1-wangzhihong.wzh@bytedance.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <8e8dbc53-cd4c-726b-ea97-5a4d730c612f@intel.com> Date: Tue, 31 Aug 2021 16:14:51 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6P195CA0014.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::24) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.206] (37.228.236.146) by DB6P195CA0014.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.19 via Frontend Transport; Tue, 31 Aug 2021 15:14:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2c6b827d-e961-4d7b-84e2-08d96c921783 X-MS-TrafficTypeDiagnostic: PH0PR11MB5192: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5myom8lnFNxVM6lGH9mSbWQyYIZa0BENto5Xvi9FKKFSRSRgFm8JLfq4rPai8dcwoel9KMUKgelHykA4/n0cbDnHdPOCd1WuubjYOqPOvis9YE4qS3H1ggV+WaUWGh7HOTyNrW380K54oraNR0SWB+R8Iq+oPameZHyzdIQLUJOVOnd4zMLmf1NNbSOW2o8aL2D7AVEZGN744o5DtmvmVdC4/Pi+9yEYaruVdJ4hP/L/KyNtQPjm5yo7qtTXmVDi1RIhNkRz3tzenGNRfFrKrwgLVE66xNw2N83DFsx2h7RprcjgbhvI2HOi7yrc5nr905w/oY7v0gaKOVI5fWeSr6qpHhcG4GGEEIoL4lj7RZxDzPQazy1MGR7dzUWmkN/xisw9X4WmTdV4EwNDIttkbDhNibZwZ2F5Ne9jNIWxpdwvNhWnjMHsTYezt2h1429u+dkDiSiX3Wm6Nuqx9ampnmcbMfrBT+GrXAzDz6mbHbHohQm76/5qyPDUhCnsXfwiN/jwjFV5E42apl0B6vxNc13yvlIHNl2FpqSCRRn54Ucydmk4Stf/GiOpZuQ3a/db7kAEhXPQH3gBdD7dxRyOzQVwn4gT9PFKLfqpRBHkgP6PUjVSh3gtjKyjNvMysgDFn09pxMsSIH/MnvCvMH15BmwOXX3Wd/xDws2+yvOtDkl+LpVBWIo+NDMmwx3Z29ThEYgP3uh+L3mK+zzQ6C5GtQ== 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:(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(6486002)(44832011)(316002)(16576012)(53546011)(31696002)(36756003)(66476007)(31686004)(5660300002)(38100700002)(26005)(110136005)(478600001)(186003)(66946007)(66556008)(6666004)(83380400001)(2906002)(2616005)(8676002)(8936002)(956004)(86362001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cGhJTEdUYTZvTWYzbXlJTVhDNHZDVlVzMVRrUVBZU3BtQ2ZUOVQ4Rk8yYWp2?= =?utf-8?B?cHBDTTBHdHdqWmFXRFlWTU5udTlrcU0zRC8rNDhOTmtqUzFyazdrMVNXVkQv?= =?utf-8?B?eWtuVzRZd2lLZXNELzdYSWYraUsyTjd0OHZlaWFmTXl3dGM3cHZ4TjRYMThT?= =?utf-8?B?VXNYejhZc3UyYi9ZT2NrT0hRcncrQ0U2OXBvbHV5N0tOWDZVSllsdVQ1dWQw?= =?utf-8?B?K2dnUFVrWTFWRDYrQkNXVVZTUXE4RlBjeGF6WHduUW5LVFo4dTAyK0s3VzRB?= =?utf-8?B?YnBDSm1HOXlCZ3J3M1RTQW5GTmZTaWh2V2dJSGY1QXpzNk9OTVlVenVJNTUv?= =?utf-8?B?VUlEejJxYUp2bnJHajZoMXBFNWJLdVRTdVZ2cW1Xa1Y1RWtLdnUvb3pyWFhp?= =?utf-8?B?UzdlNDFpeFdDOEs4N0VWa3d2aVg5dVJYSEh0SUJ1ckZzeDBuU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vSU1QNjU0UXltUEg4Z0RjL3ZwQUow?= =?utf-8?B?TXdraWRwTDBaWTV5Y1ZlWCtIN3J4SEdrL1I0Y2k4YnQ3eWFLZG1PaVZHcFJJ?= =?utf-8?B?OHBCOVNyd016UXRlbWpFclE0MW5qZjliaSs0UGMwNkpmb2crN2ZtMkVGNjZI?= =?utf-8?B?MktmWGZ6NnQ4WlhuMnBjUVZjWGRSRnl4alV1V2VXbEI3T3dJZHozazZrNFFj?= =?utf-8?B?aE1CbkZvTWlRbHp5R3lPTnFRYnhHMWtyOVhRSzR5dnVreW83Nmh5YUtpUkx3?= =?utf-8?B?SVpTVlViTWNmNHJFY3p6V1lWK1RuZEsxMGhjdmViMUczVzl2cVlFZEFROEJZ?= =?utf-8?B?a0ZxVmJ2WFJMR0d2NFQ5eklkYzZGS3htZ0hnOHBkK1RCMllSOUdHUHV0YUxa?= =?utf-8?Q?IG+k0g4pwXFb7iysXcnd7NsHKbDzwetSo1MMz4j?= X-MS-Exchange-CrossTenant-Network-Message-Id: 2c6b827d-e961-4d7b-84e2-08d96c921783 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2021 15:14:56.6639 (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: bIXWVNNq3uGQKF/3X92+BRuO90OQQfNQ7+HTblxRZlDS+um2D5xG61zbsR+v7ETIWt8qwjAS2Cn/LxDybV3amg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5192 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] app/testpmd: configurable number of flows in flowgen 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" On 8/23/2021 12:08 PM, Li, Xiaoyun wrote: > Hi > >> -----Original Message----- >> From: Zhihong Wang >> Sent: Thursday, August 19, 2021 20:36 >> To: dev@dpdk.org; Yigit, Ferruh ; Li, Xiaoyun >> ; Singh, Aman Deep ; >> irusskikh@marvell.com; cchemparathy@tilera.com >> Cc: Zhihong Wang >> Subject: [PATCH] app/testpmd: configurable number of flows in flowgen >> >> Make number of flows in flowgen configurable by setting parameter --flowgen- >> flows=N. >> >> Signed-off-by: Zhihong Wang >> --- >> Depends-on: series-18277 ("app/testpmd: flowgen fixes and improvements") >> >> app/test-pmd/flowgen.c | 22 ++++++++++++++-------- >> app/test-pmd/parameters.c | 10 ++++++++++ >> app/test-pmd/testpmd.c | 1 + >> app/test-pmd/testpmd.h | 1 + >> doc/guides/testpmd_app_ug/run_app.rst | 5 +++++ >> 5 files changed, 31 insertions(+), 8 deletions(-) >> > Acked-by: Xiaoyun Li > A few minor changes done while merging, - spaces added to the log to align it with rest of the log, also abbreviations converted to full word, it become: printf(" number of flows for port %u: %d\n", pi, nb_flows_flowgen); - 2147483647 replaced with INT32_MAX Applied to dpdk-next-net/main, thanks.