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 B3A0643D0C; Thu, 21 Mar 2024 03:10:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B2364114B; Thu, 21 Mar 2024 03:10:29 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mails.dpdk.org (Postfix) with ESMTP id 8A7584029F for ; Thu, 21 Mar 2024 03:10:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710987028; x=1742523028; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=f2Mmk63ok3a/HNH17g4wPMJdwrZIC57fyAKR5RaNzvM=; b=KzxWAyQqe2f8O6RXg65sXMw5FhNlUMXs6HhIzVuJOuHRB0FLgL8qCLq/ TiUafZnX7npH3AgYBST4asmXhC2083Ac23SPVS3Xzua6WiOyYIgIgvb8Z d2GNoZm+pcU9FpQtnLgxHUpKWxhwvFbreBFFJWCE1cwBUQCgOq99xC15Q 2i7JRgPI+Na6yaV8kXGJe85iBvOWx92uYjDMiJcK7TY47CYhV/8XyTjvh p8dxLyjN0ynrMGSg3tSaA4QDg2zIWSTWzRVs3GOVhbzwMFe6oi8lu3hSZ uYuPzjeO7sjARPz3d8mH2qXfXCTjaLZQiyfzMYjhPbxHkAHMnn231zuGf A==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="8903894" X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="8903894" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 19:10:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="14743787" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Mar 2024 19:10:26 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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.2507.35; Wed, 20 Mar 2024 19:10:26 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.35; Wed, 20 Mar 2024 19:10:25 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2507.35 via Frontend Transport; Wed, 20 Mar 2024 19:10:25 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.41) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 20 Mar 2024 19:10:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oMQ0xgbeo33d9FQAXcrTgQ9RgzuNeieJSC3JeO1/6ZupO3l6KoYBxeHIZvnKizw3nsSKgO+98eyyGQTYV28gU6289bJ/BzPFnYaqHzo25WG+bDS+CVKhrGr7k7vBoWvmkv539pskKz527iL3RrPE+U0ohKUdgcEzKVTe1E5pZI/RKg6eQkTYYAkrjVyBXGqG5RiHpnQ5JZIFyvDaN3QIXYjG2R2unAVPiCAI0YBxulzNEVAp8gbOGD/XJj89VlQGZcDofes4TPLchSfdo825ToEx0ZPOSt/V9ogqUQYO6FNg1ibeOp5pNT3syGIHAXOTIRwMfrCl9pTNabozsbZUtw== 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=eWysYhykTXij7Lqgs+vpx/8IfUTMVle2Hh50eC5WWhE=; b=kYtOLx9BvQu0UVJH9Q6ipwdJ9QkukzSmpo3Ie0Rley3xZjTjhtF+vGCBy+Zw3NhQ+iUzEktnEuiFp5jeG/56AF0SfrCZZxqzyr/g4DLl0Cc5yD4ChX4p2dlJQDndz68YHJHcV9t3RJkl8Gkj4SmE/lKsHE/yvm3CvAJzOQR9gUsIf/yeN77gqUFYVa+jkqnN5mTejkH36H+sSVHZxjJjmS59P4cmGeBe54HiM4RsjyXTTx8fAcRI/mCW1Tmgne6RXZpC13/2HOXO5fBX8anJnZdjmu/9wzC2VYBEWE3TzDbBUX3pROsi7drmZYXc5E30/QpTa6ggtIfYq2R74yDKUw== 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 PH8PR11MB7120.namprd11.prod.outlook.com (2603:10b6:510:214::21) by MN0PR11MB5961.namprd11.prod.outlook.com (2603:10b6:208:381::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.11; Thu, 21 Mar 2024 02:10:19 +0000 Received: from PH8PR11MB7120.namprd11.prod.outlook.com ([fe80::dc72:fa47:3000:9a24]) by PH8PR11MB7120.namprd11.prod.outlook.com ([fe80::dc72:fa47:3000:9a24%4]) with mapi id 15.20.7409.010; Thu, 21 Mar 2024 02:10:19 +0000 From: "Li, HongboX" To: "Ye, MingjinX" , "dev@dpdk.org" CC: "Ye, MingjinX" , "stable@dpdk.org" Subject: RE: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment Thread-Topic: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment Thread-Index: AQHadsWFCoOoqwWkJE+2XpNirC1wBLFBe3lA Date: Thu, 21 Mar 2024 02:10:19 +0000 Message-ID: References: <20240315102409.1079521-1-mingjinx.ye@intel.com> <20240315102409.1079521-3-mingjinx.ye@intel.com> In-Reply-To: <20240315102409.1079521-3-mingjinx.ye@intel.com> 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: PH8PR11MB7120:EE_|MN0PR11MB5961:EE_ x-ms-office365-filtering-correlation-id: d078ccc5-f883-46eb-387e-08dc494c0ea2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +legjLLMD5Vu79asze8vXfkZ8RXhqueohYiVaE/WDOLzw9jHrGy2K5wqdD0wvezrBGXWwaLJ/R0coWRsquwc3rnPxaDPyj7ie/J7HoDSkVklyQO/K97jzgwBlFQSPYGYzLGSHCBmiJFlM1clHlRCvnbxqnm5rB3/lRPwhENYWWt39/GFzxUVgg38E0i4IDy0vEu+CjmsvJHzzIgRl37+/9Yj8ps8aa1fI93ZbC/S8AY/FVuapMwkpRtbDcVfr61MjqBhF181d/c8D8T/UuEkemj6A94WO4a7gPZtdLINrsgK0zXgEfFXcRMvsNrJk0ggIuRHMot9GDReKHtWGl5+MWLy2C5k/GlDBDQVu+dg0nQdB0bY670mvIicWIAfWAbML7PrEApLR9Pl9OsZKNvPPRIM9id+F1skFCJ7opSDnpPEP1JXnVSwU0hbpPQHghNnj/KuK+zqF/e0El4+ksNrqGo0+qpHE6jqeuUNZ8JzFFc/cEF/OEspEK5GAjzoxDCCP0VGuRZxngUk4FmVAw478MiZx93ariHoU9sp0ynjU1mDMFPETU6tgFGmDBx1N9u9xIgUcV//OWVLZU+Te6MtNjc2UE4pjBNDeeFTAGOZAP3pzysC3lvUR4xEkSShQW69UtmBD7J/5xW67bJ8bQGqWBMdQyUnfyZ1xqPCmX+ThoYtW5pbNq7aZvnf7PrlJR7+fc3epkoOc32QCnwZ4RwvDA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH8PR11MB7120.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(366007)(376005)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Z7p6pkWjVyUR3ctufxO7DvM6FELxVTr3jggB5QRVxkA0G7RO7iuniTBKmtGw?= =?us-ascii?Q?cCLONg7dRvcpBHhf16abK2Nypx8SFZCtHTIRZz6MEW84zqig4WKgjQ8Y3p3/?= =?us-ascii?Q?QftcM/DfrQi6MicUtV6hom9E/gBGECQP3mA0YgsseTS/I6O/T/dLkbqr77Nj?= =?us-ascii?Q?iHs90SfKBIlaouKLjA61qQnbCi2tS/Ssd9F5gSDvh3MOWkIu4OWyYO54BG7D?= =?us-ascii?Q?i0qIQ0ubwQPOjVQOD/ZY2z2IGslSQA1PUKLnpN4TRrasSXcJL17W/bh9hBfs?= =?us-ascii?Q?+dk9OxLfDb+1JurH7rFDxvyHBLppEzQZpxVoSVCdwzPhVWULD0HojZLAt5ZB?= =?us-ascii?Q?PYprxFGenRsR7ZIrey2FwC5Iq0I3zsC/wzgfFaJDWbfjGK2EloMStydpBc83?= =?us-ascii?Q?QrZF2AD9LQGYbUYE7LI5+V16wFBXqbZl4fNogkU2QGVP/k0MqV6yTqlQRTsw?= =?us-ascii?Q?cdvjriqhYO2PqlY0B148q1ZNnyXPoRr0HvuLzqACUQRjyhV+P6i0PTKOOf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BUJ6PUcO06zoFyYBEhOYo+?= =?us-ascii?Q?EajqFQ+IfxoxbUq3WhOU0127Ml+rltVPfNB1j7IgKKw7+z1OZfK1IlV5RTxN?= =?us-ascii?Q?Uq+tiTmTT3EYpVd93r5OpdRQE5pVfPBxSHkFUzYcW6b/8D+P/UMNfMBQQFWS?= =?us-ascii?Q?RZSQeGFsbllRKTlGebMjfytuIM4Ao5n/WVwCazF8?= 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: PH8PR11MB7120.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d078ccc5-f883-46eb-387e-08dc494c0ea2 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2024 02:10:19.1258 (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: iPuUNc7I/hpmWIaGiuIydVVAc96ruLBQz8wZ7ykV1GCY43gaCFwxLUHEd5ZBha3Wd5OUHTzHZF4qyD7P0Tjjjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB5961 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: Mingjin Ye > Sent: Friday, March 15, 2024 6:24 PM > To: dev@dpdk.org > Cc: Ye, MingjinX ; stable@dpdk.org > Subject: [PATCH 2/2] net/ice: Tx path check mbuf sub-segment >=20 > Add check mbuf sub-segment to Tx diagnostic path. >=20 > Fixes: 2a0244d611b4 ("net/ice: support mbuf checks in Tx path") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye > --- > drivers/net/ice/ice_rxtx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c inde= x > 13aabe97a5..31a3a35c1d 100644 > --- a/drivers/net/ice/ice_rxtx.c > +++ b/drivers/net/ice/ice_rxtx.c > @@ -3713,7 +3713,7 @@ ice_xmit_pkts_check(void *tx_queue, struct > rte_mbuf **tx_pkts, uint16_t nb_pkts) > ol_flags =3D mb->ol_flags; >=20 > if ((adapter->devargs.mbuf_check & > ICE_MBUF_CHECK_F_TX_MBUF) && > - (rte_mbuf_check(mb, 0, &reason) !=3D 0)) { > + (rte_mbuf_check(mb, 1, &reason) !=3D 0)) { > PMD_TX_LOG(ERR, "INVALID mbuf: %s\n", reason); > pkt_error =3D true; > break; > -- > 2.25.1 Tested-by: Li, HongboX