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 1C01AA0542; Fri, 11 Nov 2022 10:13:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D35A42D11; Fri, 11 Nov 2022 10:13:43 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 7278842D0D; Fri, 11 Nov 2022 10:13:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668158021; x=1699694021; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=j3w3rAbMEeY8E56nUvHPVFnTEVXkSyTL0+XS6k4YYxc=; b=clE6cOt1VSeZV45mE2WBbtpsrHvaNKDhncuroekis9aNXA6FpYA9dcOV hZI0MiLgKkISbX82gfwW6YJvY2fdjGmTa4lkVdLFPIGLSVGyZABiwwkTf 482VGu8nbh12gSwdvNBdksxc6WiChq44V9teEPRq7gYMhF38oo5XNFyLc RRVsD66HqDj7h8RkO/lk72s+HS2Il4cSzVGqdT7SJMMqtryxlPATFqFnk 4/CL3HO6kacwmBzpgFMoVEb8OuprPTRh+3jU/G39aQi2W7OMXc4w7i0Bh gcFMF0VnoQlde0bo2xx5i2B8EYReude0PpeEEroDOo0O3ij7wairt5LtC w==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="313350374" X-IronPort-AV: E=Sophos;i="5.96,156,1665471600"; d="scan'208";a="313350374" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2022 01:13:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="812387183" X-IronPort-AV: E=Sophos;i="5.96,156,1665471600"; d="scan'208";a="812387183" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 11 Nov 2022 01:13:34 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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; Fri, 11 Nov 2022 01:13:33 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Fri, 11 Nov 2022 01:13:33 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) 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; Fri, 11 Nov 2022 01:13:33 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KdoXLt2qy5gRLaGyUjMZXXv4uMcePUhoCULL94zOYenufllg4LQPDJCjCayyLjkBvSMx6mYQpVIbvIi50SzMhqtioUSD+Fn5fd65yVebSVxv9Wp7i3tITNuVE/07CLhDIHpJAPlSMKUEuH+Ir5WX6IqsIwypXdtDuDCxDCqCCm4Ra5KexmTxn/DrA+IpIxsakFD7Y/vp64jkcPxqrlNsVhXN+z1X8i8QSeaK2wP8ICSRUl3uUb4n47R43miMNiVYsGUVj+iLGQQiF6wDQrbdm+mIU0GXqdCuqoLJ4pOkAbkapPRU6agfC2/TQ1/ruPi7B4R+MlYFTAR3Ou0x9hrmjA== 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=j3w3rAbMEeY8E56nUvHPVFnTEVXkSyTL0+XS6k4YYxc=; b=XA1NomMRxLK0TpNsWj1H3tT4G1AEhOyUju6Lo/qpwnda3vNHsAXf3h+C4UIpTtjOf5qQqzViDSGSXW8xof2NhtUEOP5vatsJpRBT7DLeaNDKFyEqooeglL9azKT+iYdgDc8EtiLJLMdxeTS8oUIU5GU3y/yrcy9Q1ziia8yLQvUP3HcGBSUK0VKpNzv7xJp0B9AB2xEwbo25ACHTUdai1m3IFjoToX3EL+cdJffCxsQn28sureifE+tu2gkQ3643znMd1I65Fgr4fh18JLCjKS/m5oadBb2YvaOHA5GWs26qCDiJQy5hEh061UygLW33kyPEx7BveAn2upb026M6yA== 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 PH7PR11MB6056.namprd11.prod.outlook.com (2603:10b6:510:1d4::20) by CY8PR11MB7011.namprd11.prod.outlook.com (2603:10b6:930:55::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.26; Fri, 11 Nov 2022 09:13:31 +0000 Received: from PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::ba46:b69e:fad:6e4d]) by PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::ba46:b69e:fad:6e4d%8]) with mapi id 15.20.5791.027; Fri, 11 Nov 2022 09:13:31 +0000 From: "Xu, Ke1" To: "Zhang, Qi Z" , "Ye, MingjinX" , "dev@dpdk.org" CC: "Yang, Qiming" , "stable@dpdk.org" , "Zhou, YidingX" , "Wu, Jingjing" , Ferruh Yigit , "Lu, Wenzhuo" , "Li, Xiaoyun" Subject: RE: [PATCH v4 1/2] net/ice: fix scalar Rx path segment Thread-Topic: [PATCH v4 1/2] net/ice: fix scalar Rx path segment Thread-Index: AQHY9adYthA88sgdfUmIdWVC58WNHq45bZqAgAACXhA= Date: Fri, 11 Nov 2022 09:13:31 +0000 Message-ID: References: <20221111120401.802805-2-mingjinx.ye@intel.com> <20221111161241.861732-1-mingjinx.ye@intel.com> In-Reply-To: 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: PH7PR11MB6056:EE_|CY8PR11MB7011:EE_ x-ms-office365-filtering-correlation-id: e62c984d-2363-4a57-d582-08dac3c500cb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SfFPT4NRSgV7IyllQh7KChyvaxTxuQQH2JQb3IsuGOFrEbONohbzEDp6T7LNmovgNSg/vLK7AP91o9GAJHdu79InVls/gOYhlukzybkHGU92l66C8lPR9BFNizYFsbEaq0Z7v+Its/mhc/90Z27DkZHR4m7R9MzL7uvgQ8uu2U9tSe9JZEgV+PwGPA5UAiHD/w54gLhfuylOqjXVHQmNsZXv9cpC6giDqjJBY9rvmofqz92dVWvTtxozl2h67j2vt5612dWmQ7AIuePBwrfXc++I+ZEMcmK5KMi31dihiOd7PGRO5NUzb2mFgya0l2DCmR9+xWXxoAfnrnjal65M6u6kj11i6GgDm7jBjGPD9zYc8YoNfWQx5GAhS13Pi2SYndtAI2hUAF3G5Iw+xhhSpCmuXAngOxjGoe9AwpfcT9/p2d5TASDtlDQkSuk2RlTWuxA5x8WRINv+CCSiDYScZD9jNN530AJ4TZduAvr5/Q/dTa11zRXfl9EA7dX3USHsgp97v55CYVgxAQfIll4MUNngaswmNNWBKFZYs4xfNOZjWOkUcLgnlm7FBYqf0w/hR2eZKuq6bWMpnDlGXwc93N0S5iqhXuwI5cSDPtxMljeSTwLRuGFpJn3z8dEZjZhyXch4qiCxlVoV89kzTmZ+xiP04fCIGP/J741NoshAwHMOujE7bFpjlUnbSHFxyZFfn75CPNEYfMswwQU+dg4l5rMyAo63WMXyrZ2sqR8BRNiCaFV7KGNyaQC7hSqbWeQbiFIDex0BUqv6qg6+Po/OwA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6056.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(346002)(39860400002)(376002)(366004)(396003)(451199015)(26005)(186003)(9686003)(83380400001)(53546011)(54906003)(6506007)(76116006)(2906002)(41300700001)(55016003)(122000001)(7696005)(86362001)(71200400001)(110136005)(8936002)(38100700002)(5660300002)(316002)(450100002)(52536014)(66446008)(8676002)(66556008)(478600001)(66946007)(64756008)(107886003)(66476007)(4326008)(33656002)(38070700005)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?I8Nib/1C6VIRHclZ/We8jRhI5ztuv/fY3EvLR0/Il0JTxiYyRIgdC4+GUqfr?= =?us-ascii?Q?19/MeLqWgcK4oJq/oW9OHvqu6yeYOWg5tRNNpY5zaC4L5b/2TA2j1hlRmV8q?= =?us-ascii?Q?7THh7hNvk9zC3GkzS1RMEjFata36mLhlh7dg3zybp3swEza6mQ74svzWxStT?= =?us-ascii?Q?KylpG6bIRVbji5vQoYwlzF2Pae4VzVKO/SINVl8SwDV/GCGUUapzIRJ7bDEV?= =?us-ascii?Q?z1M/CG3wsWnCwyRAxg6309v2lOPn5S6DM8lZdjy3lzj6agjhOa4f7JpsAG6p?= =?us-ascii?Q?eV8dLW0e424RPCjmxvktp2x+j0Em7Y0cbo7IL215/7YIElwd7MNLpabJKS8k?= =?us-ascii?Q?d6UrP6nwdxoErxED2xaun2bDShm47durHDrw56DW2+5e1w44fd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LDP5XVWuWlQ3RRedWOwcpF99CQHJ?= =?us-ascii?Q?2cGFPYXsbCGnHnUaJdaDRjlIlb0+sqrb+xtfQmzw0IFtVGtPPbW0851lyiqz?= =?us-ascii?Q?7AuRypd+SrTFP5xlrzRjshUaqhgWrHOR8McTCQ3MHC8z3cQc98Tw8xa/eFVy?= =?us-ascii?Q?9Y23UGld4WpGRBvrrogbk7javZCxXDQo5Eiufl5i7NpTJBJn3tOjiWtGqCLN?= =?us-ascii?Q?8e59Ui4hPrvocgvZGSUFKOOlq1yl1VkHYzA++kznEmsnWkyG8DMbv6N6BC/j?= =?us-ascii?Q?Qr2vdabmzSWSr7psKiM=3D?= 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: PH7PR11MB6056.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e62c984d-2363-4a57-d582-08dac3c500cb X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2022 09:13:31.5209 (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: CEldJEr2GF/cElq7Q2a77uK3BneHvU6X/xLkcxgp2DcJCvrLC+kFgsnPmRSfEGPMSd7uVS6MhAIrFLWxdk4v5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7011 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: Zhang, Qi Z > Sent: Friday, November 11, 2022 5:03 PM > To: Ye, MingjinX ; dev@dpdk.org > Cc: Yang, Qiming ; stable@dpdk.org; Zhou, YidingX > ; Wu, Jingjing ; Ferruh > Yigit ; Lu, Wenzhuo ; Li, > Xiaoyun > Subject: RE: [PATCH v4 1/2] net/ice: fix scalar Rx path segment >=20 >=20 >=20 > > -----Original Message----- > > From: Ye, MingjinX > > Sent: Saturday, November 12, 2022 12:13 AM > > To: dev@dpdk.org > > Cc: Yang, Qiming ; stable@dpdk.org; Zhou, > > YidingX ; Ye, MingjinX > > ; Zhang, Qi Z ; Wu, > > Jingjing ; Ferruh Yigit > > ; Lu, Wenzhuo ; Li, > > Xiaoyun > > Subject: [PATCH v4 1/2] net/ice: fix scalar Rx path segment > > > > CRC is stripped by the hardware in the scattered Rx path. The last > > buffer is invalid if it's packet length is zero. > > > > This patch adds a judgment for the last buffer length to fix this > > issue, it would free the mbuf associated to the last one if the last bu= ffer is > empty. > > > > Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx") > > Cc: stable@dpdk.org > > > > Signed-off-by: Mingjin Ye >=20 > v3 already be applied, no new change on v4, will ignore this patch. Tested with v4 patch, passed. Tested-by: Ke Xu