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 145ADA0540; Fri, 12 Aug 2022 04:57:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFB3C406A2; Fri, 12 Aug 2022 04:57:31 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 6FB8F40697; Fri, 12 Aug 2022 04:57:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660273049; x=1691809049; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IdjMHCoeRfuzeCdvrzZeyN7f+UTRdDn3FuUeO83U27U=; b=Db8XeMH2locYoSi2AHJwg2wxAaTPq27MIwYqcSjC0cS99jz3h7wPH/bf 29d29Oept89m+uF6U0M4SkvdsrFJFyWgxc/cox5wki3GyGJxiFb8JfnX5 wMmbASN6BEWMCUjTLt98xPW2Tba8m90zsQv2ka2fpB6sE/BmM5ygU9S83 Q03RXVCvOgA5hvYCt8kbEOxeLd76nhQUd+zOIDbQoyDkrGvVhgNAsPT9a s7qQOj6pLTFPmLW7pWcFcRaUtiRL/F+TJcV7sLCe7SPlR8a80Wf5N62L0 H9/DPBSeldKpYyW4ofAbWFM52/6QpdCKuEA48uNHndSRUF5O1GKK+enJq g==; X-IronPort-AV: E=McAfee;i="6400,9594,10436"; a="271892717" X-IronPort-AV: E=Sophos;i="5.93,231,1654585200"; d="scan'208";a="271892717" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2022 19:57:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,231,1654585200"; d="scan'208";a="851424268" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga006.fm.intel.com with ESMTP; 11 Aug 2022 19:57:28 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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, 11 Aug 2022 19:57:28 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) 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; Thu, 11 Aug 2022 19:57:27 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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 via Frontend Transport; Thu, 11 Aug 2022 19:57:27 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 11 Aug 2022 19:57:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BZSMFJM9v41d46C5dZ2vqViQeQThUZRUxxtZoKyf+AngmMGdwvRQgL+qqWNBBWHKBubHQ6p0hxZrfezTmTUYJH/MPJsGvY5Xp5y57yIzAqax3VcWxzxE7Ogae/R049u8XuK1371crHw8zFHwwLkn24pKkY7M5RXAtALQJ7LihNFHPpnswqwwXvviARwiulS0Q4sTruIlbMvoraCv2LaAjHmsTzlzKG5PJUu6393inyKO0/5XyBYvwjj81aPkj8c4Bkxn4tJrGZv6AMDD5k06tgdeHDBHz64TKTkv0cYCuOZefveFnoCDEbycF8Tw+Nj18I4gZCJZzy2prdZtVCyvGA== 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=IdjMHCoeRfuzeCdvrzZeyN7f+UTRdDn3FuUeO83U27U=; b=aNBXIJXsg32Qy6Q3njeRsUjuy/0d7EO1k27/r+N5ehlfXYpWDEUQ4S+57lF6CR8PUAjpGtEUKiY26OJUVsmZw/HHtBZJAUWgUSFXODHhOEfnfN0xewmnTdLDLiWNMySZhNGBp8PTXMmVeyfG6rqqofhtqtxy6VhRa/uSxPy9WF9uwwFFqukwqkdsGPQ9/XhbS38sSECKgSZWciSx3HOJ84V7c8TJmvPuHnPCA2eO0NccKLl+i4B3sQZPBFM+0PdZoikhpHKpBAvSVPNPyGvpRRyOhS1DyqRwvrb5y8VxJoXBQDWhU00UfyGVjWDGyF27szPHdMKipygPKOYMceVQtA== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by DM4PR11MB5309.namprd11.prod.outlook.com (2603:10b6:5:390::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.15; Fri, 12 Aug 2022 02:57:26 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::dd15:c17:27dd:47f8]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::dd15:c17:27dd:47f8%6]) with mapi id 15.20.5504.022; Fri, 12 Aug 2022 02:57:26 +0000 From: "Zhang, Qi Z" To: "Zhou, YidingX" , "dev@dpdk.org" CC: "Wu, Jingjing" , "Xing, Beilei" , "stable@dpdk.org" , "Zhou, YidingX" Subject: RE: [PATCH] net/iavf: fix VLAN insertion Thread-Topic: [PATCH] net/iavf: fix VLAN insertion Thread-Index: AQHYrfaDpocQg7wasU+qpiV3lMnJMa2qknOg Date: Fri, 12 Aug 2022 02:57:26 +0000 Message-ID: References: <20220812025253.233392-1-yidingx.zhou@intel.com> In-Reply-To: <20220812025253.233392-1-yidingx.zhou@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows 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: 692c6382-2519-43a7-4816-08da7c0e6336 x-ms-traffictypediagnostic: DM4PR11MB5309:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: W3f8Toh4H8f/HP/a2OATSb0LKCCmATpeiH1l9gjFRBmvkpROjFhO1B1BZWer5IzpRkFxLf6XD4hOFm3x7umKpRc3vPdpbzW+9qAgKUzqCSpsmmQ3G/QiKZGLhB770BWwzlieRNIS19YfWMY8MWRI/EzyVMb5lXCOyYH5LCCi3jwA3CcVqcINrxn5kJC6P1mGnyHBfcPXO+RKLRGpcZnOYLa17ZeFYmQzB3L7/dp3jszxHuhEp0hUoZCAl5i0daC7kKCNBaH2Dw+YuHU7ql192BJA5r+z9I6qHhaIcCljT/pG2N6UNT45bVM5GrueueNAEiPZDt5g5X6qS/xWvcDVyX5uA6skilqPXaevOeaHLxUxMJjDvWJ2tJ5hCVHS3qP96P848wc4rYAvxqloR5tECENJRxdMRG2JHqQ+ziwmerWFfuW2oasvOSrnYudUT1flgJRtQlxuBqaHdxVcowwoup8tSzz+iEL5viArkbjebeasQd+uQb+asDzDNeZab8hmT2gbatfbEC4L2VS7kHs1biDaxj4bq5wQ5kkU16yI+uio8w4XZntkByOBTDWdnq2UEXIAg0j1VH56Di+KOjmI17RghqsHZAr8vHJjassOzPeax051zgfIkzNktT9iVG5hDiH1dq8Vd7KDCCEb9qufCDvDzJOldqc38/Mxe2sfUJLTwr6jtKg4OBJb09PmYGQIP+5Lfcr7W6hVmB2MT0skGVu6HDXGY0iROari4+CbVfWls0bw5GQ9UePSa6wZ2tTfCttflw0gxE5MyWebfp4acVGGjNNGLU80T4SxRxd+SLM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(136003)(376002)(366004)(39860400002)(396003)(82960400001)(38070700005)(107886003)(2906002)(9686003)(26005)(83380400001)(7696005)(122000001)(6506007)(38100700002)(55016003)(41300700001)(478600001)(52536014)(186003)(8936002)(66556008)(66446008)(64756008)(450100002)(33656002)(66476007)(71200400001)(76116006)(4326008)(54906003)(110136005)(86362001)(53546011)(4744005)(8676002)(66946007)(5660300002)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WVaOJjU9WLfLiLlbYEz51zDyszHg97xNXJnr/CEqFnuqY+N+txXA43kw6LjS?= =?us-ascii?Q?rSWM8Iomv8f5GtMESH1VBaheLg1W3Awd23Ep8xUscaDiKpt3bhrUGU5zTqjT?= =?us-ascii?Q?nJDr5QC1pxitXIJeYXB5hy/jDjgdVtwcuP+mL+BGju3wcff8xr2uZJv9nos3?= =?us-ascii?Q?2sk2JxjC5OmZP3pdZDhX7P9/5JMcSuWyETxC+A1bV3oawknXsslCsONwWuDW?= =?us-ascii?Q?IZQOz5uERbw1oVVOPd/MCfQuzI28L5Cm1zjfcvHmPXcoHgBusiWQkhwZ7Snw?= =?us-ascii?Q?L6/q5JyT6EgjhNvkt4AKmVt+lXnrhZmMoiL889Sn0gYaGsJB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jLIgRTZowf3h9ATo7X8HTLW7LN30k1pigbor2vYgph+ZZ/DQDSWHn4?= =?us-ascii?Q?9CSsUZSMDRMZWzpniIoQiu6J1y7WfDh3C7tovx2INRIxkPRJ4LCbRheJodgL?= =?us-ascii?Q?1AiR/bMozW6V9rxqN9zVaJgxVZGNG5z2x38beQVACEhDB7MbEnRfCUAgyMMY?= =?us-ascii?Q?RoQAA6Ze3DFYkv+t9XLjyKp0PdLZWqXA1D6zaFQM8Z0MUBbDsXFrim9xV3TZ?= =?us-ascii?Q?FahaaOoJsRmUelmWxS3dE7anWdlEhCxW3Zcyw+RSgUwA+urweAda1RE+aXjx?= =?us-ascii?Q?K70LQIInhTBKZdltgWdfllxvCfHDrF+qZRe8rG3BzNoIb53pw9lZ9qEmLDeS?= =?us-ascii?Q?2TWOs5BqyK8m/24XNeud+zqIIRlFEwmTx5t5O/3m?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 692c6382-2519-43a7-4816-08da7c0e6336 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2022 02:57:26.1922 (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: BRGMGTknD1TlY7FNoHTpyjtcANGSNxw4gjWJ2TRGIKQIZP73ZwRUp0QHrbtz04VtYLtsN23O1ysqThPzn07Mtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5309 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: Yiding Zhou > Sent: Friday, August 12, 2022 10:53 AM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; stable@dpdk.org; Zhou, YidingX > > Subject: [PATCH] net/iavf: fix VLAN insertion >=20 > When the PF driver tells the VF to insert VLAN tag using the L2TAG2 field= , > vector Tx path does not use Tx context descriptor and would cause VLAN ta= g > inserted into the wrong location. >=20 > This commit is to fix the issue by using normal Tx path to handle L2TAG2 = case. >=20 > Fixes: 3aa957338503 ("net/iavf: fix VLAN insert") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yiding Zhou Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi