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 68362426AE; Tue, 3 Oct 2023 12:48:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08C97402D5; Tue, 3 Oct 2023 12:48:02 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 1083E4026B for ; Tue, 3 Oct 2023 12:48:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OQ9kxrVDVm4oQ7KIZjF/vtdSVD+zezZSU0a13Z1PJSJStPlUIVvRUwniPlEGvDKzUdPELBamur9/UstZrg2LvNzl2ke4oqTiGqnyFW+fXBlUD+wcRykMBYS7r7ubjC/v3khln21IhKJr7FZkYoZWNDggJpwJTvV/11Qt+puxDKL8yTwnB0K27nXvlij5XtBD64DA0YOgDHR0Vitqft730ldbhmTHWOzeJtETnamDoEvhwarDmx69pfARcL6wYGB/A/XcAqFQx4XCnn+WBQ+qNfJKoYez6xi3C1+EsGjq4KsCfenyv3mr6SUipVJJx+rOATP+RcFMRwoGc1goKpeYfg== 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=we+D/m5UFdquWt9fKOe39S6Q/nCA4keX2i4dXhINMoc=; b=JS3NuI6qToVvxJ9cv486BKxCvR+PxlJEECqJ9dd7Yq9sI+PC3ZSqUBCBzISxzujMLy2n7lTKin89wTOV33hLb/IOZxRxTYRQvhrZFXZQncpRPyZttEeoCnXmFHNbTOff1xlhixBqJLSzWYVZzY90K5qbXfOd8ijklyvwNMJaM8IUeFA08dE4/rvR2KReHQmuepScwhJdcFF0X0gTokUXpaaKp7/kAwn5/Z9KQ/b2Tncdw6ShTNxBqffx6CHhdoxMlicpYcCE8eRibbVHvZ/lfPa5n+ItwW/lsH/3kXPhyjEhxMhhkt/fOqECB8bSdBSAiKXL7l3nPGOPDYeNxgpt7g== 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=we+D/m5UFdquWt9fKOe39S6Q/nCA4keX2i4dXhINMoc=; b=0Gp73VyWMeVZEEHsSHnbRXOiUPfIFRPGY5UjChs3yHvvDVOZiWP4ZHcCMWWzLSLjs4XcNIjqZdkn1JXaKyZgkJZRzM/1dfZaUO4j6PNsGS1Ze7vOTVeQEfKBC6vBG6lVfVC5jkO7N06h6d3UOoRB1ltGKSjK//yx22SRq5tCOO8= 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 IA1PR12MB7661.namprd12.prod.outlook.com (2603:10b6:208:426::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21; Tue, 3 Oct 2023 10:47:57 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6838.024; Tue, 3 Oct 2023 10:47:57 +0000 Message-ID: Date: Tue, 3 Oct 2023 11:47:51 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org References: <20230929163611.62691-1-stephen@networkplumber.org> <20231002183730.301163-1-stephen@networkplumber.org> <20231002183730.301163-2-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/6BQJjb9DJBQkC+3/YAAoJEFRTPtCK Km/6d94P/irGq3mP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W6Ku 3FQ= In-Reply-To: <20231002183730.301163-2-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0309.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:391::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB7661:EE_ X-MS-Office365-Filtering-Correlation-Id: 87477929-b4c9-4d24-e9dc-08dbc3fe3438 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M3lhBexg8QNqNI/cZUeA5/7dZLZWJrpMFhBW1X7fC1/P5kNa0UXBdhGEUIvx3Jy/h3Yy7hr/b2AoJvBsc0SO7nbQD3gkXxT1W1v7TbbQO3uWIWYD3KLUafd+LbH/AuVOqGD2TjTqnUExjJNRAP2hEIwuc8JJ6qBzrHjkvIapmQtiYn0Y6C0vw+gmZ2jqN85eBDujgsQCsOJtAH1bM+aKvAcjuqm+6sg946K2g9YfGYjchCWg/qcxTIlxM4TNOnsDdWLo8rtQ9mZ9g0b8AUaXrop44IMygRVkiiN8i5nlXvWjGcZT9je228yDYxH4frAAWgoK5c/fiO+A4btIHOk6kyuU1RXvG0tzP1KvpiU8jYlO/On7hyxg9GKBQfA1RXyPhtZSroi7dPwpTDW3onQVB2QTFpLqnQQIDgwrJz8bshdyGgt8IT8dWFxH0xQcrOvZ1oZU1rp9f3VVj5n8+x3oXBwBRh+NZbLuTCNtFOX5XrnJnpDxFNzQmbOi1m7bx/uVnT9db28HDpPHeDZ8sNhCOiMgRZIOyxSCYJgcdKMmmTLE3qwRO76LI9Qwq4DEHFT5mUFdrDnq5EURy4BHTpvD5pXR5PVT3we0vce0iE3Cw7/9kmp1xwdQNMbOP1XcE4TNZOyW3z6siYF6MvcH84BYkg== 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)(39860400002)(136003)(366004)(396003)(376002)(346002)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(4744005)(8676002)(8936002)(44832011)(31696002)(86362001)(38100700002)(36756003)(2906002)(6512007)(6486002)(6666004)(53546011)(5660300002)(478600001)(26005)(31686004)(6506007)(2616005)(66556008)(66946007)(66476007)(316002)(41300700001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bmpxbFllMUF4ZkVvV3hVekFrejVBcTN2YzIwWWNhSVQrZXVEMzNrU2hscnJw?= =?utf-8?B?anphbWdZbmRuWGN3MVJjb09Xck53blI3Q2h4UmJGRlNUSEg3SlhpL2VYZDU5?= =?utf-8?B?VDFVeGN4WmdDMnd4U3ZUMzlaTjc2cUMySUV1MGZ2bHEwRmF0SkFrZ0wyMHVi?= =?utf-8?B?TXFXTFdpNTludVdhUXRockxWdUZnZG82aWxtNVU5eEo2ZXMySm9BWFJzUlpP?= =?utf-8?B?SVJ0dVFBN3hydFJ6Vi9PTUg3YmROSlFSVGFrdXM5VzJQdzVvQWFJRmQ5d21Z?= =?utf-8?B?ODE0cTdBUEZ2aG52c3duK3FWL01nUHhBY2ZyNjhiY2l0cWN6ZVI5UEJ5S3cx?= =?utf-8?B?VnUrcWdheFludVhnQzg5M2w0WE9MK1E4UGh0WUNFd1VZbDBBdEVaY2NHZ2Nu?= =?utf-8?B?NnlrRlF0eEpmM05WTndRMUM5dXNycHJlZ1NYakg2TENuM2ExQzVLTnhvb2du?= =?utf-8?B?Y051NEV3ZHF2TUpxMzY4anBPMUMvQ0FQSkhzTXMyQWd6L2R6aGJ3Z1BaNU82?= =?utf-8?B?T0xKakl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0?= =?utf-8?B?N1M4K0hINzJUNFNRTEhrQ01nZTY3c0dmRVU1R3RKb3NDVDZuZzgrNVY5aHF0?= =?utf-8?B?aS94OUVqUTF5d1ZYWTY3K1FqTUE3MkR2WjFXM1NmWnNNZHE5OGozZTBxVnVJ?= =?utf-8?B?S2lweW1zTnk5ZzYwMURBNnp3QzhicDgwcG5JKzlVNG9Ia1RlSFp6UGdhT2hO?= =?utf-8?B?UmgzM1J1UlJyc01FWURxT01BOXBsUm1rdlB1Q0NRSVBOTkg2eEtZZWxWNzJS?= =?utf-8?B?bXZIb0dHNzlna1VRRFo5aDFDSjlGQjdYSjlra2U2OEh2U01xMUx0SDNNU1hK?= =?utf-8?B?bHlGay9pazAraXZ4VFVyalRkemwvcXdHS2hBQ1dWVXU4dnVnL2RqMkU1aU5M?= =?utf-8?B?Qy9PQ3lMcEpncEUrNENEOTlicDFDUEQrdldXTllWWEZDakh4c3dUNzI0Zy9m?= =?utf-8?B?bW1iSXcxRUNyWWdyNjJ2dHBxNThCQXU4MUdJcERXalkxZkJwajN2Z3o5dU9O?= =?utf-8?B?SlJvUVVhSTdRaGNQbmt0VHpBQkQxNE1hZjBDTVNJREdvU2dlajJUZXliN09a?= =?utf-8?B?WGI0YlVod2Qyc002OWU5QlRkVDZpQ1pFVjNFZTV0enlOMld0aEdYSG1lZUNR?= =?utf-8?B?WXh3S3JDTHRpbDh0a084MkFrTm5RUmFIZDVyQkU2RW8wcVc5S255cWtQcGEx?= =?utf-8?Q?uDLqBtkGGbLySlPwwSk6TYvEE?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87477929-b4c9-4d24-e9dc-08dbc3fe3438 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 10:47:57.0082 (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: OfpFkklGIRGSCf9mB7gH7nHfb1Ce/MSZny6atCCFZehOQ3UDucGhLZWWqE6oMEB1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7661 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 10/2/2023 7:37 PM, Stephen Hemminger wrote: > Some of the ethernet address formats which were invalid will > now become valid inputs when rte_ether_unformat_addr is modified > to allow leading zeros. > > Also, make local variables static. > > Signed-off-by: Stephen Hemminger > <...> > @@ -61,10 +60,8 @@ const char * ether_addr_invalid_strs[] = { > "INVA:LIDC:HARS", > /* misc */ > "01 23 45 67 89 AB", > - "01.23.45.67.89.AB", > "01,23,45,67,89,AB", > - "01:23:45\0:67:89:AB", > - "01:23:45#:67:89:AB", > Why these two are valid now? And I guess second one is still not valid, but first one is parsed as [1], is this expected? [1] 00:01:00:23:00:45