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 3523DA0560; Tue, 18 Oct 2022 09:01:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1AB824021D; Tue, 18 Oct 2022 09:01:39 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 7067A40143 for ; Tue, 18 Oct 2022 09:01:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666076497; x=1697612497; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=puzPLtmgKPqksRYUKAlh9qH44736Xg6am+nIXzXzXhc=; b=K2UBwQF+fRGF6jfEiOdcqlRM9+xHeqmVSxGiIdQpkrydu/v6DNPkF4tm cTH4pPUJ5LJVVIwoFrTylz9xdqePDogeYboQzf/yjgVCVQ4L/kqMkl1v7 ROWG/IrVYOUcrqyQSneIBLLgilduybfsv+v4kj1UcM5SA8BrdM+Lv6vOk 8mnPQBDDp+6sCwi8g5ChIh+dM1lhZ2aj0X+Xi+cv639OWwK6oCpfjqwHf 4QzQbhMRiTABuNvFXWJPyBrgq39J/82kx+iJLLjlNelDEBasbMOyPHenu Y7YvJaZZrq3p1rdOnF78+9Qr7l6l54nH3UbSaeyQCjFZ2dZokg6RVcG0z Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="370218080" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="370218080" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2022 00:01:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="630990028" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="630990028" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 18 Oct 2022 00:01:35 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 00:01:35 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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; Tue, 18 Oct 2022 00:01:34 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 via Frontend Transport; Tue, 18 Oct 2022 00:01:34 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 18 Oct 2022 00:01:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PwRPS4T3HgM2Q57XJ3gp5WRQDtkWOF68zcoQqAdAN0lEFeDhhlHo/3XUx29fLDAj4Xxn4GX748kBiiub5ORpkPgmuaKv5qSLSfHs6r87EHIsEyY/mKY76TAYjKQEJo4AmCk+VWVq4xRvQ601+SIad8cFmrJcPi0uJto3VjYWZB0uQ9etKXdKfoIyrOG7LwP1lyiaYW6wf0BbTkrpIA6P4dYCb6xFM8v/ujinwEiwmIo6H/U6l8RIV67colj6nRm/x4tF+ARhU7KSYWrYlJWsTZMJxf2KjyoqQ4qrZy0O6ahWjXtmb28sN9XQwH3gxJ/qoExTga/Ojjzf3nGdLKA34g== 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=puzPLtmgKPqksRYUKAlh9qH44736Xg6am+nIXzXzXhc=; b=E5gAl7+l89HHDGUMbJ9FnnAJS0PN+ggYX4tm2SPGGAHMME+aIIa5CJhTxtXbdEFr0D6yUZMAckZWnImZlUWxllsPuKK38FqMqRBlDOgnzVsYs+sPWhGXSoNQs7X7EdLyobqH7tUNaDC1wxY5BURQcFv8Czk2+ew3h1BTAvkyWwwiqKNT/w4UsOo+YFusiW9p4o/Bre/dq5fhVv3UAa3g7eqByQV26+M+d1td8eVER4r0zLizpiYiYMzrhFMC40a3wZuYh8Mlo4PX3qLyrWXTqeemTx6hObYkzCRIClxOv6ohRA8NpJzudFJXCDd0Q4otl2zLsJ4XbKFlVHMirRF2Qg== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by MN2PR11MB4598.namprd11.prod.outlook.com (2603:10b6:208:26f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Tue, 18 Oct 2022 07:01:31 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::6fc4:1ff0:a5db:6546]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::6fc4:1ff0:a5db:6546%3]) with mapi id 15.20.5723.033; Tue, 18 Oct 2022 07:01:31 +0000 From: "Zhang, Qi Z" To: "Wang, YuanX" , "Yang, Qiming" CC: "dev@dpdk.org" , "Ding, Xuan" , "Tang, Yaqi" 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: AQHY4gmUftMdXTNyX02GcLcwRgoYlK4Tuq9A Date: Tue, 18 Oct 2022 07:01:30 +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-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows 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: DM4PR11MB5994:EE_|MN2PR11MB4598:EE_ x-ms-office365-filtering-correlation-id: 7e4faffd-9902-489f-e49e-08dab0d695dd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dHAmtcdtFD28953l3Diqd0XSQ5x6tihVZyO7Luiw0zZF865Hanusdu6VXJBCOdWIrD8n/Y/HE3AgXyHCD43A4/zLftS6jERB2S2QPfetrJqLr59USv4sWTt1j3dxGkG8aHQyYPLRUgZwTZ0o32jFaNWtjDRFVLz2MLPHbttOCe2L8C8Nfe2ki/7tsFr6Z9kqFT+xHDpYORrNSNFD0Eq7TNOf/WobA6lAiZsABHWnpu/fGcjKPYLCYibd/xvrqwdTArUlgG1vIgiQS7I6c0juc839epZT/dHm055ttIQ2b94UuCKj7DayqZcc4O7vAEG02D5Vx0l8F9st5q8sIxZKtZ+1SDaFZDXXDFL3rPBuiX0qYug/coyi8+uqbUHLBc/V0Mi6eFLNYQ9xs3JY8EAtaDFOeCPMXglZlQAc67fUwc0b5pUU06Q5B3j8B4sQfPGUY/7aQ/Cahwtri9xkDnjm5zBscRv8knIaKTGJ6LvSbtuE3QabYZcEJd5zoaY/nXYhhjA2cwxR2OCGK+gUvud4cLkOM1bSx2Bh1hxLeFuQ6vJcRGcVTF70QvBywJrFPtrHGJln8oN35UV9kivXUS2/r5yF/mKrOyqpwuz9MxsvuXKLOMSph1GE4gFROwTvxJRhrC5NeFLb0A52hgadFItPG6oMrC4lGJtCL7VZx7qGKxJAK9kj0U/3SyKxfVo/a8Mg9pP9Op+yLb+9wI1/8mlkwjNAXBzOg9xb2JOvK0HaO58g0VT27F8Y7nHwP8VtKbwkcdjQJvV4QiuhTkKn+fdpiA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(366004)(396003)(346002)(376002)(136003)(451199015)(71200400001)(186003)(38070700005)(26005)(83380400001)(86362001)(82960400001)(4744005)(5660300002)(2906002)(38100700002)(52536014)(8936002)(4326008)(41300700001)(55016003)(122000001)(107886003)(8676002)(64756008)(478600001)(9686003)(7696005)(6506007)(53546011)(316002)(76116006)(66476007)(66556008)(66946007)(66446008)(54906003)(110136005)(6636002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Djmt5Z17+jhzoEkeuM6M/hZbTYhWG1K2baUmd1Jov4przstMLb/gMpbd6Dij?= =?us-ascii?Q?GhQtSURNogHJUZ7Oj+qheruCgcUh1p+MZVl1LTpD8PCUZl/cC9jYW/EIX+qg?= =?us-ascii?Q?PFP5/sQOXyGNZwTzlQJnDFm5fi3ewhOd+tePCa19mi2IPFkYJf17bauhHd0s?= =?us-ascii?Q?zKTthY6jKKOxSLgqGLjPRxxAMJRDeKLtIwQs9GZHEiqWG0mJyIM6C7HXlMe4?= =?us-ascii?Q?coRmskF1IhCh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?= =?us-ascii?Q?VSxovTF+sF3kGN8hmM32WU2n1cnerQXYiuszXiyQ4UC439t9M1LGIC51ZzyS?= =?us-ascii?Q?sJA3RMMkRuXsXDHMW+M6KL5ZLmMES6NUrwydSfDDGQYuJDXBftNNV3FHaejy?= =?us-ascii?Q?1PAr26SubAma60ednMmoH+DDrAxgMTwxQxuOhOleXuAE3cVpLpbnScqWfTMh?= =?us-ascii?Q?aOcQOQT8ILUIR9KKJ+PA+cL4o0CQI8NcxeM+2HPC33CVVPM+s7te9Z3b0iUI?= =?us-ascii?Q?ednDfhP6zMORwIc+CTP5EPV8ZUnaQBbq58Ngizu5oFaSCyumG0U6H9bNhv/P?= =?us-ascii?Q?M6rgAB2EwWz2AkMT0VbHT+aW1xekWEeAixyORTmVfdhmL7CMYTvXmv3ouGj+?= =?us-ascii?Q?YC2ga771NZVNA8emIzzl6f9pSbGxRs7Fl1nJJPRL248TIHoA3vPRXDY5X391?= =?us-ascii?Q?ei75Y4H2U420SBUrt+pDTH4lOITqDezG5EzISwn6?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e4faffd-9902-489f-e49e-08dab0d695dd X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2022 07:01:30.9558 (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: Uqrk9lF0jC76B7vh4/AL+Z5artLGhWREj1amLEEUt3PheuBCOQKTYWzm4I4/1mHfqn4i2a4BfPoW8HlNkogMdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4598 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 > -----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 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi