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 DB26CA034C; Fri, 30 Sep 2022 09:13:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7585F40FAE; Fri, 30 Sep 2022 09:13:51 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7A56F40E5A for ; Fri, 30 Sep 2022 08:45:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664520311; x=1696056311; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=E5JfTjyLZUbLpiHWWk/BxwejJbDo9UUDgBQUB+wsxkA=; b=D8FWljuYoBlw1m6R6qdTomy6jtY9WTHSo1ZUpY6ymFD8Uxf0f8Nuw24G fStbhzm/a6IsanlotNpHobMzQXKTF4OaEN2lR3uXuVfRf0yfSkM0WBAaF ErhkGGRBtJA6Kn+GVBp+GKf0PhtWr36MM/0lnVO+lG/EN3D6lViZHa3yQ Wjx1YGQvAJ6llKn2QCmKmprOe8jnJ1J8MZPW2SxNR1flbNvj6oaf8tcqL NFRmbHX15FIeqo0xmXBS1MVS8xTr8rRm3qNYVIuNWN1t6WMsn5XYk+bv8 IZDFwmOFjQUdbTvCDc244F8zUZ6KXQG9yZadiGblAitMehGHJyDd4auD/ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="299721958" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="299721958" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 23:45:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="726744903" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="726744903" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 29 Sep 2022 23:45:10 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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, 29 Sep 2022 23:45:09 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.31 via Frontend Transport; Thu, 29 Sep 2022 23:45:09 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) 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.2375.31; Thu, 29 Sep 2022 23:45:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=itveQoVwACwy5FRXLw7Ne1NVbKacfzEgyZHCUhjF64YAmMafkppqBGv8vZeQlr7j7xGwu3Q+SspXCABFoHNY4bWNrP2UclZIM2xNomC4g6Q3qez0+XlGsuNAAp5CJwfy2V00kCnUgq+cDVdsg5ryEfxk7bi+Tsx8WcesrQX+zzRo/M4uA4Jq/AUmJ9WMI66jupuBEQzf5kqtTPqyHYwC7vDVfulfWLaDuSvfwLcDO4Y5mQ78LcKfv4rAlGwNnDA9U9V3jotjbAs9cJ3fAe0gpuMNTLfbRERfRKyFSSEuCeIcBuNo2WfN79K1tx3aHiqErrf3yRu3oPaDQJ23nMBYWw== 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=E5JfTjyLZUbLpiHWWk/BxwejJbDo9UUDgBQUB+wsxkA=; b=NSxW3Y455ssf1CFoBBGZoDXXXHTYOllnwUF+9J/LaqmcQ8ml/8gdbFvGeDcPS0Ab/TqcxzUdtzx8wA48QOwOwQC9SiSNbuzxnCSn1uRW/AGcK71ZUdECK8l1pzXzW/V3MBY1uHrU/fWVOyS2yA5zDvXouKo3d+VobX60PL7CIXnLIrZe/MnEJNwwc1/ZER4w0y+EwL2d2k3c9XYw0A1y1sao2NpXSjVm1i/QLvaLiHOKUX8Vx/JV+WhDdRn1iBVeJpZE9i26cHdl0k54N283pRrGzPf8cB0qrAMrvYNv1di5AjoAAY6cCjntzBoRHJJfsPeJB8JTxb1y0ggbAJvOaQ== 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 DM4PR11MB5971.namprd11.prod.outlook.com (2603:10b6:8:5e::7) by BL1PR11MB5254.namprd11.prod.outlook.com (2603:10b6:208:313::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17; Fri, 30 Sep 2022 06:45:07 +0000 Received: from DM4PR11MB5971.namprd11.prod.outlook.com ([fe80::6405:c026:bd12:85d4]) by DM4PR11MB5971.namprd11.prod.outlook.com ([fe80::6405:c026:bd12:85d4%7]) with mapi id 15.20.5676.015; Fri, 30 Sep 2022 06:45:07 +0000 From: "Tang, Yaqi" To: "Wang, YuanX" , "dev@dpdk.org" , "Yang, Qiming" , "Zhang, Qi Z" CC: "thomas@monjalon.net" , "andrew.rybchenko@oktetlabs.ru" , "ferruh.yigit@xilinx.com" , "mdr@ashroe.eu" , "Li, Xiaoyun" , "Singh, Aman Deep" , "Zhang, Yuying" , "jerinjacobk@gmail.com" , "viacheslavo@nvidia.com" , "stephen@networkplumber.org" , "Ding, Xuan" , "hpothula@marvell.com" , Wenxuan Wu Subject: RE: [PATCH v6 4/4] net/ice: support buffer split in Rx path Thread-Topic: [PATCH v6 4/4] net/ice: support buffer split in Rx path Thread-Index: AQHY0/TWVISExDnBUUmwCWrze+lvv633h15g Date: Fri, 30 Sep 2022 06:45:07 +0000 Message-ID: References: <20220812181552.2908067-1-yuanx.wang@intel.com> <20220929185910.1740782-1-yuanx.wang@intel.com> <20220929185910.1740782-5-yuanx.wang@intel.com> In-Reply-To: <20220929185910.1740782-5-yuanx.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.500.17 dlp-reaction: no-action 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: DM4PR11MB5971:EE_|BL1PR11MB5254:EE_ x-ms-office365-filtering-correlation-id: 1a7d7257-cd43-4766-ff98-08daa2af5002 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: u6o+txNzF2/am/m8DiZHPkZvEUd4igm9PA9RSUHvI0Q1RNz6aoSg0FuRsibRyQVofiA8pth97THdnbUbMe8qhaEKdbKT6DN79Jw8v5LCEwjYhBx9zWkyJezefS2HgHllqflTgQZ33gi4ZJdhs6zSdot2Lb3h4MJroDLoBmc4iTazjRKb0tFxPGppQEaeeiRR8PNL7iWMhI1K+ifUbLpjq7y9YTB1QDnQFo+km4TFSr0Ho1v/8HeFeNQNu6jr7qZ9YpeOSXrsIqAaJgGZlVcbsHRZnJi1b0xkgypmbIRZ1O6CSnkCbog05WhWoDOH93LWJIeFN1h+6WqpZxPKF9XzAu7Zz6NX3PA4KLaFj8c7/rx3Y8qgebIqRox/RmOIXmEeP+WqaOP42XhyQapsPLmr/+6ePlk2bMkWpdttqaHEup/dQjShZOB4/7Al1+86aDKQiCgbfRjWNqypwgvkF659tBkEAO5YX+DE0A4kUNx2uN3o3XTQdxkWZkSr+limJ4uwC8LZgULZXUSz3XsIDl5n/gP0JZxeTLbgMGcX/eC+dU/tNuux8vhOoXF8E9MG86TEPHxxcg64us6V7td/LA9L0CrBCKpWD1NdmxuR9loGaC7+Z9lBXdAPEh/txOmKgPQf+W4OxzphcLcIOZDabozaKTqDUCq0weOX2fveKfbUejfqlLntPKgTUQLTuoJpVEgaQNzIuC+ZEedFJpp2Gc/UWzOPSC9lPUcz1I4DjW4FIJl/9o5/gfWg2FCnE/CpBCuAZcHH9fPqepWXnKC6ain2yg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5971.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(136003)(376002)(346002)(39860400002)(396003)(451199015)(66556008)(86362001)(38070700005)(66946007)(316002)(82960400001)(33656002)(8676002)(122000001)(71200400001)(64756008)(66446008)(54906003)(110136005)(55016003)(66476007)(76116006)(4326008)(2906002)(52536014)(83380400001)(38100700002)(6636002)(5660300002)(41300700001)(186003)(8936002)(478600001)(107886003)(53546011)(7696005)(6506007)(9686003)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2pUArRrREkKA68mGyys0LtZLyJVPrjVGKs9cnt89Lktcf/Lo0/x7a2ExioNB?= =?us-ascii?Q?CNnGNeGLfwWMfcXIzIY8w9g/PVMX5JFHAe7sm+axGHLvaPCvRT5c9pDm1BJ0?= =?us-ascii?Q?uwdy5tzG2CinJoewq5KqvH4my3ZGRXXhGG7B98/6DQiz2CgWQBNdAkirOCMQ?= =?us-ascii?Q?cJzVQQsqA8cT9FDF1sAMlVxiB9viTikD+Ig5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ii?Q?CHKY+FYvr3P0bMI1pqYRiRheIreCVmnncuV7GrPdaT5D4HvEWoTAv8EtCcKa?= =?us-ascii?Q?0BtiBzURMBuC7FkUWo4LBKEDtMVlgMCG92NEkAUJzYg4MRcLi2CXkn+/jzCo?= =?us-ascii?Q?YCPJGUnpDX3VmlI9e4WGU2SWhEQZQ25VFWD4bvK6MQWb5W0e4GhljXzxPXY2?= =?us-ascii?Q?J/uDWEzfUAkqehqPSdlhE59Wo0CQwGTmFl2Z7yHylvyaOERB+XOQhsPGAsr6?= =?us-ascii?Q?mol/WKVYX+VUjoZQxdQxRnsFQkvmgklEjdhHlHV4oVZ4cV7FglSEjZsn1TRm?= =?us-ascii?Q?Qnm5L6g1NTWpFj6SvF3o61L1GtX2+rFX06Fqs8AztUVu+Z0MdJ7iK+9McS/K?= =?us-ascii?Q?lG9QgHTIGHXICLht1gKQbt5KAt8BzmspefKy+8PE74VhTxpR17G/hOzERhPx?= =?us-ascii?Q?9wxZ7nif/AnLbwomuk5+4esQo7or4G2x+WLKTGe0XHRSr5FL9ODHudlh8Qrx?= =?us-ascii?Q?F3JvzalYlnQaBzgnTi4yGPu8io3JXUMa1xg0XJjQ?= 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: DM4PR11MB5971.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a7d7257-cd43-4766-ff98-08daa2af5002 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2022 06:45:07.1383 (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: /23bp7PxZpq0xiVHZoI8FbmaI+vCi/HbMFrVxL6rGWxUlugf8tnVfcayPYi6JL1KMeB/HL+lFCa+Rd4hD7rryg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5254 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Fri, 30 Sep 2022 09:13:49 +0200 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: Wang, YuanX > Sent: Friday, September 30, 2022 2:59 AM > To: dev@dpdk.org; Yang, Qiming ; Zhang, Qi Z > > Cc: thomas@monjalon.net; andrew.rybchenko@oktetlabs.ru; > ferruh.yigit@xilinx.com; mdr@ashroe.eu; Li, Xiaoyun ; > Singh, Aman Deep ; Zhang, Yuying > ; jerinjacobk@gmail.com; > viacheslavo@nvidia.com; stephen@networkplumber.org; Ding, Xuan > ; hpothula@marvell.com; Tang, Yaqi > ; Wang, YuanX ; Wenxuan > Wu > Subject: [PATCH v6 4/4] net/ice: support buffer split in Rx path >=20 > This patch adds support for protocol based buffer split in normal Rx data > paths. When the Rx queue is configured with specific protocol type, packe= ts > received will be directly split into protocol header and payload parts > limitation of pmd. And the two parts will be put into different mempools. >=20 > Currently, protocol based buffer split is not supported in vectorized pat= hs. >=20 > A new api ice_buffer_split_supported_hdr_ptypes_get() has been introduced= , > it will return the supported header protocols of ice PMD to app for split= ting. >=20 > Signed-off-by: Yuan Wang > Signed-off-by: Xuan Ding > Signed-off-by: Wenxuan Wu > --- Tested-by: Yaqi Tang