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 B8DD4A0542 for ; Fri, 11 Nov 2022 10:03:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B486742D14; Fri, 11 Nov 2022 10:03:31 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 8820F427EB; Fri, 11 Nov 2022 10:03:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668157409; x=1699693409; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=1p0tLizBQXhXIHtoLEyNV1Z3HyPgkPPfuwXYwUNlsdM=; b=hQZfkrxFwIjtPFdDBM/g5OtbFirlGDIQJZnaJt/nMh3j5u1PKlNRezRH 3+v/ojEywrWTqlzXL1R2zkaYy0nCKrfJPVPVhbMMb57FNRrrqhO88o341 FNJQfY62Hvw+suerkdytdD+Vdkhqt96WWe0kNGjpUjGlvrwlDvnLzfxXY qSHW2mhU2n9Z+XvhWHgilf2aJWdWI4yey3vqBNUoqy4bNAXtQICIva6jN j78/j9b5H1AOi44f2IklY0CEJAdI93lU/jDbk8gihPMcUHKktK8CS0Cam Upw/OX/FoCaCM7DgbmY08V9MDulK6slcHxxkwgefNsfOZhEVz7Ia/AZzW g==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="397856918" X-IronPort-AV: E=Sophos;i="5.96,156,1665471600"; d="scan'208";a="397856918" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2022 01:03:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="706485279" X-IronPort-AV: E=Sophos;i="5.96,156,1665471600"; d="scan'208";a="706485279" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 11 Nov 2022 01:03:28 -0800 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; Fri, 11 Nov 2022 01:03:28 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) 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; Fri, 11 Nov 2022 01:03:28 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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:03:28 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) 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; Fri, 11 Nov 2022 01:03:27 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JlLcV6d90YIeaKL5RH0isBJLc0FFzN1hFoVF8V1adphdgK3pstmiaFKg1MF2E3MxpWi+qJUSR4HYLfHKkGFUWT6ErYL15FHAjoK34SWwJM0vgkrR+pYHdPfxY4KhVBpe4ZJSpCNbvJ9el2fjTEpnFn45JsfCyxtd9E7uvLm8rXEgUl/K6intb3USyzXMhGzGrsxhljwzadPElGQsiizU4c9hjHA2JCMbnLFC/PClg24rbS973XkOqKCBpzCUho4FHQ5esvjMjLoCgrBr5j/Ts16HHGZ/ddDUvWT/4lKcLR9l8J8ztzUZoRLBlMjErnMGgJ341XRx2uB6YlX1BUrYfA== 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=1p0tLizBQXhXIHtoLEyNV1Z3HyPgkPPfuwXYwUNlsdM=; b=TjTZ9imKU1bVgEe03es1lTvPMITePHC7BzdngF7Z4yqm0DIkzmK4OGONHE51sHTNNpyHaFwhx4noX0VHn5j2FY1574W40p0KdxRgrY6ho7+nHZpUkwsc3eI0OCRuiE7uHKqKyTFwitZkKdj/zJmI6E9MzrB0Uu4F4i4QdjIy1+BrGoX8k9o2onQgqwLk1mKviSHaiywr08RfqZbhFbSyyFWY5iC/UHe2PdNP9562D2LA3wK2nuJOVS6GcfmpJBlr55iG3TMjzs6ssO8lmFhFb69Cukg7EqfVX5i8lJTFxAUKjOjCIc4h6+VPr+GI6k0KZmzPR9H75AFAs8a0QN9DmQ== 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 CO1PR11MB4996.namprd11.prod.outlook.com (2603:10b6:303:90::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 09:03:25 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e2ac:cde3:4d74:3fa7]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e2ac:cde3:4d74:3fa7%3]) with mapi id 15.20.5791.025; Fri, 11 Nov 2022 09:03:25 +0000 From: "Zhang, Qi Z" 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 Thread-Topic: [PATCH v4 1/2] net/ice: fix scalar Rx path segment Thread-Index: AQHY9ac2qMRV6ofby0CSpK7CjUmLka45bTjQ Date: Fri, 11 Nov 2022 09:03:25 +0000 Message-ID: References: <20221111120401.802805-2-mingjinx.ye@intel.com> <20221111161241.861732-1-mingjinx.ye@intel.com> In-Reply-To: <20221111161241.861732-1-mingjinx.ye@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_|CO1PR11MB4996:EE_ x-ms-office365-filtering-correlation-id: 77870814-c368-4c90-1e00-08dac3c39784 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iHO0/UVegEkZTBGzWBI1SfFKjRAg8Qzl2VdRYcSuW7E5CpwTNWIaRe0pk8yIL+GI/5b4MVo3j9Zcz7PWH9s11tmzoH+rAO0uFVQGiQq56GAv/HrEBxdQGiJhG4JWHNndUPeoRY5pQ5ja5VP0k+hDMLERTuC4WKmJTwRnx+UNzFz0nWgm0P8byeZMoc1gxkla0YKPCuJalTgrx8L3X/Coawo4/XNCCKKdP2Nu0sXlp2jIviYzJ3p9B6MHJ0QkXGb1VEgwR+NdoCembJwHwn34BnOVZ3BW72zF7P+yOtK0CuWEr1LP5Rzmt/wBL2G8vvPgoAwlyO7PDOTa0TjwNawHccy4Ff/Nq0pG00We9pQZpPGEcOrT4/gWKHtmrbkc6CXCGhOFGpdoySUanewixe8jcKWqcLWg9G+QowVjVh6zJnVa4ebXZfxHedbx3Afh8Y7V+SNj0Nb6O0LGos3GkKCo2kQ3RYQZKe8R/5+yRrIJxzcGtxrCOKI2OrHfl+07Hvp6DAYc3pHT0kYvUkVnJpY64JL1QmgHjBltM2Lw/2fixLoRiF/dWE6imWlu6l4oEDIkbe/Gfu1xOJnUM4DnLsdr6SVq+efA/6diMSE9voDznz2YWbttoNpM9Dl/CQ9fcv4A1W7LWLp5iA1uRbTy+05F8KgOQLNcetICxZMYSylsKv1es5tbr04IshIDuewP8y+onYuC5295eQbq180j2W2WxI+fgz/N3RGXgPIYLXzR/8m52JneDBuwO+cmMNW+BXXkg9hLvCK9v9Qn9s7xvYPvQA== 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)(396003)(366004)(136003)(39860400002)(346002)(376002)(451199015)(54906003)(55016003)(110136005)(316002)(4744005)(71200400001)(52536014)(41300700001)(2906002)(9686003)(26005)(86362001)(38070700005)(186003)(8936002)(76116006)(5660300002)(450100002)(478600001)(107886003)(66476007)(82960400001)(38100700002)(122000001)(33656002)(66556008)(66946007)(53546011)(4326008)(7696005)(6506007)(64756008)(66446008)(83380400001)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?AI5sjT/Qwpz9hKenqnQm6t2S1WNwa4OAlVgTby0RbYbT7zxU/wd/P1LEDET1?= =?us-ascii?Q?G9Q3d6f5ReKHFcA0KvMBz8ngTIIxdM6hruQGNu+Pv0pHalIp5FwBykttzevL?= =?us-ascii?Q?2ovvu4i80ZuAllf7T5eo+r8m1znXwhVfs2ABtpqzOqSybRetgE3BznBxhJrA?= =?us-ascii?Q?+qf6JmLB5p/esVznMT0MuqGDfKJCyy3NGDfnW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TXccAgMU34Z84ASUUqUyScl4+r5554waLqndRNHLu9CYVjqS6Hz/g?= =?us-ascii?Q?lDrbqCXAC9W8lo5Pl23Gkcy+ovM5Fimcbkjvxvn/r0w/MniyzKwrr807cDgb?= =?us-ascii?Q?bKsL/zbMj00nickDIvfqJXg5QaJs0mrqvFeVsBhf4w9JxNOFc7WjPLgS8+xV?= =?us-ascii?Q?7opMBOhn32gfd4c/cOYgHusCEnt8L8MM8NU0hPJe5d/JHwxwh4irIFdSHACF?= =?us-ascii?Q?t4JiJX9ih0VYmvSHUhhAU74u4u73rU9GRCWJdFMg0akICY2zxphD1exB3Xe1?= =?us-ascii?Q?SsBWEtTsXUdwiMyufV3LD8QE6uq0qFfaIcODxV5wcqBBPFq+D5rRHk8Zs6Hx?= =?us-ascii?Q?nhT4yf+vA1rNC9jVKzFVr1l3BT4IUdWzARtAsoGYr20xnSkl1rqSCdvSfvan?= =?us-ascii?Q?+VDH3sVFVh678X79p0rRo7S28i0E0+IK9YjV8WnvgeW9SiXh9zRZfKo6XArg?= =?us-ascii?Q?RJHro08ilzgQ1KLrebHyqQvb3LwyyvtbFziSwbDO?= 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: 77870814-c368-4c90-1e00-08dac3c39784 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2022 09:03:25.4247 (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: zG32ZRG7dlVryoshqGdmQe48ZjQbsbh3F1pZcCGqjUtWbT3iGviRc23uOHH/mGM5DR2kMgr6be1+LSMJbMul6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4996 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----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 Yi= git > ; Lu, Wenzhuo ; Li, > Xiaoyun > Subject: [PATCH v4 1/2] net/ice: fix scalar Rx path segment >=20 > CRC is stripped by the hardware in the scattered Rx path. The last buffer= is > invalid if it's packet length is zero. >=20 > 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 buffer is empty. >=20 > Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye v3 already be applied, no new change on v4, will ignore this patch.