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 5EBC4A0542; Mon, 24 Oct 2022 17:33:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 803B742BE1; Mon, 24 Oct 2022 17:33:11 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id BCB0C40143 for ; Mon, 17 Oct 2022 11:35:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665999304; x=1697535304; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TonLXiquoPeJSm7ExW+DiumUVRSn9sLycscaYw5wfaw=; b=UoPV4c7iVpmGal/vxkblaW5XHT/0dw97z2sbIavOH5oJJrxHEKNMf3WR bWBo9UcXq2RbOYL3gR6gJOfj6A5H1CgkBz4c/cFUrZ5rccx8kmW9Y6oW6 BJmosGZS0cgymdKz0X3FfwujH+YpJF7gKDiztQmNN/8GZeZwf0/aN6g97 eTuH4tpM8j6VnpsYzxT4PbVYn1ix8Bk3Ot0zqWTyJ/pdNVxRYzbuavZiO +zrQSC9zHpfd9dzZQXIoe6qqlKh3tK0lKPuKH136LFUeysMHWoHXNI3kh bFHKt83fCt/c7IjKOVerZkLvG/UpP/VeLwWnrvsUr/XTCispcf8pMJEtZ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="305741987" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="305741987" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 02:35:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10502"; a="717431659" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="717431659" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP; 17 Oct 2022 02:35:01 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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.31; Mon, 17 Oct 2022 02:34:55 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) 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 02:34:55 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.168) 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; Mon, 17 Oct 2022 02:34:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xw3yEXEJPOMz7C9MmBT0qQZyB9GOriwMWjdbrJ6Id7aeM9JJQL4nWsS3HWqvJddX2/yMxvLSGXFOYBPVFr8DwzHG7BpFkFtET1hrfUsmfZk6G59JhRsJBYlSSk5mdSVzsL7o7PAcB+oghAEF+zXfhYGCsXW9a19ufzRrJ8aIumpz2hB2FNmY6k5GiXyjEUjuflTm0jpmFeIeXqN7jHQ+nrmU1Ip8JjGlIbGTpMsByasfQkl6GiKVGRWNQ/dKDU0dB6HltGxgfeuUdEPZw4y8ccPavLKEwiOdd9lQetePkfIaCsDCRau33aYPjo8Zf5uPHlFTQSODnPlbdF/Ez3ONCw== 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=TonLXiquoPeJSm7ExW+DiumUVRSn9sLycscaYw5wfaw=; b=oL8UKUAc7S5Q8FCQn3B7sl1QQG5sZBFvaWi+yoU74zULFMGIhiKXiE8YmtqJo83AJUNNM/PmJtvWawpbV+0kRcOIpZeuXJfyU82ZlYTzUD7R3xCjLrpzhBPs22lR7H5nolkm4+NUI0VdIGd2HUM6UwQpzqhfFL0TFZnaaJql61cu4rVuXY1isHVFmbyRsf1MEy2dgLpeuXeL673ZHfyUeoJz2SOVdt8HZQj0kGDJc6Wqb7NL6q9mWc4z7BQ7oBgBfuAJU8zur8z7W+Yu350rHr7JVYpyktecaAOEl2DBg1YKpznp/OC/ICm7zRzzG6EdxHqEeNn6XEhKAuAeo0xVTw== 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 MN2PR11MB4597.namprd11.prod.outlook.com (2603:10b6:208:268::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Mon, 17 Oct 2022 09:34:53 +0000 Received: from DM4PR11MB5971.namprd11.prod.outlook.com ([fe80::6405:c026:bd12:85d4]) by DM4PR11MB5971.namprd11.prod.outlook.com ([fe80::6405:c026:bd12:85d4%8]) with mapi id 15.20.5676.046; Mon, 17 Oct 2022 09:34:53 +0000 From: "Tang, Yaqi" To: "Wang, YuanX" , "Yang, Qiming" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Ding, Xuan" Subject: RE: [PATCH v2] net/ice: fix the judgment order of buffer split Thread-Topic: [PATCH v2] net/ice: fix the judgment order of buffer split Thread-Index: AQHY4gmURUBPUxSipUaN3ByNZGVfKa4SUuCA Date: Mon, 17 Oct 2022 09:34:53 +0000 Message-ID: References: <20221017160021.773879-1-yuanx.wang@intel.com> <20221017170459.775039-1-yuanx.wang@intel.com> In-Reply-To: <20221017170459.775039-1-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_|MN2PR11MB4597:EE_ x-ms-office365-filtering-correlation-id: e62f402f-d7da-4fb1-40a9-08dab022d8c4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sZtjNhyGGUWvJ5vSCZgpnSDKUeKueLuAQcuub0sEFfREzrc7SkFNfbQkyKfPk2aClYL34cja+Jgpc+Fl5Wc7CUwIQJj31D4ZdvUpU7ToZsOVlfVgUNE4o01w1bfSsILFnLOrlqW8r1FUP8FJ7AqAdQxg5UInBX0EjHPrFLG96G/vkplOepBX8mtR5GpOtVLpP6c/VqbqVdiyHLt2wgMtFlelItq5TbzTTBe4neWSrYYJxy9PxuzUaOt7WS1+vj1uAikULA9rXv2AW1am49R8Z5YaKRHwMHQrNgvAYWyH2KAfbd1tE9k+eyCZ31Pxob2cCfAKW59gD1trmUUVU6ZtL2swxvohlFBPzK4RmQ2VXj/b1O/cS6WVB/9EbiOIGOTpI5WX4heGLpdnHYKDsysJjU7mTJzSX7Kc1R8jmedPEtDwc1m9sBqLpvPHeaq8LEAKpcOrM/DQuBJBxw99S8ZTjCl3B8KqTieO0XWE8QCxo5R4dM58yAZk1eP91vqqX8pU7s2yvR1eJ7KznMxMOwbwb5wkuiCYlMG99MLSZncTSK5Q8nhgJ0i1LO3H5tolyAiiEjiQ6kLqE9xJfEiQc1A9kQ8cOpOaFgNGvf/HSADMTfe0bUZA8M+gYRQKAOig5DADPgX3XzXNpfRlLeSoL5FFJWdVibop1lDtVz0PQ2QG8yGuhJw48y923GIz375sOQYfWD3TFK6dARMlHfxPJ9Fqqx0aOOn40rUjE6znvPW5Y26LxHEtKXRP8MYGNvA6jENAkYE7pKthmnVllC7tuIiWPw== 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)(346002)(39860400002)(376002)(136003)(396003)(451199015)(186003)(83380400001)(38070700005)(122000001)(86362001)(82960400001)(38100700002)(4744005)(5660300002)(2906002)(41300700001)(8936002)(4326008)(52536014)(55016003)(8676002)(64756008)(107886003)(478600001)(9686003)(26005)(53546011)(6506007)(7696005)(316002)(66446008)(66476007)(66556008)(66946007)(76116006)(54906003)(71200400001)(6636002)(110136005)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BiJuTTqVuQyeIXVZRhUsuLJj57l+1mn886DfOVNhOKUAlCMdGPkWwwIPp6Xr?= =?us-ascii?Q?a3m5eoBvZXndrrrZm3jvYufU3BmuXY0puiUczp2aJcRmYu7cyQB5XXQmBa5j?= =?us-ascii?Q?/shOqUpA446EV7oREBGiBR1a6VW9cfrZArDJuN4SvHo65/femQ7n9KNWe5X9?= =?us-ascii?Q?fUvDWVxJU2edhShfZs6wfpMIANYiluU9uyr0QF3lQU8xGT317YW2r+eOpWYs?= =?us-ascii?Q?HYyy2H3Dip6qcApYalFYw7Pr+7q5KhdxSuhntE0qMn8mTNj9jpyAFAARyj++?= =?us-ascii?Q?9sns6BvSOxw3s6wR8xZ7kegrcuWIBWk84PS7Nc9uXLU3QUxlb+YgEYBaPLZl?= =?us-ascii?Q?N86Y2gsWZMcc8723JBCeNH051gmMZ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zy46c3/8oZpGof4YraYOKto0ldENiYKibpaBVWKYhAA0FPPEYwDLa?= =?us-ascii?Q?4FuckuSB1P+aoNMVzbKBkxk4ERzxrFHL6HA/R17uw/37alnue5Nn38c4k/bv?= =?us-ascii?Q?ZEtxeXtUB8h8e74jgUVGz2aLhfA8TqJsXX2Yu8eibxnwk/YylnsmxWJhn+3g?= =?us-ascii?Q?dREfLsEVXjZps5Gx3J+FR8tm1C/ocEfd9qGhkVMuWA5+3BrHP2Bq2GuLExuL?= =?us-ascii?Q?8indSisAd8f8sTghR5yWUsNKHbNBsHotRE6kQm7Jajz+BHP2oPQZ9XeMOf8Q?= =?us-ascii?Q?HYaNOMR+X/5w0Acs6b9qDUO6LOmf2FNlSuu65Ow9?= 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: e62f402f-d7da-4fb1-40a9-08dab022d8c4 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2022 09:34:53.7838 (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: xhCl1K9bq+ypwAYzztmXv5TRxECaTf2WU+w73gHGWqDXqhPM1cuSoJZADyNGM9aOUfVPP7IqUf3fys089ZyGVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4597 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Mon, 24 Oct 2022 17:33:00 +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: Tuesday, October 18, 2022 1:05 AM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Ding, Xuan ; Tang, Yaqi > ; Wang, YuanX > Subject: [PATCH v2] net/ice: fix the judgment order of buffer split >=20 > proto_hdr defines a bit mask of the protocol sequence as RTE_PTYPE_*, The > last RTE_PTYPE* in the mask indicates the split position. >=20 > To get the split position from proto_hdr, the order of judgement should b= e > from inner to outer layer, so for tunneling packets the tunnel header sho= uld > be placed at the end of the judgement condition. >=20 > Fixes: 629dad3ef325 ("net/ice: support buffer split in scalar Rx") >=20 > Signed-off-by: Yuan Wang >=20 > --- > v2: fix typo >=20 > --- Tested-by: Yaqi Tang