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 DEAEDA00C4; Fri, 19 Aug 2022 03:44:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8031B40694; Fri, 19 Aug 2022 03:44:00 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6A04740156 for ; Fri, 19 Aug 2022 03:43:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660873438; x=1692409438; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=gDKAiAyDnyq5jrOY+WC6v/VnrNeC7ZXseDCgdv7lk3A=; b=bmmixmJS5bdu6fqwH0w//ppuZjtTsXPUf4O5KcUHnjwtAXcydlvOt8ss ZcPI7Ecm2qfmauvI3i5FIklGcKFDMz6MR1uKRGacLTqKZ1rq+xJ1ESeIO nSGCAZWfworE743vbgU4N11f8kKoR83I3rSfGngzd4LedrJXRWJ7QjB4s 3DZ55yH+/g194gIvEdlwKsYgny2i4sh6v/8cRCy19IN9AghgbHqyC232V SOt2kuYSqs7f/P+S9frQpeHEGDGpvcOijihOtXV/j/2qgfLtkOGwiWWtS IrE1o6o1YsVYFcfDxk9cS+bW0yK38j6uizgo7M0pEDgMDzqWp7j4wYdus A==; X-IronPort-AV: E=McAfee;i="6500,9779,10443"; a="318936973" X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="318936973" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2022 18:43:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="783986080" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga005.jf.intel.com with ESMTP; 18 Aug 2022 18:43:48 -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.2375.28; Thu, 18 Aug 2022 18:43:48 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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.2375.28; Thu, 18 Aug 2022 18:43:48 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 18 Aug 2022 18:43:48 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 18 Aug 2022 18:43:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZBdyY+TR8QFRe6n7ViIJnx1kCgNXrA3EtmwPUmRRQ3HqR8mHlIwluYs7CxH/SJCZ3boNFLeBpm7gwDXZlKaSAtCQhuYsuPIRrHgTiinnUEU1aY730scQL4KIg0ww1MIJbVNjyJDbp5Zli6zuwHMbXS/DVznkNgqtjuNt5YVSoWTNzMhbDS8s7kp7kcceEW2eRCgfI7RdW6zCyeWq/94OcRUzsVr0kP9dzRhYkeIQJ74YiZFq7Dw76GMqll2GV3hj1oPTzJn1+PxqY3TTCNMtKLUano+cJvkVQAqa7qFPKwcxnULy3JjoKrv8INs3qKE5+XRHAkTOQXD3n5/8G6hLsA== 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=gDKAiAyDnyq5jrOY+WC6v/VnrNeC7ZXseDCgdv7lk3A=; b=Zjuybog9jnPs1RYAXoSxzgSIjYXDHQgpM0KIIAXov9T6utgE7SflbEPF4tPbMsfE0/flY89gdJx0OQ1gU3rOIyxuq3MI4shev5yoIcDh+3XT3O8gDm0C5x+wkpq6+ZCunsGFr4+G2YkQ7FbXXKt05H5Og67hGjsZDggXgclSS151q+p3/K1lj5GP4MqY4SMVbxzWsW4kLYf/Yu3gDMBdNNULDtXESHEzIprKIJovmff9DYW3DlmUyVRuQJxQgPl9pWOWAHaHZbKXOr/LWIli4v5iyoYuNB1QiW1N+LDAczLJGfKaXCGf7OrUAS0lwxQiEw0frz16x7TgK6U60HscIg== 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 BN0PR11MB5743.namprd11.prod.outlook.com (2603:10b6:408:165::5) by CO1PR11MB4915.namprd11.prod.outlook.com (2603:10b6:303:93::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.18; Fri, 19 Aug 2022 01:43:46 +0000 Received: from BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::f9e9:e181:d080:13b1]) by BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::f9e9:e181:d080:13b1%6]) with mapi id 15.20.5525.019; Fri, 19 Aug 2022 01:43:46 +0000 From: "Jiale, SongX" To: "dev@dpdk.org" CC: "Liu, KevinX" Subject: RE: [PATCH] net/i40e: fix single VLAN cannot work normal Thread-Topic: [PATCH] net/i40e: fix single VLAN cannot work normal Thread-Index: AQHYstk4kh9hgMZEbkqlivwtj1R33q20Tegg Date: Fri, 19 Aug 2022 01:43:46 +0000 Message-ID: References: <20220818160351.1353003-1-kevinx.liu@intel.com> In-Reply-To: <20220818160351.1353003-1-kevinx.liu@intel.com> Accept-Language: en-US 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: 841af861-aee2-4bab-fb94-08da818441a2 x-ms-traffictypediagnostic: CO1PR11MB4915:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gjjP6DUhwWZK08x6qzJfObR5Rei7wlJJAMahTRVlPYI54QFRHbcOR4eQJgjEORQCJO76BCohGiid8LeSJsD4WR3Tf/k1giBK70Gm54fYleQGEzktnIB0nWOSpjtXv9p5+Tjxb1jeAqmuI/mG26rxFQ+e3c4tqhx1Z5NdC7Sby3NjqNa+qktNid5gMpi1ZBddZIi3/XQGmE+4kPb29q79DARiIxTl/VqJgPbRgsk64m2W4QJ2I74z9dtzdKTPl6b9Uum6nTJPjnq80Xvzl5s6qN+hoK1ZRR4UXQOwydA/NJK39m8Iy/ISHYCNPoFnBkeNawT98Ks+SlyT9VeaSF2j4nZXie+f1hlKGrgXzHnDklIM8La93pCThZzx1QVIHOeMF1immYILgujj2JmSuMrB8PUVKtMAWV1hz30pAo1FFpZf9f4vBcAetb7l4EH7pCtwdT6tZZw6pY9FCwwazxIziRU7TePEiOE0WU0/gy8hkvjsaObGKQAJ/p20vvFi3rBL0efPhYbIsC13pmnORsOHRSHLC8PwuD2tvbLWV1a92KcHQtL893aECy5xJE4FKOJ1MaQKwsFW8TNh9e52rN4Rd8wc/sxLx/qBxXsBqewjE1xPAcuscYA82vBjrmGAW8vmVd+G8XkrqU4UeaKqK+vllNxuW8kj3i1sDmGXYQjdgGfzSaxRM5A9Aceypp5qKezMzZvBOri8m5HGSy75jHLxhvPMt2by7bQT1Am/Fnrpm6eB9E3VBO48chCZu8Ua9OOH x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5743.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(396003)(376002)(346002)(136003)(39860400002)(66556008)(4326008)(66946007)(64756008)(66446008)(8676002)(4744005)(316002)(6916009)(5660300002)(52536014)(8936002)(2906002)(33656002)(66476007)(71200400001)(478600001)(41300700001)(6506007)(7696005)(107886003)(9686003)(26005)(55016003)(53546011)(122000001)(86362001)(82960400001)(38070700005)(83380400001)(76116006)(38100700002)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oTXLewcDFhm8X+Ls3OjNXxWJTTYGA+xASSvmXUuLYEHS9wtzNWBJ8QyJsITz?= =?us-ascii?Q?UDv9tUtPAEhibmsEKsxb55lJTDOuoW8jSX2R/aYrmXMAoHPZ5q/9c5UdwgAY?= =?us-ascii?Q?MxKZ0Lye7paD9fNk11a7TqKKA4vVVjMKe3AxPSHxmxOGOZUMGQhsauvYAZVV?= =?us-ascii?Q?yq2j+BaU58cBoOtn6uEgh50vF9QhE4GqaoCq7ByGrasJH8ZlAZfqBkRw3ktE?= =?us-ascii?Q?fgYBGMJIqHmkJGMBCX01TfFqN9njVsnevXetw3iDQR8A0GEHPJprC3Oq1Ph4?= =?us-ascii?Q?NbONA1I5RfWjSANdnCW1hxbPHy4NV3e12itzI3r/1BrTgVpsD+Cshqd1zjog?= =?us-ascii?Q?1VHC+74ruALF3DR4/OsGsvPpacfJtj8hASos6OcR9Ypi1eCwISGDU97wV7nn?= =?us-ascii?Q?lTOOD4vzpGUK3zB6NykN3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q?myZ9XCUGtXw5qOepczK56xM4CKSRj7LaDx2fpzUQ+lQFeSRF73V1fnhM2lu0?= =?us-ascii?Q?+Xtey5WA1r74xO2a0IQ/Qkn3ZJiP1SHYaTXBVSasKiyE0IZW89bCVxB+YbyK?= =?us-ascii?Q?SKK55Ob8VtceabjawFnJA/Hvk4DWm2Il11BgTLK34XWLJg+WFFy0LSEBc3I3?= =?us-ascii?Q?q60YH2Rt8fJCELLg1lxD+L8iMxHEfjoa6CR5gJcYt+KmNZMwTnxz8FhK901P?= =?us-ascii?Q?wZDmba9zLTp7rPoEsqHkkPiMXaf4Au5pnxNzWUZE?= 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: BN0PR11MB5743.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 841af861-aee2-4bab-fb94-08da818441a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2022 01:43:46.2900 (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: r6bfWbwdvCrFFHdzWwyAW8YnWLuK2IwrsSY61m4bNli/iEMzEYIR3V2Lob8hlz/W2zD5ZgJfNTaMLIcb47KIuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4915 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: Kevin Liu > Sent: Friday, August 19, 2022 12:04 AM > To: dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Liu, Kevin= X > > Subject: [PATCH] net/i40e: fix single VLAN cannot work normal >=20 > After disable QinQ, single VLAN can not work normal. > The reason is that QinQ is not disabled correctly. >=20 > Before configuring QinQ, need to back up and clean MAC/VLAN filters of al= l > ports. After configuring QinQ, restore MAC/VLAN filters of all ports. Whe= n > disable QinQ, need to set valid_flags to 0x0008 and set first_tag to 0x88= a8. >=20 > Signed-off-by: Kevin Liu > --- Tested-by: Jiale Song < songx.jiale@intel.com>