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 97723A0C4B; Thu, 11 Nov 2021 02:34:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CF9F40E03; Thu, 11 Nov 2021 02:34:09 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 66A2340DF5 for ; Thu, 11 Nov 2021 02:34:07 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10164"; a="296268238" X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="296268238" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2021 17:34:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,225,1631602800"; d="scan'208";a="546377624" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga008.fm.intel.com with ESMTP; 10 Nov 2021 17:34:05 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 10 Nov 2021 17:34:05 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 10 Nov 2021 17:34:04 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 10 Nov 2021 17:34:04 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 10 Nov 2021 17:34:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XWwlZh4I423DMlWhR7usBnU29p63ecLT/fFttJ6166VolAukfnZcy6UUxI82YzFKuP9ysy7Df5qn6SbmWxCdNmJhZkraE3fKzliJhA8WVBVxvbFH/FmO7Cr4UeFG9xvLPnlBU7pTEzEaNVGhea7izH3Et3mMtuhg5WFmSIe+kkYOolFwKWC7OX2WqXbO9KOg8yoNEtvU588Qd6HCqIdSS8j+ZbD0PAQagmpihOWzTYaq1xekvNDSNPjm/hTIXEJMGO5zbE3SWmeIz4OsB8WwF9gwSFJDi0OWlde6iwIxQsCEn/m8cC8DDLDjZ39wEtOCONzqz2lADHlrd4BGBCwMdA== 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=7rJFs+vGjpmld9TrVAENF96JXoau3UXM/61clm5K2+I=; b=UXX6FAoBARI/yQnpgXylRbLDwtIXZm5rQxZOho9AVK0ifTuB/EFg88RCKi7x+CclMe2HzTfzOKFuJmbHQXyyb5FoTjsc4QOcqRw0Jifye1fgWqNe2CD/d663bW4jGrNJi6lulfOXjmZ6pX7Ibt5S+6S5VDKupS6hlHDTiJKrWtps7+NzLrnETHWyR34HYrKjxxtRtA/bFfWvdjPDy6rQevamPDozOso7tgJA2WOo78qM8alS1A5Al8oQdSnaLjBXTC2N7YJ2JyMWw40AEr4mRPslLMrFw5dpU3FRWoqaVTG5XmHn57qRYk01SWj3uOa5C7b95Q+ZWBxkKGDpJbl5ZQ== 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=7rJFs+vGjpmld9TrVAENF96JXoau3UXM/61clm5K2+I=; b=Ge1qFwz/IAlW0xgXXMdVYWzsoRNo277GlqsPgVTy8sS6ZQS8CGvIMrtTdFfw7/pfiE4wn8V7+0OOultqZZoWNavoWmRC2Vhph+G7U63NCRbuMeyT8oJqw8JkFJufdZ1bpps74ZP0AuNsdAEXSn/YEuaHRNMCG0IFNifEV0hr/gw= Received: from DM4PR11MB5518.namprd11.prod.outlook.com (2603:10b6:5:39f::18) by DM4PR11MB5454.namprd11.prod.outlook.com (2603:10b6:5:399::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16; Thu, 11 Nov 2021 01:34:02 +0000 Received: from DM4PR11MB5518.namprd11.prod.outlook.com ([fe80::e03e:d9f2:f8df:43a8]) by DM4PR11MB5518.namprd11.prod.outlook.com ([fe80::e03e:d9f2:f8df:43a8%7]) with mapi id 15.20.4669.016; Thu, 11 Nov 2021 01:34:02 +0000 From: "Wang, Haiyue" 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" , "Xu, Rosen" , 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: AQHX1loejjQDKmi83Eu+H/pEn440dKv9izuw Date: Thu, 11 Nov 2021 01:34:02 +0000 Message-ID: References: <20211110174029.614449-1-ferruh.yigit@intel.com> In-Reply-To: <20211110174029.614449-1-ferruh.yigit@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 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: 12d1a373-ecab-4b25-1698-08d9a4b35799 x-ms-traffictypediagnostic: DM4PR11MB5454: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DnQTZTA4CIqCiPzhpqImal0Gec3lnkexG711UKX03nEa6oESHhyRCqHHka9bwi++zJoysz4ltZXfwyJl2d/ot1T9sGzXt4f+0+76vHyOXZnpVBSxRam6/fMVKCnETNc7hzLusEeD6lpA6+l+vF4T9xjAPW6GPDCTZjHNFSdjKTF+FZ4mhg5ogA/3w8XJoAMm1r3ekpOnEk/9mLUeKCMzHrBqZQ7hY6AHesfZJxmpZg0i2oxD6FXWHIwdEYy/2pBch/BCgRa5Q0+AH65Xh4fusDPHW9fs0RZNeCZlKLt8gIVB50iNl72KaBma30MXHKBntlS9ZUXLe4pior77YUfsR2E/X9j8/Gj9ur+ikvvqMaQ0babi2W9BdCZ3s5gcvB/lECsEyAd+ZIS6jiy4f2jeUAR2Y6r7142PvNiWoHgd38vvlQ+HrclqcxgmyVRj9YGm2PxQDngB+gSCUm+Pr6daWXfCHUFkzoMLFUN8wLsAsL62/03umjeSkiy6Mqjd4HgPfi5D0nec/V1PJh5hgJGVUK+/qIlYJPvZuAeCv44BaTZMEP53gzDRiMZPu5yylZFb5Fd8zP8oI3HDjZHvZtPfCc2RpQ2rEA77I4mHQl3pdN9yGDX/8uEU9UQxGVnZ6AzbM/J+NUMHvC+HLRvIHwZnNi7PdYk8zMh2AbhtLxZ0Lt8ZCtqSV64XIrV+XS+xUsKJO+vAtWYKpmvT+Fjf2ovF/voZ8yVCmRrAylhACMEpJqM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5518.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(52536014)(71200400001)(7416002)(33656002)(921005)(66556008)(66946007)(76116006)(66446008)(26005)(7696005)(83380400001)(508600001)(6506007)(53546011)(66476007)(38070700005)(64756008)(9686003)(2906002)(110136005)(122000001)(82960400001)(86362001)(5660300002)(8676002)(8936002)(55016002)(316002)(38100700002)(4326008)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?e4efimAl0FhSy8ApnYsSMRYhtK27e2XNbQG5lLlLmGJyD3ehn0uRPeQnDCnU?= =?us-ascii?Q?wkJtm8AJ/hcpgSpk35TS9JxD0vrMjEYfy39pWSDcS7aH5n9cEn39fUhZ23J3?= =?us-ascii?Q?q1MuoJxlwdTWvzMaK1NrKDLwnyH3Vsieciq8iJxyI37T56QWGFdqV3HsEK6s?= =?us-ascii?Q?we1jugiYJUFUApA7Xq5yMLt+bAtKra0A/rebilF4sNPUHsJ96vC3WvoNAQDd?= =?us-ascii?Q?p/nge8RxSeI0vqHFxshZ4H/efj0pRbDM5BlYpKA4PMCQuIOHQNNSksETKq1h?= =?us-ascii?Q?eQz3WAwkgrHWYwKimeBwnNji5PTC/ilrsHuUMZFd5uISKptbvwdoRXiLsvzO?= =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5nPoP9d30jUg+1lpelNK66Pd?= =?us-ascii?Q?J4j9Kn9+ONgvCf0nN0Mnjpu2SUlToOHUBgeLoFySKYDxXlmiDTN+DuzFUZL2?= =?us-ascii?Q?M7CA3ndB4ns8OfXxqP/n9jgv9CjdOJazpYrlfQMjFW8qp2izlplicaX03X1Q?= =?us-ascii?Q?/qta0SNxhkuPaKcp8qIgKT1IMyFoTm1lQiS72CQliJFGegkaPWfBsqXMoJBJ?= =?us-ascii?Q?wnM/Ol18TE+nE1qhreD908Kfi7Qv/I6njxHNV3DPLRU4/gZj9RMXANEDhk1V?= =?us-ascii?Q?9Lwn75JrFZ4B0zBktDMtdiuhAROdVN3I47warzWUzlgGQjKuO2EyM86p1TzO?= =?us-ascii?Q?CfnQjFaAI6K6wn0hC3bHxxmq6DC2Mi+eqTgxpGBjVQngQkf8ykqpzo8I5mmw?= =?us-ascii?Q?uQ=3D=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: DM4PR11MB5518.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12d1a373-ecab-4b25-1698-08d9a4b35799 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2021 01:34:02.3605 (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: 9cZSQMyp9V7F5qd7kLfIUpHJ3EWz4t5wa7VC6REPxnDPf1qzkaPsxBdOL+YDjSTpLcCVBn+Oz4FKiAnO/5fD+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5454 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 > -----Original Message----- > From: Yigit, Ferruh > Sent: Thursday, November 11, 2021 01:40 > To: Rasesh Mody ; Shahed Shaikh = ; Rahul Lakkireddy > ; Zhang, Qi Z ; Wang,= Xiao W > ; Ziyang Xuan ; Xiaoyun Wa= ng > ; Guoyang Zhou ; Xi= ng, Beilei > ; Wu, Jingjing ; Yang, Qimi= ng ; > Xu, Rosen ; Wang, Haiyue ; Jia= wen Wu > ; Jian Wang ; Maxime Co= quelin > ; 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 > the 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 +-- > drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- > drivers/net/ixgbe/ixgbe_ethdev.h | 1 - > drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++-- Thanks for the cleanup work. ;-) Acked-by: Haiyue Wang > 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(-) >=20 > -- > 2.31.1