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 731CDA0556; Mon, 17 Oct 2022 10:50:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 683794021D; Mon, 17 Oct 2022 10:50:11 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id A10A140143 for ; Mon, 17 Oct 2022 10:50:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665996609; x=1697532609; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7uRIEYrhM1MMfhR/ELrDuTCev7ueVp1EUecv5OhIF64=; b=XjLgwgofHMTm0mZ3w047vSAShbdfU1Oflde8UuwZGJINWvvE2oCDpxbb U95Jlx85IjKFJqIvaxkACDMbu93BDjhgVIN23pKLxzP3XH/5wZRRE+9eo 4UsF/4tAQLh0j8h7PDhuWn2inxaSR1CwJ3UMTdoA5sTHY5WalKTePH1Ya 0WHfUCdgC586Jt7Q3LoGEiMIehK+eZTKfjjJOHhBzsgrtnGxJxTgeTVF5 1DjGoRFJAEbdtfFs6dXoUNNoHkXHzOlKQ4AThs+6gUVRqOoMx/0sofVxK +3GKREwS+3spMmoj+sYzPQV2mMhUMfce29ON+4as/ClAR9ywhuCqrVeXe g==; X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="304486337" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="304486337" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 01:50:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="628222711" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="628222711" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga002.jf.intel.com with ESMTP; 17 Oct 2022 01:50:08 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 01:50:08 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 01:50:07 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 17 Oct 2022 01:50:07 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 17 Oct 2022 01:50:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m9e4nmmGXGTRejTVcuCJNmfbTr4FVpfGXNmT00RhVWJ5D+esyJpaO9Xwt4MmKqBOXyYfMciEpUq7VZJU11QCF9pVnjPHPc8R470gjNfHwC5veul1qmjMd4OgsL+GckdiZgJe+NjjUh5ZgFUcYJd9QU+GJKQ5BaNjVwERCCsusZIHziz3rqgDEogEeMXThOOoEgDVpyeWBE71bdWIdNsm0qtGct2Ky2MFDkK+3SFb7D93eTeguLH8ALV8emGFuf+SzCmN10Ysx9ePX4tg0bfo2ciP8YNHsFUa2f7sbtj+7Ycutj1gfXBOcuR7XvmTIQCJK22qgCSjno0QpMlKBKJEBg== 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=7uRIEYrhM1MMfhR/ELrDuTCev7ueVp1EUecv5OhIF64=; b=SOjzZbX3VFCAvAlXS1AhXsIkC1SOKkwc69m6Ok3Q1WIarhtGlwpMCcnx5M8ZPvL0dcW1n7w3VjdKRoTIgPUS4KUBeUxir1zOI0Anjnf1DKJqwu2ZTdrfkEQbCR9mJwPV2NWbysEieTunfWVEIz1PNdxku6I8PB3I/11QJIg6yt5VHqAUasNCXV12m1NLVQ8qxRt7BBzeT/dpj8lOcQTkhYKYEJy19qYq93PE7OMyOIbaOnC2A5rtIVvjI6wgSwxwkQz5notlw5cpprt6ZTu87zMJHvAfXMRuVZBansQ1g9DItWYe0nlXHxMy6fpcDpjonxVUsn3dNEY+8RfkQmxx2w== 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 PH7PR11MB6953.namprd11.prod.outlook.com (2603:10b6:510:204::6) by CO1PR11MB5123.namprd11.prod.outlook.com (2603:10b6:303:94::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Mon, 17 Oct 2022 08:50:05 +0000 Received: from PH7PR11MB6953.namprd11.prod.outlook.com ([fe80::23da:cc93:ad21:d969]) by PH7PR11MB6953.namprd11.prod.outlook.com ([fe80::23da:cc93:ad21:d969%9]) with mapi id 15.20.5723.033; Mon, 17 Oct 2022 08:50:04 +0000 From: "Wang, YuanX" To: "Ding, Xuan" , "Yang, Qiming" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Tang, Yaqi" Subject: RE: [PATCH] net/ice: fix the judgment order of buffer split Thread-Topic: [PATCH] net/ice: fix the judgment order of buffer split Thread-Index: AQHY4gDH59h6K5v7PEen7Sd+CO2LOa4SRCkAgAABgrA= Date: Mon, 17 Oct 2022 08:50:04 +0000 Message-ID: References: <20221017160021.773879-1-yuanx.wang@intel.com> In-Reply-To: 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-traffictypediagnostic: PH7PR11MB6953:EE_|CO1PR11MB5123:EE_ x-ms-office365-filtering-correlation-id: 142e5619-39ce-4b0a-0876-08dab01c95ff x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SbvhifsZ/rufIvmddJwPFwLo+8XCZpPPvm6/VEtl/L7XgySiFtZ6buOmTgE2hn49J8TIGxuYzVq4EacQVgmW30okPfNS9brIBYilxk5vsQa3fOANg04cOWsg/yqH8d3gxHh2kU4IIP/0tq2v7L/suE4sKCK0iM7aBb2nIqt6BXtpEvb/gkGhsjia9YrRY7xhHoLRlLx27xQU+qzMwd6MxpUxa5IkIuMXFLjppJHeVgqjRWMo77fLMVkN3zoLqXIMxEKAdlDd2+vizVJEopmBulo1pGkx1cnpj977C81xuWAWof9EAduPR9PL26/ZevQ1D3czWIi/+pTnIbV7k+TE3gzzl7SRb2QBg569WhjhD/1tM+QNp8/f8W5EbxUOOycJogdOA8xHQGpTZRzBxUus5HxYJVHbIbbiVdNWOPh+tjxJk8Xn2ujhkofyN/t7Odl/pRF3pq0/nDDO1sv5nqpT0NT1yr+hktkAM7vPBMZF4kAWnmHvhaosacMF6//ciqm0xKj+OLT+ELJFdtcg10M0oELoqFNzc6ulMOHvj6PRr9pSZJdQSgbOdsW+2uaiS6XG4+CtVNP9ClVEokcuu+8D+QRIFT4kCjyCKt41ZYZVgFRNkvVGMZhtLVPxsrI1QH1JH5C2Yza3kSFuKEx36x8I19kL03nVou7/w1M6GvKqvGQQSrMPVtOp4jLC2UeR8l6wKrdI0m4NXWRsg9b0HeqS4DhzoymVqRL2GHw6s3bv/gsNxbhnw3uLLsjwMC5rhuOEyuADUZXLHIyCdC5NHzuf5g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6953.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(396003)(376002)(366004)(136003)(346002)(451199015)(33656002)(86362001)(5660300002)(4744005)(2906002)(82960400001)(38100700002)(122000001)(186003)(83380400001)(38070700005)(7696005)(6506007)(316002)(53546011)(478600001)(26005)(9686003)(110136005)(71200400001)(54906003)(6636002)(66946007)(66556008)(66476007)(66446008)(76116006)(55016003)(41300700001)(52536014)(8936002)(4326008)(64756008)(107886003)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7KSnDSg2bBYE+0hYAU6Vo9Xb2qzJ1QOJAVcce9tGxb4xPgQuOVzdJEFXFp/f?= =?us-ascii?Q?p4tJ0NVwC0yQe9Yey05GKYMschHAq2OrP5ojw0+piIelkhNgbAC0tvNVPIv4?= =?us-ascii?Q?6jJ3XILG1ZQc6p3vA3bU9WWHoR9yUUjUG3fwFX6/M7EHdlUt3VFtK/PvlVSf?= =?us-ascii?Q?R/e2RuwyOoDSxS2zq+BwheSqXMyz/KyOwQuTtDZh++yB/HRLPJDQjqalM8g1?= =?us-ascii?Q?gzUUsVUpUzOIqSzwYaou8osMX04f2GNUVYDhVnAxu8RvWENDaUbzUWQsls+i?= =?us-ascii?Q?9jyZCZqRgsNlziyn/4cBndyVJQXmjX4/UV6bLA9JZpVBrZ6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FwNqYJZsE5WxAtS1CFoxsQ0VFvM5lwLBVxjmVjbPv?= =?us-ascii?Q?XSFCwJ2qp5VmSgAAzhults7Ka6sKNBtPAZwEjF5U69w9ua9WLG/aUCYd2g3c?= =?us-ascii?Q?7zWufvx53wYai1TYIBKvmGQY69c4OBshd1uXki3Y1q9izfLA36ynsaX60su0?= =?us-ascii?Q?m7vjC8PTTaUslv0E8tUpbDu31vJnKZ7uWMsyWlOe1TeIGqxewW2B9YnYhkhB?= =?us-ascii?Q?kVDJxpqq02EsrlZZ1vj/KuOcWK+63qBtnDcpQvJJsc3uD6CoO5m4pIb1/IFD?= =?us-ascii?Q?o5jMsa9pIMKU6MgimNbZjE7GKMnMHt4RBLwNRM6PB+hcdBGe/867JLsgtOe9?= =?us-ascii?Q?JrsG8lEb6LUB/pvwWPBDZra+jtu9ZrDD4pNA8MG+?= 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: PH7PR11MB6953.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 142e5619-39ce-4b0a-0876-08dab01c95ff X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2022 08:50:04.8125 (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: sqKsj2/iR66z92DVvr21o+8vhKuOZGpZrQiUkF3r4PXokOSyF6u4ZXeaoqdz13IW142xDvuGAwxt0HSzdV+PmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5123 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 Hi Xuan, > -----Original Message----- > From: Ding, Xuan > Sent: Monday, October 17, 2022 4:40 PM > To: Wang, YuanX ; Yang, Qiming > ; Zhang, Qi Z > Cc: dev@dpdk.org; Tang, Yaqi > Subject: RE: [PATCH] net/ice: fix the judgment order of buffer split >=20 > Hi Yuan, >=20 > > -----Original Message----- > > From: Wang, YuanX > > Sent: Tuesday, October 18, 2022 12:00 AM > > To: Yang, Qiming ; Zhang, Qi Z > > > > Cc: dev@dpdk.org; Ding, Xuan ; Tang, Yaqi > > ; Wang, YuanX > > Subject: [PATCH] net/ice: fix the judgment order of buffer split > > > > proto_hdr defines a bit mask of the protocol sequence as RTE_PTYPE_*, > > The last RTE_PTYPE* in the mask indicates the split position. > > > > To get the split position from hdr_proto, the order of judgement > > should be >=20 > The hdr_proto here should be proto_hdr? Yes, it's proto_hdr. Thanks for the correction. Will fix in new version. Thanks, Yuan. [...]