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 736B7A00C5; Tue, 15 Feb 2022 09:03:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08CE3410F3; Tue, 15 Feb 2022 09:03:30 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id A077940E78 for ; Tue, 15 Feb 2022 09:03:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644912208; x=1676448208; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bVAgSwJvzr4uXYlFW/V7P/xWotDcwwBvkDIpbqEnasg=; b=FvRo3xoTBt2o7Swcwsvm9tvjkiAnmAQ+7Kfgebb5708PV3M1NttJjMhq Nr3Wl383CDPZHuSbbte4Fj63KrDYU6yr9T3vVH3NT4Z9SVGvyAh7+GGCS w9KTyLQzwKWSevtMaWy+rKAg3QRbR/dIrbrb05rgLeqGkfMc+ay5w1EAr 2kZ8pU2JAVdKyD+NI/gyrIwvirhRHxe2uMBdNT83/qJYJVdsOscxcjXgs XzIy9GCJJl7NwJcl5lpdwMfmKvxYVF89EbsFmeg+sVpGSshDX1liF8fYE am4jWOHL4sWzGAoTHDJNv6saOkPrtJ6Crh+8MfzrxmNuVew0sFcjZDnUD A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="247869700" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="247869700" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 00:03:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="632607034" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga002.fm.intel.com with ESMTP; 15 Feb 2022 00:03:27 -0800 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 00:03:27 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 16:03:21 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2308.020; Tue, 15 Feb 2022 16:03:21 +0800 From: "Zhang, Qi Z" To: Joyce Kong , Ruifeng Wang , "Xing, Beilei" CC: "dev@dpdk.org" , "nd@arm.com" Subject: RE: [PATCH v1] net/i40e: add flow mark capability to NEON vector routine Thread-Topic: [PATCH v1] net/i40e: add flow mark capability to NEON vector routine Thread-Index: AQHX8wgQ5Ui8epFju0C/PqYbVGbWqqyUnrwA Date: Tue, 15 Feb 2022 08:03:21 +0000 Message-ID: <93f77ba5b31f4d73837c6741c9a36503@intel.com> References: <20211217053601.776086-1-joyce.kong@arm.com> In-Reply-To: <20211217053601.776086-1-joyce.kong@arm.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.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Joyce Kong > Sent: Friday, December 17, 2021 1:36 PM > To: Ruifeng Wang ; Xing, Beilei > > Cc: dev@dpdk.org; nd@arm.com; Joyce Kong > Subject: [PATCH v1] net/i40e: add flow mark capability to NEON vector rou= tine >=20 > This commit adds a flow director support to i40e NEON vector RX path. >=20 > I40e can have 16 and 32 byte descriptors, and the Flow Director ID data a= nd > indication-bit are in different locations for each size descriptor. The s= upport is > implemented in two separate functions as they require vastly different > operations. >=20 > The 16B descriptor re-purposes the "filter-status" u32 field to indicate = FDIR ID > when the FLM bit is set. No extra loads are required, however we do have = to > store to mbuf->fdir.hi, which is not stored to in the RX path before this= patch. >=20 > The 32B descriptor requires loading the 2nd 16 bytes of each descriptor, = to get > the FLEXBH_STAT and FD Filter ID from qword3. The resulting data must als= o be > stored to > mbuf->fdir.hi, same as the 16B code path. >=20 > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang Applied to dpdk-next-net-intel. Thanks Qi