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 6358EA00C5 for ; Thu, 27 Oct 2022 10:36:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B85942BB0; Thu, 27 Oct 2022 10:36:15 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id C6AB342B73; Thu, 27 Oct 2022 10:36:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666859774; x=1698395774; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7xjbs/ttwLuZaTyShyKqr6eQhbWc7toqAfzFQ/OgmKc=; b=L+Tf3OhBLIxxNKcy+hVug41Bh3VJzmPdn2hafTbiLmSbpS7C9dumvJnu 0wqahArucCzlVDhuTZOmNa8ZmjtXZ61LnessGXqzWPekq5lexR0R4Okdr yJRVnHcMmDPNImKas/uzVtGQ2h9Ulwj6zHsneTOfcHxhZ2ZtKjRDwdBWF bX4BeAkkuglntz5RcQXGGWdMN2ITCQR2+neDn8Xhlx0eofqF3BY/oktN7 /YDOTS2qnOn/WNQDcifmVlrVE3lCoBsT6vKeMqRSy/NM3u/M9tlpOIvH2 D+xvTz0arT/EuHH7Tt8ytZ129GJehK9XlX12Haz0fBujFcoANAFhSh3Xy Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="291468102" X-IronPort-AV: E=Sophos;i="5.95,217,1661842800"; d="scan'208";a="291468102" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 01:36:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="695717442" X-IronPort-AV: E=Sophos;i="5.95,217,1661842800"; d="scan'208";a="695717442" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 27 Oct 2022 01:36:09 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 27 Oct 2022 01:36:09 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 27 Oct 2022 01:36:09 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.169) 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.31; Thu, 27 Oct 2022 01:36:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DtSgFv4X9//HQMtAZ3/fss2CWL6iituyjRcmKhTFcUq2evdAEoqQIJcPLBeGbq72SzybHLbsUl9+GCHQdfKfqvBfaRACioyuiTGQ/E3iM5ZeJih9CtsY9X2rzBniuwC7UsaGXAbiD/Ggu9PMnwaeN3NQdERr9rakgSkMh3bFI7iBygsNx1kuZzlEcKefizjLvGLMsODgvLJas/UdLKsZtzbPK8/n6j37Sj26B7S7CdI+gmaf/o3JGDqjEX9m1EwSoj5PKuyhemczLTN+Ismaqo0GeIOo2OP8FU6ZvZHqUHe112nsKblP4SD/Oz3ceMp190FbI8g3t4/Q0Q47bxijAQ== 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=S3+pACb6BqGXQPFVUBZZYJerTbcgl3exuY2pvdhSRac=; b=mATcmZE1O99iDtoTYEWTrZwCTZ1uDUmkLQeFIhB3zWcDJ6h/AiSZTIhEOBaMQwQwl6vhesWDAWJ5xAspmYLzeC6I05TYazPKnQMRYs0ofcIatbYeHcKRRsVq9VEPUi9Re/OLfjfX0GatfnuoP8ssOMcY57RVVwtlIWK8mIpP+520uddkkIenblLcL97peayLrC3yTyzs/xjJmFF9xnvbyGs6uo+qfuRMkRTVooGEB0XyVjKfra9jRx019DPd9O8DJn4bHy1PD6MhYh2l8l0XCXKLagk7k/x08ES+IgyN9t+K6o6lZ7aI3ZMxUs7pAkbZ8DO6+Of6KY+zP+CEATtreA== 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 BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by PH8PR11MB6610.namprd11.prod.outlook.com (2603:10b6:510:1cd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Thu, 27 Oct 2022 08:36:07 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::8938:3719:8c0f:ff97]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::8938:3719:8c0f:ff97%6]) with mapi id 15.20.5769.015; Thu, 27 Oct 2022 08:36:07 +0000 From: "Huang, ZhiminX" To: "Ye, MingjinX" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Zhou, YidingX" , "Ye, MingjinX" , "Richardson, Bruce" , Konstantin Ananyev , "Yang, Qiming" , "Zhang, Qi Z" , "Lu, Wenzhuo" , Junyu Jiang , "Rong, Leyi" , Wisam Jaddo , "Xia, Chenbo" , Hemant Agrawal , Jerin Jacob , Ajit Khaparde Subject: RE: [PATCH v4 2/2] net/ice: fix vlan offload Thread-Topic: [PATCH v4 2/2] net/ice: fix vlan offload Thread-Index: AQHY6Rygk7xroT5QJUmv/AYEtsMY4q4h68vw Date: Thu, 27 Oct 2022 08:36:06 +0000 Message-ID: References: <20221026171007.654038-1-mingjinx.ye@intel.com> <20221026171007.654038-2-mingjinx.ye@intel.com> In-Reply-To: <20221026171007.654038-2-mingjinx.ye@intel.com> Accept-Language: zh-CN, 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-traffictypediagnostic: BN0PR11MB5712:EE_|PH8PR11MB6610:EE_ x-ms-office365-filtering-correlation-id: 57f0fb38-933f-4a40-18be-08dab7f64aae x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AlMYP2CX/37MntNLCwVviGkA4SYxIbDdNgiRxJex5ar5mBl8NqkM+hxXLKVv4okPxhwufu9mfIWUKD5EBBAuhGzl482nYYfBw48VKUnXReSuwmc4U38tRhz91jPxzCcaq5Dl9qrBCiVwtvwnkaM1ZC/mIwBFZLSDpjCJlEhrPbloQ8f50myT2lTmegoSYNB4n3ZHMitAS1K77A4eZtahttKv2uPqChLLglgW0JkRg6meckiYqkdsPo5HoJgWe24ZX4rJxpNNyr4DyPvjl6cn/NV1e/hQ62dmZSbXHBl7a2I+b+HTa7h0ewZDL1DmLZqSxH0+KxKxJXtgkhVGk5bSVjQF6K0DlW3JHwi5yliN1uPwNZOPPkv4izbDgNruMhkHP/BE0IAtEOtaDTMI34I2Xf7MbCJt9ZDOT892Uu0zrzKHhmaGBWQ/7eXMwFi8Y8ZHF5C5RODRTRh0LpPtTeycZ3/qFZtZ2QFpJrZoQc77Q51EGnZE2gLfl4zZrUK0eoRVuPVvqAuCOfhS3Xy/47/HutUJE2gORvgGQ4lj1yAaThAnl0KPOel9Le5goIAJ8IwXcozdz/6NkuLcd+60PbVeUcn8WS11axR1PBjtPEDKNgwVx4vwP5UGNnNzfmUvgqYl5hIt4ppDhHzNPPDHj4OzA4aYJbHon4upPlQx46moxzScHXziaftaol7QzvlDT+AcINf4txJlUQbRklzzjCgIBjyK+ZJ7/4wXn0ML/KlaPAvvRRRmWU1eTxHJEFEQz3ssSbCap1y/U5mDN7XVELkBDw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(346002)(39860400002)(396003)(136003)(376002)(451199015)(8676002)(66556008)(9686003)(4326008)(54906003)(8936002)(5660300002)(66476007)(53546011)(52536014)(26005)(186003)(110136005)(66446008)(316002)(76116006)(64756008)(122000001)(38100700002)(38070700005)(82960400001)(55016003)(6506007)(33656002)(2906002)(7696005)(86362001)(71200400001)(41300700001)(478600001)(83380400001)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3W3I6dDy9Jiw7O132pZ3zvcez9/781sWgO2XDMLDCS4kaDzHY+v0iwca3Ful?= =?us-ascii?Q?yhZwrHqOAtiawK/8EWtLqiCeCgJt20+TI8w8H9mBbpoZNgMoTDFmZWSagVQ5?= =?us-ascii?Q?gLTSPKxknWizUp/XowGwvITD/02CKXgycwS/ha2SfttX826Jzw6BxVrfIce2?= =?us-ascii?Q?AUQZK0AOFT7QgC9QUm15fCCfEsTvB4+TigAONUqM+FShu00LxpsCubH/nnCp?= =?us-ascii?Q?Mkqd3VQwZC2J8559VfxQGoNsHFTFZabFtqt73+n5xthuRZ1n91FibddjLJKD?= =?us-ascii?Q?/gWc1hgo6FqAaM/lhL+KIxbzPogRhOQt3VDO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HcBqkhQNz/GAn7eiavDtEpVHZDNw8r4VTMPzrZECeRt56dZNQ+WS2FbJZy?= =?us-ascii?Q?Xf7DXTWcjMar5/FbJGwJlylmkrVRO+BsbSthRI27Nzp3i+AjdUzWT9WGkD3t?= =?us-ascii?Q?9Xi6rrodeggs4XMNximWgg7D690H8oLbEDjIeSgIbmo3Dw2sOBBB7ncpMO8G?= =?us-ascii?Q?6oiNmqpqkn9ypaLT98f7rdgLHbLUiYY7bSvAPiMcTEnDacsHCm05ks8LkDL1?= =?us-ascii?Q?tQ04obz63EQ7bRP63U2o23zApOOzX9Jn7od3LUvMqMMr53EDDuba/m31Q+zg?= =?us-ascii?Q?ZN2K1bng9rravw3a6Bc3nyJa8jCl0wzTUs+5LdDF5iKYfxtwIhEZlGJJTxs+?= =?us-ascii?Q?wjW12kr3+dmT2ttHmPyfRkrP5E1QUqU/Tdna6WG1?= 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: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57f0fb38-933f-4a40-18be-08dab7f64aae X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2022 08:36:06.8639 (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: LrB4pVPapO/unBNO0BoCIWqJsPoYslOu1PtWe4uF2zvsDscjB94+E2Er1U8F7mRAHIJAX5S13qFAYKk9Rfmsrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6610 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: Mingjin Ye > Sent: Thursday, October 27, 2022 1:10 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhou, YidingX ; Ye, MingjinX > ; Richardson, Bruce ; > Konstantin Ananyev ; Yang, Qiming > ; Zhang, Qi Z ; Lu, Wenzhuo > ; Junyu Jiang ; Rong, Leyi > ; Wisam Jaddo ; Xia, Chenbo > ; Hemant Agrawal ; > Jerin Jacob ; Ajit Khaparde > > Subject: [PATCH v4 2/2] net/ice: fix vlan offload >=20 > The vlan tag and flag in Rx descriptor are not processed on vector path, = then > the upper application can't fetch the tci from mbuf. >=20 > This commit add handling of vlan RX offloading. >=20 > Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx") > Fixes: ece1f8a8f1c8 ("net/ice: switch to flexible descriptor in SSE path"= ) > Fixes: 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22") > Fixes: 214f452f7d5f ("net/ice: add AVX2 offload Rx") > Fixes: 7f85d5ebcfe1 ("net/ice: add AVX512 vector path") > Fixes: 295968d17407 ("ethdev: add namespace") > Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye >=20 > v3: > * Fix macros in ice_rxtx_vec_sse.c source file. > v4: > * Fix ice_rx_desc_to_olflags_v define in ice_rxtx_vec_sse.c source file. > --- Tested-by: Zhimin Huang