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 3AEAFA0548; Fri, 12 Nov 2021 03:36:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02E2640692; Fri, 12 Nov 2021 03:36:24 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 20FF340687 for ; Fri, 12 Nov 2021 03:36:21 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10165"; a="219952474" X-IronPort-AV: E=Sophos;i="5.87,227,1631602800"; d="scan'208";a="219952474" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2021 18:36:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,227,1631602800"; d="scan'208";a="534632224" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 11 Nov 2021 18:36:20 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 11 Nov 2021 18:36:20 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 11 Nov 2021 18:36:20 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 11 Nov 2021 18:36:20 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nS7w5rgJrE86RbJXKDPuWOfITwYE/WIV8PKJUpFyXphX3GhdSVQCQh2t2Q8sf5XwTpXhK2A/3hWQTaIZ9/2jfWHlP6sor607V5b89QvIy1n8xdNruebkF7hlZELw+aKpQ+58uB89Be34fujXHYX9LdfxIl9al6Y/0hVqurqFXLHu2azdRUGfTGZMc+0D+yhkU83WEd2em0Ym1lQFOWDAlHi3Ebv/4CpJ9vXu5BgMBgVEty24EbC2pzEEeG3gQa+T1vFMpL5MVaINRCfuQnOvuKl5D2WekTSgq4BpYSePLRUwuw8z9mzINGO4Ive2f+Or2aVWF4QXz+pNhtIfyqq9JA== 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=IY3nThWtngambS+sz04zrzZe7PdVXr3xn8u9Q9/dZvM=; b=QxdfYnDqjbAvcNT/fN/M6h1Wdb6ixyfE1mc+5HQiNADM879J5KkzlCIT5NeVSTiIRjQPiMn/1jaefRy4ZsFbFUpRwl+cZ9Ha0n3kslMKpMljNzun+hDXUQkvdmwhulDn9ZFLTIFkXyB4f9VSnuOHOyzYQ0sq1klFaQQZZ+njiA64MquhLUzy+aeT1CFzbAS2vwbWIv9uhrRMczYjyF1k5VI7v8qtbb2mMEjIL9mgzabflAEI9aRrY8eTh5SwKwUezPR4G9fCVpIL7B1BgDjo1SiflX52WMnTSVgXODcTsDCKEUA6rG10ZSlArjwjf1MFT1i0FtQGQKvarGIijaO2Vw== 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=IY3nThWtngambS+sz04zrzZe7PdVXr3xn8u9Q9/dZvM=; b=XoFrT6JnW5dKE70pWyLZLEiwbdgzzXaNFMiwZ/GQrcMQ+lHjHje14DQiSGtE7BV1AzJ0UiBhJvQBgpPs3LbPwDEGtIfhU16jygchlkWpcFnpqbU04bSSsE9JH2g4R8LiH3OBf6ZdU0DV5+1K9n6ZeXzbhY9rzmc2Ynyj1M+4VTg= Received: from DM6PR11MB4252.namprd11.prod.outlook.com (2603:10b6:5:201::26) by DM6PR11MB3628.namprd11.prod.outlook.com (2603:10b6:5:144::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Fri, 12 Nov 2021 02:36:15 +0000 Received: from DM6PR11MB4252.namprd11.prod.outlook.com ([fe80::c961:bbc9:f6a2:738f]) by DM6PR11MB4252.namprd11.prod.outlook.com ([fe80::c961:bbc9:f6a2:738f%4]) with mapi id 15.20.4669.016; Fri, 12 Nov 2021 02:36:15 +0000 From: "Xu, Rosen" To: "Yigit, Ferruh" , Rasesh Mody , Shahed Shaikh , Rahul Lakkireddy , "Zhang, Qi Z" , "Wang, Xiao W" , Ziyang Xuan , Xiaoyun Wang , Guoyang Zhou , "Xing, Beilei" , "Wu, Jingjing" , "Yang, Qiming" , "Wang, Haiyue" , Jiawen Wu , Jian Wang , Maxime Coquelin , "Xia, Chenbo" , "Olivier Matz" CC: "dev@dpdk.org" Subject: RE: [PATCH] net: add macro for VLAN header length Thread-Topic: [PATCH] net: add macro for VLAN header length Thread-Index: AQHX1loeP/GfhrcXoEi+1yQ17iGnl6v/L0Rg Date: Fri, 12 Nov 2021 02:36:15 +0000 Message-ID: References: <20211110174029.614449-1-ferruh.yigit@intel.com> In-Reply-To: <20211110174029.614449-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.200.16 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzFhZDFkNmUtYzgxNi00NTQwLWFiZDAtMjgxMWEzMDM4NmU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTFROdHEzVkdqM1Q4WkMxU2ZaMnVpaHJYV0p2VSt4aG1vZ1BabkZXWHFnTjd1V3pGNXpoKzRQTVkrN29cL1Y1UTEifQ== x-ctpclassification: CTP_NT authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f5d1e05f-1a1a-440d-f3b9-08d9a585331c x-ms-traffictypediagnostic: DM6PR11MB3628: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o17IS+pV+SZSxGWMUYqppaWGhFnz5hda81P3AAfiFM7K+zP4MxtvHjL9c68/hsaSY6WtaoBFoLvp42Uq3iMXYTMuQkL7EpUyMczu/oNLao/CibwTaROYXXWpRef56xCLz+YsJvf4ApP37TfSE+Mpr87xAOuFcveyI9+IxzmFWsQhrdbxBNshDyBnu2WhnuDZY/tex+L6jo4DatJgAEtJMzbAhSup7YhqsKWxfK1NGfib2/0fyzU4FCjQfZQ8CrBMGY6H5W4DjDwWcPBFr8clp6QiJEvSUnhriGIeQR2IXRG57bWpOVioz3HHuPWodrWG2dbA5msjAUE+h8d1y4RPUXLF2mS7mtsj9XczZsdHQKOJRPgXjVFHaLwQz9FpKVZz88dkFylqin0Qnb+b9IGhT28Bt6EpifjO6tULiAEoZYNFSpeadVNKAcUbGJqjfUAGG8yYZj6sMZBetZW42Z34k+J6Enaice2rNUfJG1ymuuQnH3KudPVwbDQZKDiqgUwZ8SNfRw02sQB1qME7IPojo/oA4md1+Ymco0+jhskvs40ybXN8qURLHlZ9hqn4CqtYEsI6u7oqZCBDvh6KzTdk1o96Wa0xS4+WddWp+s1qq/GmEdq4cWc1d3oHpKBll+1Dv0XwADM3vhTYN46biJQy582/kkqJ8na8eGLb+8xuInUfLNTBzW5u4rVSFE9cNClx/fuYEyxXPP3eF4KKYPONCiX5vB+l2mMoCjfxaVuf52A= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4252.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(38070700005)(33656002)(8936002)(71200400001)(921005)(83380400001)(76116006)(53546011)(7696005)(508600001)(110136005)(66946007)(186003)(66476007)(66556008)(66446008)(64756008)(26005)(82960400001)(6506007)(2906002)(7416002)(52536014)(86362001)(55016002)(38100700002)(9686003)(316002)(122000001)(4326008)(8676002)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?UGMaURr50W//VM37FFR7CjqC6unczrKoUhXAP5Xsk2//fbpgZS044Pff9apm?= =?us-ascii?Q?63YfwknK1WlzmNLSIB8pdb56ITY5cdQxvqfpcvgvL6r7UmydPaD1JZG2VCEs?= =?us-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4FaOmJyf4f0IfnQ2LXfoh?= =?us-ascii?Q?Ynd3QHTrTsJ5XnF8dDnn6EEKu181EgLlCCkey2hmTcPqmZl0wZoMYwXVv9yb?= =?us-ascii?Q?54qOwrMyE1MRfTNbpPdleVy+E5OAUumBK22BVCFu4PD265Reto+HX4EvQNes?= =?us-ascii?Q?Z8x6H4PAI7bns47rtYM56/A1XRP7w8Sg6QkaDO0G53oVjMDEac7cIqdw22oc?= =?us-ascii?Q?PeN1yal359/34K2TFBo4pwWsQY+OWFswZVbANzkr5Rk96hmSagTmyJ7c7vcJ?= =?us-ascii?Q?163CSUauJczhD4EgCVZiElzr90L3GHWIx38DmzForu4+nf+BEfclGC+dGV2u?= =?us-ascii?Q?zZupEkO87Xu16qiLuypn8STk0YscArKLfYGHmJxuSMRLSLJI8NcU1AEPq1It?= =?us-ascii?Q?1wy4kXMprx8oKT85gupLaWxtDLfoDOwF6QUCBWr0k9E1X2wcJrHiElDQIwBm?= =?us-ascii?Q?5rNx4CO9mkcK+0q6ZRGmBOlZ/knCak6DrZFp+wOoanSSUPa3z1rfETJLrI2j?= =?us-ascii?Q?ic71C4YK/mSsnh7v5DPmooaLvNDT3UIgq6Epp81NbbsJC0Uxr1gq5MRiB28N?= =?us-ascii?Q?5hIuep3uibjWPoICacObZITN4YCUuIlAgm+AdKIJ7l0Le4Ae6UhPGPUmXtB+?= =?us-ascii?Q?NKlBqESYDVav7a1cQWXLpkI=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4252.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5d1e05f-1a1a-440d-f3b9-08d9a585331c X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2021 02:36:15.4695 (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: o5Hzr51qJ9XVTkF2EkglWNk7OBWSxAKjRb/o827eQnAbzcUKE2YxUn+sise78jTeCWu9asLPMA3Z6FF18JRq0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3628 X-OriginatorOrg: intel.com 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 Hi, > -----Original Message----- > From: Yigit, Ferruh > Sent: Thursday, November 11, 2021 1:40 > To: Rasesh Mody ; Shahed Shaikh > ; Rahul Lakkireddy ; > Zhang, Qi Z ; Wang, Xiao W > ; Ziyang Xuan ; > Xiaoyun Wang ; Guoyang Zhou > ; Xing, Beilei ; Wu, > Jingjing ; Yang, Qiming ; X= u, > Rosen ; Wang, Haiyue ; > Jiawen Wu ; Jian Wang > ; Maxime Coquelin > ; Xia, Chenbo ; > Olivier Matz > Cc: Yigit, Ferruh ; dev@dpdk.org > Subject: [PATCH] net: add macro for VLAN header length >=20 > Multiple drivers are defining macros for VLAN header length, to remove th= e > redundancy defining macro in the ether header. > And updated drivers to use the new macro. >=20 > Signed-off-by: Ferruh Yigit > --- > drivers/net/bnx2x/bnx2x_vfpf.c | 2 +- > drivers/net/bnx2x/bnx2x_vfpf.h | 2 -- > drivers/net/cxgbe/cxgbe_compat.h | 1 - > drivers/net/cxgbe/sge.c | 2 +- > drivers/net/fm10k/fm10k.h | 2 -- > drivers/net/fm10k/fm10k_ethdev.c | 2 +- > drivers/net/hinic/hinic_pmd_ethdev.h | 3 +-- > drivers/net/i40e/i40e_ethdev.h | 4 +--- > drivers/net/iavf/iavf.h | 3 +-- > drivers/net/ice/ice_dcf_ethdev.c | 2 +- > drivers/net/ice/ice_ethdev.h | 4 +--- > drivers/net/ipn3ke/ipn3ke_ethdev.h | 3 +-- Acked-by: Rosen Xu > drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- > drivers/net/ixgbe/ixgbe_ethdev.h | 1 - > drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++-- > drivers/net/ngbe/ngbe_ethdev.c | 2 +- > drivers/net/ngbe/ngbe_ethdev.h | 1 - > drivers/net/ngbe/ngbe_rxtx.c | 2 +- > drivers/net/txgbe/txgbe_ethdev.c | 2 +- > drivers/net/txgbe/txgbe_ethdev.h | 1 - > drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +- > drivers/net/txgbe/txgbe_rxtx.c | 4 ++-- > examples/vhost/main.c | 3 +-- > lib/net/rte_ether.h | 5 +++-- > 24 files changed, 23 insertions(+), 38 deletions(-)