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 3E35E43885; Wed, 10 Jan 2024 19:52:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A1C94025E; Wed, 10 Jan 2024 19:52:49 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2044.outbound.protection.outlook.com [40.107.92.44]) by mails.dpdk.org (Postfix) with ESMTP id 4C6C74021E for ; Wed, 10 Jan 2024 19:52:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V1bmEJ5xS8Qp6nBVQ8hZhPf4afru1+huwFqJmhOZ60Cz7JwtBfa+a6t67mRocVlhPgjLa05RsbpzmQ90KfrcOP39H7zzvlvXAIk4yt5mscSwvpeS97X1h5zI6m3I+MLyshFSH2EYWqnCraSZQYaIUteHcPzNH4YBhCG2qOhWiB4Mx5ZVJVYWX0L/RubbU9EE+2eSrfmpzKXyoz86CXGdF0nFBjEhil7njlkJytlxBx+WdgDGyMGj9xt1MLxPMKqbtxhywhQm/ZhldRkD15y9VzlA7Ga/RV0yqSwRVpsVd2mkXoqLVsvbNd8ofj98KK4OaG9AwbiwMjbJULsIt1JFeA== 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=PWBMx/E6GyWwQHna7g+Db7+tGucdP21c+RPhmW/dLAs=; b=cYCziJHNA8IaEjli2TpW33I9aQk0y7htRAKUgpSUL0eqTGIjosAGwMuR1mQg2NHgExPpBxnJY3DKHtJd9ZQDfPgdBz4uSTlIAYkfA0OVezf8gsVziPbh8hZze/7XvsolI0hzLj03Rx5vClCokSRh67dyYgBmc2CwardcqHVXzvDgf5PcVDP4dRn3eAPwewjAwG5wU97pYmODXIZRKcEssK0Hi65XzLf/w2cJg90v4VCCbCEx2IzkB6NDU0npM5zi4/sTQze2w4qO1oayRVf6mxDO/qRQj7t9PLj4/9wADYswhFdIcPUTz3pcKzdVscPseWYtt9rRklXCBm04W1HLZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PWBMx/E6GyWwQHna7g+Db7+tGucdP21c+RPhmW/dLAs=; b=s0arL+QnDqsrFmGZQENpbsjEQbI39Fofusu3NxbQWAfi1Wqm1+lWNISC+xlk8bAmcanx8GUfBkN9mINsEAZBDdjxCxKpW75PPMOz+efS9y0o8PfnLkqG2hYkM5anWn0z857nUnoLc6KcuGMh2cic7oGANOPMzcQWYI+3LjS9eNs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SA0PR12MB4496.namprd12.prod.outlook.com (2603:10b6:806:9b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Wed, 10 Jan 2024 18:52:45 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f%4]) with mapi id 15.20.7181.018; Wed, 10 Jan 2024 18:52:45 +0000 Message-ID: Date: Wed, 10 Jan 2024 18:52:39 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] testpmd: do not print bitrate-stats in help if not configured Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org Cc: Aman Singh , Yuying Zhang , Remy Horton , Pablo de Lara References: <20240109230927.6417-1-stephen@networkplumber.org> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4NqceNCWTQl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@networkplumber.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0223.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:e4::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA0PR12MB4496:EE_ X-MS-Office365-Filtering-Correlation-Id: 8257c073-e6a3-4113-7195-08dc120d54a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jwMcHrlA/PuHq9ZKEtuwTrzSQ6+XiHhJ6wbpmWhkeaWkNZcTu3e5NQhnh00W0C5Hd4fwE522YDFAXeq3E+eu7YqAFMJP5KmLm0gruF1xhkJQ2jmev8iM38q/1TRtTTG7K0wsjKfewiSjCLIkjRM2GS8rjn97tX9TVtRpw0Tqzt50bQlPkTBBK96ImWJPe53VQNgsDMbUgiPw1Lk8xFdKmujMtg+ruZ/nt1jCLH3xhIOUyQPf6JsUl+ZomvA1QF1k/tp1b6esrGlQjJHx5cBJsKA5e+Uulnn0vFb1APjMfIFmmBqa4x99e0/0WkyPQcc92ZZN8TNiTkTWXomE+MpD1lSIyEx3HkcE0r03f0T5XiJI0vQQ+ZJgzQdu9PXwyuqlPwB0zHWH7X4GPxHsM1sHgvaqgziW3/PvfP5FG5k0YN291MH12gE9Pm+tqLO2r3u8OpNUU/6U0SvTUvQ/aKTDzscZ6babvon7dsDTcIsr3Xnjlebm1XaXbsN4At/Ut6lGnvEdSQZdO1/mWxG0mT3cLhd4CJPxF3FB7cQrM3E2kM6UgY6I3Aq5C/Jx9xd+HAqx1zwHmPRu25ywijcudP5w3h/VKaqVj4oIVQcexQ2DGdfInuU+7lC817VltopdqgaCQZmlCqIv30J47wsHCcZC2Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(39860400002)(366004)(136003)(346002)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(38100700002)(6486002)(83380400001)(31696002)(8676002)(31686004)(66556008)(66476007)(54906003)(44832011)(8936002)(4326008)(316002)(66946007)(36756003)(478600001)(53546011)(26005)(2616005)(6512007)(86362001)(6506007)(6666004)(4744005)(2906002)(5660300002)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?azFLZURISjl2YVBhSzErdk41d3FaVFZWclZaUlYrSFhKbGZPVWNoaFB0T0ho?= =?utf-8?B?OVkvbnl6b1BRL3MxQWM4WllQblRMbURzeXNQcXpsaWRpUkxNUnpJWkpTUFlL?= =?utf-8?B?UldUcHlNSHlqdWg5eUNVZ3BERlp6cVNZd0ZsOHdRWk45T0FIZ3JjUVA5UGVy?= =?utf-8?B?bWxrM3VkdlFhSXRyS3l4VEh2M05Sd3ZISFRHd240OVZWSjYxSDNDVUV2V2Fl?= =?utf-8?B?a3NodG5OWTVjajhTdVB3OVNGR3FkNnRwd2NvWXFGQkRnWVpBcUd0M1d4dFRN?= =?utf-8?B?cGJ3eEY2SmpIbjM3KzZhYm5mNFlKeEtjcnU2K2RwaTJ5R2dsVXlWVy9uMXUx?= =?utf-8?B?S3ZKWHM5L3hSSDRpWEtEakxYVEV5a0R0dHRxWTZGVERQK0NGOW5LbkdHdTB5?= =?utf-8?B?ZW5mTWVGRWtyakNPelA1ZndtbEhiR0FXdlZUME1GNytmQW9DRi84bUcvaHor?= =?utf-8?B?eURRcjBuNzJxMDNmVCtKYkI4cmY1ZlJOQjgyNWowRGtZSmp3R0pnOVIzS2J1?= =?utf-8?B?cUI4SHpBMVFBVUcyenNZY0F3QmRhTkJ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FoNE9oSFE1dW5oTzRYOUd2NGFVUHppaXVzeWVGbm5FeHdKWExp?= =?utf-8?B?bkRLN3NxV29VVXA2S0tsK2Z5WkNmUTN0NHkvVE9qNHlhTzNWcFZJd1pnRU9H?= =?utf-8?B?RlNtSEZaM1p0b0xGVXAyTHlFRVVMVTV3NUNOTSswbCt5Z0dmcXdPRnloZUxO?= =?utf-8?B?R3d0dU5YbkkzZXZqSExFZnl6VTBWUE9UbXRyYjJKMjlLdGF1akpIYmJDdXRK?= =?utf-8?B?dUwvVEpPQTNSMWRWM3hvMXhncXQ0d2JIbjJsbGh5U1dnTnhrVkxWK2xlOEw4?= =?utf-8?B?ZFRtRW9YQ25yT1h6WlV0c0I0ZytyRFBtcnBQU0Z0NW5Wbi9rdm1jTTROM25w?= =?utf-8?B?ZVlpWXZNaXZ4SHBSSVl2bGRmYnpoVVlDM3JmeUhHYmR5ZGdlTWRiMU8zNzBI?= =?utf-8?B?QkRvaGpWckJrSGF0ME9PVThWOEVYbWNQODh2ZUdyUVdWNG1vNDBoZWVzZ2kr?= =?utf-8?B?bWFIaldVeHJyOUVYWEdjTDBlekJvZCtYN2VXdTl1VjFqamhrazlhVEFPY0R1?= =?utf-8?B?R214amw0QUc4bjB3b08vZHJLSGpJdGExYzh3b1gyN0VRYWwveGlFYW9xeFM1?= =?utf-8?B?RS9BVjVhVnlwc1NwYm9zVFVKNWQvOHdiUGRDMTdzRHZUWnBGWjZnZmZFMVdK?= =?utf-8?Q?4AYxU3KqQJrtclGTod2zPma09?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8257c073-e6a3-4113-7195-08dc120d54a0 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 18:52:44.9355 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZFkxwJdMpdLOyy/G706wj4n3/bPjz143krcfZA18xBTKJg6lYNjTHTaFSZKuc2gN X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4496 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 1/9/2024 11:09 PM, Stephen Hemminger wrote: > Like other #ifdef options, bitrate-stats should not be printed > in help if not configured. > > Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option") > Signed-off-by: Stephen Hemminger > Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks. Moved 'latencystats' help string next to bitrate-stats, to group them together and keep same order with documentation. It makes this patch do two things but I didn't want to make separate patch just reorder help string, instead squeezed it into this one.