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 EDCF943B2D; Mon, 19 Feb 2024 12:12:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD789402CB; Mon, 19 Feb 2024 12:12:14 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) by mails.dpdk.org (Postfix) with ESMTP id ACFA940275 for ; Mon, 19 Feb 2024 12:12:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oVWfQdlumNCAiaW+03tFxp0U7vz0uPWYYCuR+VNH2WbgFlumRrH9G71S+RgONXFJfxwu+Z8SFwRJzk2zJETcaaIdy6QQlE1vqT5xjEbQKukJBbnzTP/iAAneQH0TyfFNxBLBGsTgPVa/sFT4TlsEHbKXUm2CNIIs3BdxnLBhv8JTX6DT1EGFCNbo0mabdWE1FsHyHQdNky91NyDUdCz7PXMrT9ZJyBAXuS2AAazNDPkzEiYWIXqTPoyY2+FkA+li+NGUM08OvQ4dtboyB+lU9KP1bBauFy6oGD8vQhUT9cxdLVgMbFYEW3xIWYsYm5XtTS215EB019Lr8skv3VQCfg== 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=sYUMl2brlCOE+mv50jNpqsZdjzpQyE/72J6sN9PpXz4=; b=GiLPg49udWPVqQdNFAOOq9Z2HwKLkAKX7EqzIDgN+jBXh6YubRA+p7gbby20SorK7+AZApBFCUHXmeuKibO5j3R+wKSafG/2GL0CVeBWuBZ0c5fcyFt9xd9vr2R4jtH2ZWM1lJ/VmbSq0ol/+ZI527jAt1BgvomGi49DW9pMRLcWd3j0WBvz9CW09+ktW/I3wI+UYsExfx9Rzak6ZHvHjd0oyVcLxiWlr5+Aok44zviRDOzVj9eSPbt7HZ6Pi9u+jZZQ/28Az2dgEhs/36J1hNvHVo0jFO5X3M/CQEeOcodEMqDleIGBTxwlsnxkoI8Fmv/59/BoM4I87mQvxyRN1A== 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=sYUMl2brlCOE+mv50jNpqsZdjzpQyE/72J6sN9PpXz4=; b=0Pm2N0e6ptJwFgQ82rmngrO99fNPZbyaUlUaehbVe8tNtv2zXLDow6Toe1ONX0wYsbLSKMKnjiPnE8ICNGwKz3iwveNmDgYxyBHpZhg8j0zIXWCfZ37kJHIGtL/2se2LO59AorojPTR+eVITkW92vijcNUrjFgwEpAmgkDKKH2I= 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 SN7PR12MB7812.namprd12.prod.outlook.com (2603:10b6:806:329::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.19; Mon, 19 Feb 2024 11:12:08 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7316.018; Mon, 19 Feb 2024 11:12:08 +0000 Message-ID: <238485e4-2750-4e5b-9f68-30e0fc5320ca@amd.com> Date: Mon, 19 Feb 2024 11:12:04 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 1/2] lib/net: fix parsing of VLAN metadata Content-Language: en-US To: Alan Elder , Long Li , Andrew Rybchenko Cc: "dev@dpdk.org" , stephen References: <8139ddff-aabf-4ee0-a51b-a2a658691624@amd.com> 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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dK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0166.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18a::9) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SN7PR12MB7812:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f5d230e-dfb7-4fde-1485-08dc313b9cc6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fjkp+wHENQmkmW+ThfwIM3rZPUAhF0b5KPa5Ceexdm3Esblgm1RsZuwQRY7eKc/DH6hzTOhCcxoKW3aisD4O+zYt2wtBr69bI+/O+W7DSVYkbA0MJDOemWGESDwyodeTHmO1gFVDph0Q/SZ/CXWqqiuuENLmjdc5pU2B/3uQATYxNI600yWpEECsCDYf9y33s5jKvhs4xJ7MMwnXQL9Q2fYesKmvSmSryN8UzQKud68dPAkQoHgbphhLsOgiSWLTNSGc7YhEAYSBa4UGzJojKkwMxVhGwT9h98e77z++i7acn1hfSgC/FRq9Q1xLAa3y4ndETG34+Fi8cpJi4DNT6P2hk4zJedIB1zUXfr3UdLaoQseQM3yYvyfP395HyGg298i1iUi146VybVJx5BwrfA0dHxGRZx7OwP6Erx2QJXbYPmSBV6N6NGggVutTrkbsUGj49pX3qjZzjSVAfH8cQ9guXr8UVGRtqc5MJt6vcGLLmRxvkQ6lgqx+fyausrRjmP5OSGQE6Luq4Zrxtb/rev1nB5okH8GdLFDTHzA1RKQ= 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); DIR:OUT; SFP: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R6ekUrMnRSeTVX?= =?utf-8?B?b1lmUWlMa1VLZ3FGL0c5a1BEcGRQb1RDZlhqeUo2MlRISnQxMkFOS1lVQVlX?= =?utf-8?B?anVUb2g5ZFBialVQdDZCRlJ4Y1JMaElKZXc4WGVEcXIvV0l2Z1RzT2xnLzJa?= =?utf-8?B?MDNRR2xYWlNWcUZieEwvVkc0WFhsZjJhOEJzN24xN3laYkJHdUJtL2U2cmJY?= =?utf-8?B?ZGhSUVVQNnFSWFJsZlFWY3QrUTdQTS9KMGt3eE8wcW9UVnJEbUJRK25xT0xj?= =?utf-8?B?NXllMFpYQ3pjRGJwK1lLNW5nOVh0WlBmczIzc2hnU1IvL2xzWFFhcStoVWZx?= =?utf-8?B?OVpjQW9pSjU4VmEycW1RakR3V2dmbmx1bG1rMWpISkdwMGl1NWs0elkwMUxm?= =?utf-8?Q?fn1xUJzTluFu9xYwiFFXDpWM2?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f5d230e-dfb7-4fde-1485-08dc313b9cc6 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 11:12:08.5008 (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: fkaK0KosOUWF+9Bhd/XE0794p6/v69JrJGjYDYZN61C07OGsnsfQcug5d6c/s7yw X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7812 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/19/2024 9:31 AM, Alan Elder wrote: > Add common macros for extracting parts of VLAN tag. > > Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device") > Cc: stable@dpdk.org > > Signed-off-by: Alan Elder > Reviewed-by: Ferruh Yigit