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 6D42243B4B; Mon, 19 Feb 2024 10:31:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56C4940608; Mon, 19 Feb 2024 10:31:30 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2124.outbound.protection.outlook.com [40.107.20.124]) by mails.dpdk.org (Postfix) with ESMTP id 6209340608 for ; Mon, 19 Feb 2024 10:31:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ijtEzT6h5kw/G4o7leRtCPkY0SnruZVc+WRKp6T/5ZVCiIr1rn3T8KSBn++rNgj51EMAjrC4iLKLkz2YWg6FRQ/S3oYIpKvb6DjuquIYCNzAZgA4pJpbaDwkWauT/mym6KQOZBUv81Zp0k/dUMGi4RjCNn2ssfHTa66wCw62juhFNEoF/G5ZsVo/udROZJB1rtY4Z05qwRZzfiA0/9r2G0SMmIxv43UKBm+12VwuzBHKyfRUsKvsuSTwhJ05FIfOhCwXV9UFTjhuCUfIssUnCRIn3ai4LBU5OHbgOol0zaf2I51Xw4C+Xs8AKy5HyTL9aiGhT4xa0xMl7S9koWed4g== 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=kwBGuniDHkxzdFGc3r/A+q3jhkpqug5C3RV+drfarts=; b=JXTSNXQCsfDtRS7s/RDhVbTtnboxfxL4iDybmWFxWkm4kQ3qv+dpM7GI5fX6+78acj76MRnbY5VFgwUYlz+M8S9nuTZlIuMY9U8n7EArlwCbgBnlLeUJkTgOd8rEGu184uIuITznfSc9k1SKqamtNlUvq1yGgN5pRNSeDBz9OMM7BjWkZh1+gbJxmY0ccktqKxhk84ovwGYUv+QOxBym3rx4X7T2B6Wi12hWddoc4T8wBmg8v+N4/0OCLxbva0EEXLFu4uJADh/tQ5j6Za6EKPVg9Z1afe4rQXSbD/A9Z/Hj8ug72RZoT9Wcm91wB8SzIU3iz2u50C5dsHNePWeiXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kwBGuniDHkxzdFGc3r/A+q3jhkpqug5C3RV+drfarts=; b=V6q4zkzXu27s7dhL0XLkeSr9WCqkr/XxyUSOl5StAuz8/BYoreTmc9YbbqTqP89ueBRoOO0V01x8htQR5hL+qqR4j6GyZKpKkvgF9mYZcaR2lZRkjosEMuDPBlSz1vP1REJKebtRJCd7Z2bSk0MGZzTQ5anAtfKDWQnvolrUaU0= Received: from PA4PR83MB0526.EURPRD83.prod.outlook.com (2603:10a6:102:26b::17) by DBAPR83MB0421.EURPRD83.prod.outlook.com (2603:10a6:10:190::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.6; Mon, 19 Feb 2024 09:31:25 +0000 Received: from PA4PR83MB0526.EURPRD83.prod.outlook.com ([fe80::3256:dd6f:ad59:ee34]) by PA4PR83MB0526.EURPRD83.prod.outlook.com ([fe80::3256:dd6f:ad59:ee34%7]) with mapi id 15.20.7339.001; Mon, 19 Feb 2024 09:31:25 +0000 From: Alan Elder To: Ferruh Yigit , Long Li , Andrew Rybchenko CC: "dev@dpdk.org" , stephen Subject: [PATCH v7 1/2] lib/net: fix parsing of VLAN metadata Thread-Topic: [PATCH v7 1/2] lib/net: fix parsing of VLAN metadata Thread-Index: AQHaYxZoWxZbp2xEGkCWc05u90hDgQ== Date: Mon, 19 Feb 2024 09:31:25 +0000 Message-ID: References: <8139ddff-aabf-4ee0-a51b-a2a658691624@amd.com> In-Reply-To: <8139ddff-aabf-4ee0-a51b-a2a658691624@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=aca4f2a5-70b0-4b73-b41f-ccdab0e47cbb; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-02-19T09:03:08Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PA4PR83MB0526:EE_|DBAPR83MB0421:EE_ x-ms-office365-filtering-correlation-id: 6e1dc4a9-ba3a-42e0-1458-08dc312d8b31 x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zqL3swjnuc1A3Sg0mXRbW7dJp0ueJuGTky87qNkoAMo9JjykBColHcaDIybRqgjKAKih9CZbMS9r16hNBnWs5EK21vOxlTFiyGWIYTDI35xaKtMlQH7FrqyL9xBZ5nKFSg3WKu/UCVJN6w7ux1NAuKn8VgVJK4z+qTo+FnCp69M0k5oFY0VuzTmF1lK/3IGISKjChfjU9ntbg6A5iqO5IbgOti5LGFbM0aycn6QYEXOKL7EAMfzPDDTRCUuMfCUGGVMLf/UE8+anxjvMtsnTaI+TNT28rmVCT97y06TNa8uu6Esxt2USKdfF22aiFscezdkm55L/pZcvTu2A4zZi+KUShgbI24BPiDZB2vBoD9ECbSLMcDBSt9HCFZDWlJlFJ7oX9Fks3mcHoPhQ9RTgGUZDwf02/ZcEW67t/DCYjpT+cuaJec5JgdDGU1XIfHXVbq53f7Wuse7yfY6OElFgGmdD267cRiAW5/sBwpbPxUw9Yv3Mj4nQYv5WN1VLqvT9+ts61meE+N5Cko19oc1p0KDWdhVXq7F/6JslcDYfe9PcFa2TI4e4fXj3O2Cqdka09AkIEXBju3Sl+AZuk7OtgnahfQxiVFRtj2TGgJ2RTw1x85sPMFrX8ZBF7MFv7qX5 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PA4PR83MB0526.EURPRD83.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(366004)(346002)(136003)(376002)(396003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(6506007)(10290500003)(9686003)(7696005)(478600001)(71200400001)(54906003)(316002)(38070700009)(83380400001)(82950400001)(82960400001)(122000001)(33656002)(86362001)(38100700002)(41300700001)(110136005)(26005)(2906002)(44832011)(55016003)(8990500004)(5660300002)(66946007)(76116006)(66476007)(66556008)(4326008)(52536014)(8676002)(64756008)(66446008)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?T21rTzRPQ3YydmkwaWcyNVhIQTlkWDQvNXZUMlFEQzN6N0JYeVVJNWhQdXdh?= =?utf-8?B?Q2IzaFVGWnN2cUp2TjhjV3VGUlpQQjM4M3BSNTBuNkZ0RFI1MmRVWjlNWVo5?= =?utf-8?B?QjMzQ0ZLbUIwdGlFb1M3N1c4L2d3MWYyWkNw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ovazltWTFydXI1ZWhkQmFyQ0l6Yk9BOVFsYmpySVpKaXRNOTZWdDZKa01h?= =?utf-8?B?WVExZXc3elk4Tjlsd2EvRkU1elcrdVVSZmhMbHBmaTA1NTFjcU1mSVNmNlVP?= =?utf-8?Q?WbRDxe?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR83MB0526.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e1dc4a9-ba3a-42e0-1458-08dc312d8b31 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2024 09:31:25.7767 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jyZonPZm6J3fupPPQbE1NmBhq2pcpsh0aON5qMBNIxj8NqON7/l6K32BL0+Ih+DdFkvupknBcRj+JQzebTgO9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR83MB0421 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 QWRkIGNvbW1vbiBtYWNyb3MgZm9yIGV4dHJhY3RpbmcgcGFydHMgb2YgVkxBTiB0YWcuDQoNCkZp eGVzOiA0ZTljNzNlOTZlODMgKCJuZXQvbmV0dnNjOiBhZGQgSHlwZXItViBuZXR3b3JrIGRldmlj ZSIpDQpDYzogc3RoZW1taW5AbWljcm9zb2Z0LmNvbQ0KQ2M6IHN0YWJsZUBkcGRrLm9yZw0KDQpT aWduZWQtb2ZmLWJ5OiBBbGFuIEVsZGVyIDxhbGFuLmVsZGVyQG1pY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