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 90A7EA00BE for ; Mon, 16 May 2022 15:28:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C5964282E; Mon, 16 May 2022 15:28:03 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id B1EE640E03; Mon, 16 May 2022 15:27:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652707680; x=1684243680; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+9IyHsM9cyFok+oe5m28vhmwdZxihDgc9YtNdU5dEoU=; b=C++Ke6tk6FOgQw0No/pCOTFO0//2+QrtUu6V2/R4S1aZJfY3DTp+rzob iRy1eLrmxTZau+CWzVOGtkW2srlEzF45bp77r0B24IgHCpimC8l11n6Qb taVMz+ijJgM4x9eVahRX5H0FeMxp+UyX8uDDfBUNUknN2SFbkpGwU03Xj hQpKlRMlTE7WFwLsCt5IpPh+/q6KPQl3ULfr0+3Q99B1Jh1ODO+jsiBle +8dx5cJ6Gib/UuQUFzBtwnTNcLBx8M4Q/3nFsL/cRRKQWpQ2clTZgGK0m 3r6P+hRdT31aylTvJj+Wyi4ihk57SSaoBKua/h6b74kAve4QrWGSwpZFF Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10348"; a="269657522" X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="269657522" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 06:27:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="574016056" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga007.fm.intel.com with ESMTP; 16 May 2022 06:27:58 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 16 May 2022 06:27:57 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.2308.27; Mon, 16 May 2022 06:27:57 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 16 May 2022 06:27:57 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.171) 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.2308.27; Mon, 16 May 2022 06:27:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjG17yQiWRVKpSczwhUVqMJT1yDAjMSnUaNMxAuPU4A2UWOkhfOl3lRnTJ8dJmHpTKHFQbcE+2LYr7uT45CgPGFNOBge6rZ8o9R1YwpNkVlwYrzKE/nMyVJ6qcUPM1lJwdHLiXN+AfBKDakfYulcKZNRlpH+BjtiD+Bh/Uj3EeWkAgpH9fk+5TNbhbdM+SwbSVjO9O9k9zM/er+gDaut8z/kv5gGc7aOXQh3uEEEehPCI33LmXGEBe5rP3/+uB8hP1NTodQHUCD8n2WTh7/n2L683+IxZceGX3H53t60/R/mDHlCvWvR+He+OqgID3xcFUln3uQevaxz9AzlQApD0A== 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=87Ain4AfJhFsKwljzNdG7QnnVBzUyv5IgVQD1/jcelI=; b=FeOQU5ghMXlXSPlNEuzYAwZnx2KZlvSAXHzQHmQr7X5Kig6vg7yqgQ1nyaOuTc1vc25NITqg8YXy7VQ2wtSMsx3TchgZqdp6HZBDZNATn6HRe1+LSoXXEFQNnH4Q1A/d3wiTNMA4TU10px482DCJRQTtevMXa/iQrgJmO3rJn/AtIuapx2IJqrqAbsCeECgnURhQWCtzbgE5zXm0BjYNjRIYCPIOs39ApG/VcWV0bR3BXrsQJZiUA261y7MlClLU1KnEnZ94v5kko8KQsG8O+FF09p4s5VooYA68tdlWoHwW3qFhbDkZlhZi3xPtS9CGJg1eZvwegRmDul+Bmv7uPQ== 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 Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by DM5PR11MB1562.namprd11.prod.outlook.com (2603:10b6:4:6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.17; Mon, 16 May 2022 13:27:56 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f%7]) with mapi id 15.20.5250.018; Mon, 16 May 2022 13:27:56 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "jasowang@redhat.com" , "david.marchand@redhat.com" , "olivier.matz@6wind.com" CC: "stable@dpdk.org" Subject: RE: [PATCH 4/6] net/vhost: make VLAN stripping flag a boolean Thread-Topic: [PATCH 4/6] net/vhost: make VLAN stripping flag a boolean Thread-Index: AQHYYGrckdqBrk8VNUOwEUEUUnPSpK0hkJaw Date: Mon, 16 May 2022 13:27:55 +0000 Message-ID: References: <20220505102729.821075-1-maxime.coquelin@redhat.com> <20220505102729.821075-5-maxime.coquelin@redhat.com> In-Reply-To: <20220505102729.821075-5-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ce04594d-c328-4390-d3e6-08da373fe328 x-ms-traffictypediagnostic: DM5PR11MB1562:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jsLpinvHNSe+dX+rM7fGKSiUkehd4oopr+qpZdU81wSxq9E5X02XHe6mm5CiVT+D+rOhk04Un68u7nCcOY/b7ZtUVBMOKjSkoiG9dMQOpNOVMrY6y4yD5RW7pYvn/xOYvUXGV0Es8t5wQxdnnnAMj1jjZTJkR5NHmJdrLeJbg41Hsf9vX5CkkhrcDOgMTDGTFhrBLWxFbD/yA1jwAcAJkvfTZOZvPODn44E0g9yA/k1GM+jv98ZcYz5dLGUWhtiDbdaUzuQDiMW6wO5z1C70+6Eajl6Db670YtEkw2Vq0LIfCmP2ygsjiK/+NNmoAEdWZUHGciQsqUQ4Sja+5EJUxvWZYklKFFuG+uWcVFXr5Cr1c22iZhgFkvY1kW3sYzYPUodJU5XZzCA/8VzLhzmv2DwmdyQrOxEGLMsYOQKVqjbft38eR1lD22c+IYSF1fnFLKeIT8nX6CNN2sDaQTyt2pl0eZ8i5Aiae/AknCtDzuWqO0pVmrle8bSRqTBwVnhUhkUfTWGQPiq0eVBkB+h5RdqXBsr7SRQm9YCbk+t2YaEaGN3I3mm9QLg9HX0v5X2mHufHNCRuNpQ6+aNxlRBV3ah7f3lXWjDXNLyvjEtbAjeytWvJ24RggELVp+XtDLvOBaZbTm62TukgnQf7KppzQ/48WRDZDUqOGr1Qsdvv4Tw4ezdxKHfEI+/DCcvYDIH8c7QlyKPban1FiyNlx+rGokfYkucX+RMhq9+CWLWUNWk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(508600001)(6506007)(110136005)(38100700002)(55016003)(2906002)(4744005)(8936002)(53546011)(26005)(9686003)(66946007)(52536014)(5660300002)(316002)(82960400001)(64756008)(66556008)(4326008)(66476007)(8676002)(66446008)(7696005)(86362001)(76116006)(186003)(122000001)(33656002)(71200400001)(38070700005)(83380400001)(168613001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?O6vNRWdI9dAJ7tHz+UFseHBBVRhIA2UmURkvmD1JrGNYAN+uU/HvlYOVqjoy?= =?us-ascii?Q?nw1Wm/y87zUUnNNstT8DMxmsrz+XPIG0gVSRRR9+U4IwySfh1OJTVBOK8b+Y?= =?us-ascii?Q?jGmhozrbJnwbu3P58adfnw7WUpAPoqgT4xsXJ0oGvIsvPVVARW3cn6rZxrKt?= =?us-ascii?Q?oLoLhDj1SnzeFyjaNWkjXXN7ZCXbgb2/+SFkYC2Pi3T1qIekVsSvxKd+GRKS?= =?us-ascii?Q?OvCums9ydDYdAkQcGqZOy/P9iItW3e78NPTcf0jXdspHaE5ZX7vkr63Y5iIz?= =?us-ascii?Q?PMyu7D4GtQ3mIeup/2b6mhG9pJ3AEPoPcuZhsUl3PULhBCMctzujwQkG8axK?= =?us-ascii?Q?AzIwcPZwFquPjWM5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ic1ONWlmgkQPIz6?= =?us-ascii?Q?6ZcQ9J743qDhYkNzLC6itOeXINkSU8yxdgN3gq8Dixm3rW0Fle22SXa3N6ul?= =?us-ascii?Q?MsTPmSX8vf915X6RwIewe7rKkUb4zGhd1BW33Px6JUxZ/uhqoqCvLq46D0Zg?= =?us-ascii?Q?pMmHUvVI3UhADm5qB3Euw53sYO88QzACQmFHwEb5RRGZvBGoh/0/mLxNxSgc?= =?us-ascii?Q?nFsVb7kIjWocmn6X+Zg3dCKpVEFe9u27nqObwKZTtGGqtkqac//Y5kja/tOP?= =?us-ascii?Q?cZGhwVviInPEcspCVff2rNVZoR4iZFTGLmX8aeG+Gfh7Ym19mSeKfaGs3ScN?= =?us-ascii?Q?7cPwD5BbuBAxmHDbOKaPNFkLUablfZnI4O+au4+87m6fpUveaJ+3C3dakhdI?= =?us-ascii?Q?2Tk4c/NrpzpTyYELXmcewatydyyk1ixiAGgddOmy4ak/50rj9I4cBEWjBUFp?= =?us-ascii?Q?QszADkJJT9ACyfxveppZM6YuBsVuUk9xFtbuQpUs8eN7tj+88cu0GlJvFSVG?= =?us-ascii?Q?7DFUhb25ug=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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce04594d-c328-4390-d3e6-08da373fe328 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 13:27:55.9292 (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: YhuhrE/egaZeOKtZ40oSRQMnPvvXV1u+DmhAWJXlj3DzfX4jdSGA8jC5v7uSLflGGYeDu4r7EtJPtPIHhG7Z3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1562 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Maxime Coquelin > Sent: Thursday, May 5, 2022 6:27 PM > To: dev@dpdk.org; jasowang@redhat.com; Xia, Chenbo = ; > david.marchand@redhat.com; olivier.matz@6wind.com > Cc: stable@dpdk.org; Maxime Coquelin > Subject: [PATCH 4/6] net/vhost: make VLAN stripping flag a boolean >=20 > This trivial patch makes the vlan_strip field of the > pmd_internal struct a boolean, since it is handled as > such. >=20 > Signed-off-by: Maxime Coquelin > --- > drivers/net/vhost/rte_eth_vhost.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/vhost/rte_eth_vhost.c > b/drivers/net/vhost/rte_eth_vhost.c > index 0a2e8d9b29..baa973ad6d 100644 > --- a/drivers/net/vhost/rte_eth_vhost.c > +++ b/drivers/net/vhost/rte_eth_vhost.c > @@ -110,7 +110,7 @@ struct pmd_internal { > uint16_t max_queues; > int vid; > rte_atomic32_t started; > - uint8_t vlan_strip; > + bool vlan_strip; > }; >=20 > struct internal_list { > -- > 2.35.1 Reviewed-by: Chenbo Xia