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 1096C4325D; Wed, 1 Nov 2023 08:53:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D525240151; Wed, 1 Nov 2023 08:53:08 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 412BE400EF; Wed, 1 Nov 2023 08:53:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698825188; x=1730361188; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BEeoF0GE9KALII2h3HDwmR5hW+hGl1PdePaPiiddOh0=; b=n0xMBbLK2jLZKik8boFk7kdjoBveo9Gi8lxsKbBQVyUBdLJBU/DhHUSc ZUEybTPWM78mkosE1V2UpVsSHnOt3K5X/SWxqsTB733A9bjC6ndpFI+qq XPZUe6KVQqzq6nSGmf5TQ448G5D0ikkWjj7l+SKDi2uz1UmSC+mJEI+1E hGb123i1Wmp5Bv9DaAXayEpRKoFEyOHh/EwfOtIqqr/RKYCE1OoOHylhy +c/Aedi5GDFM81jr8hDXAlhykF36u237EjI0jQV963kW+pMIKT4ReaQib DDPuNSp4L80m8644l5plD1OdKqNExgt6CiijrMlJjw8HlG5qOwgRGB1AC g==; X-IronPort-AV: E=McAfee;i="6600,9927,10880"; a="1351523" X-IronPort-AV: E=Sophos;i="6.03,267,1694761200"; d="scan'208";a="1351523" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2023 00:53:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10880"; a="795833462" X-IronPort-AV: E=Sophos;i="6.03,267,1694761200"; d="scan'208";a="795833462" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Nov 2023 00:53:06 -0700 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.2507.34; Wed, 1 Nov 2023 00:53:05 -0700 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.2507.34 via Frontend Transport; Wed, 1 Nov 2023 00:53:05 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) 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.2507.34; Wed, 1 Nov 2023 00:53:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fG+Y9qrtSUwTC56jwfrTgy7Ag7L7N2AVExYgi3Tzh2eaj1f3UfehpaN/YqBdgsbRhawWcw0U+pcD9u7kL0MdWilYgM06M1xLXeV1uXhuw/T1kezM3LYbRdomew5hCLmmvMKHudQXSTayRRRsEd/V+FE8MzoYvj+wu+Xh6Rx40AK91g/AETf5uJ1/R4YHlEESTxVWPuAoZj7fM030nBhZhS2V3H6cylvWpat4415ig2D+3lgTuh6adss2sNAcsoz+YRqQGhY0WzodHzDKwLWTb2aqHp+LhjFMAa69Uzd154nmxRFBecStSuKmi21jsLbHvBCEBCEGeRX/mEbAfteTPg== 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=K69hCb8oa8kpvOl404+BVmMDS/WWGJwHOvUjnYEmqFM=; b=hVPk7GwC7zLc8rmU5+f1i/HYQBxLcRGVj5lFLSVSg+ZFdoErEFVMwirS7poiiF3TthSezLOPyCLi0TZ2ZyujlCYgIOji2iKajC+ZTuIL7UjzQ9XDejxKR+wmxFxASR8DFLBjliY7N3cqUrD8ePW5hIfFtG+L5ZsNiK9lDbdIsKQW8iKjMYnfGBq1icY+bd5LbzeDwuzQecxDyzQuIcwP8w6N0bOR6ij80cjxyIwTGJqZhZzjYODMDW7bh4k7LPUdz6+pTFCFOPy9goxFF3yFmogL/6/tkkrg/C8xa+yavtRHe5fNcrLj9WEAPvHwpLXYH7kJeLlZqT3H4s4fwAAd1w== 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 SN7PR11MB7491.namprd11.prod.outlook.com (2603:10b6:806:349::8) by CH0PR11MB5219.namprd11.prod.outlook.com (2603:10b6:610:e2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Wed, 1 Nov 2023 07:53:02 +0000 Received: from SN7PR11MB7491.namprd11.prod.outlook.com ([fe80::84e7:8870:a915:2d83]) by SN7PR11MB7491.namprd11.prod.outlook.com ([fe80::84e7:8870:a915:2d83%6]) with mapi id 15.20.6954.019; Wed, 1 Nov 2023 07:53:02 +0000 From: "Lu, Wenzhuo" To: "Deng, KaiwenX" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Yang, Qiming" , "Zhou, YidingX" , "Deng, KaiwenX" , "Wu, Jingjing" , "Xing, Beilei" , "Zeng, ZhichaoX" Subject: RE: [PATCH v2] net/iavf: fix coredump when exiting testpmd Thread-Topic: [PATCH v2] net/iavf: fix coredump when exiting testpmd Thread-Index: AQHaDGkoUVebnNTzFke7bfD5v0cdPrBlF2nA Date: Wed, 1 Nov 2023 07:53:02 +0000 Message-ID: References: <20231026085444.497296-1-kaiwenx.deng@intel.com> <20231101013433.534399-1-kaiwenx.deng@intel.com> In-Reply-To: <20231101013433.534399-1-kaiwenx.deng@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: SN7PR11MB7491:EE_|CH0PR11MB5219:EE_ x-ms-office365-filtering-correlation-id: 1fa8498a-dbaa-4c9e-cebe-08dbdaaf9304 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xjVgxPMeIF/H5Cvuje4e4tQSiJyT9ZCGMjRZGkjDlfQyKpRvN/BwRBqwOo+34dwWkWKKapehmNx2ctGMw2wV7iyHoaYqf6vB9Lm5ftONyy1Mpu3RmQpySCQbYN7D8C/7SinwssGZOASp8dQQFnZnF1rdjsKcnfPwwTfF/NchpJwH7A9sSO71vi3INo14Hz4S3IT8KM7aFEphDpv/vW+bAiNZrPz7aej7vlTvEpmq/HfanuLgY4IcSpbOjnVm26mqU8/E4aD9wh88BNpAJLXhCoCrqIt4UrQeWadkL8oXdMlLEh9+16lCQdrDM6EeOIC5LQ51Fxq1HthFNl12DEYyhaEVmf3SCrsm0cW8r1wECKUcyanAzvK/JgnZs6S+mgNWQ28GWIhyFsdjQa5eOWuKtWsdpIUJZOWXMr+8OxP8kLTI+VEJLBZXHbuh19U/lhed/JSPT6/VXWDakZDB/SiCRIz8TX0cBldSLd7fXkDoORSZ5PuaxzjnzXAxhK3yD7yPqWlW1uEf7ntOoLkEwd7FAFT4egploBhZWprjU140XKg4/92yBIcyPamGVCmqFQXSA54/gH08gG8mkyKBM7C90xSEteRXNEz0Onsac3KxV7yWM+NWS1xIjXVRq3/yxOqc x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7491.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(396003)(39860400002)(346002)(376002)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(71200400001)(478600001)(55016003)(33656002)(107886003)(86362001)(82960400001)(38070700009)(38100700002)(122000001)(83380400001)(7696005)(9686003)(26005)(6506007)(53546011)(64756008)(41300700001)(316002)(450100002)(54906003)(66476007)(66556008)(110136005)(66946007)(76116006)(66446008)(5660300002)(8936002)(4326008)(8676002)(52536014)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8ai/7kV55DyAWfXioO/3AWPW5b6cRknDu+UqDuUx6KQ00nrDYS0iz8v3eKOO?= =?us-ascii?Q?ZW+GwujivmJrSvjRYPQHwInG+ClrUTyOGg+jE6c43jRVzBzQhw3IecvMU6qL?= =?us-ascii?Q?MXfl6mHROp6p0soBaXh3Z4YOzwg1eP2uCppIvGT2xoDzR4mNa3SvZu0M3sJt?= =?us-ascii?Q?fdB7/3UlBqC17GL1sDWY+11dA72pALQwQQn+qTP4XY1YAQbArExI3zOauSLj?= =?us-ascii?Q?nSx8QK2v9ABXSkQWqJSEGSNM987RJ572h9bpw5doj8i2spc3WbKJlMhxjrAX?= =?us-ascii?Q?FroE1jmou5+QTKoyOQ2gO/kWkz1xuu4colhC4EP/gHYFCoJ9eEskJovDts91?= =?us-ascii?Q?ltEhwAzM/DBNvY1h50jzf9uEJKL6JNgndB+6k9YpKwHshCKFkeSZOk71/PLO?= =?us-ascii?Q?uR0YVzB6xXQFvndCNKJV1JcfNo9O7LpP3hVTBxLDwR5/KZhDQM9Ww2VOLDJ0?= =?us-ascii?Q?Qlr1cBLuhmlt2vusmEJJKzoNZL8jyL8ecVy1tVw/xsJaeHUMHrlyEDGH6YE1?= =?us-ascii?Q?9dFaKBdPX+HC2uDIkwZF+8BBzA4eweJbHe0Nk1qfrTyQUxmQcWRMtQ9Cvwd8?= =?us-ascii?Q?3URy37Gm8JSABA6R2us5LWjAzXcekryhScUe0d+M9kDhh/lvmeD62Gj66OCp?= =?us-ascii?Q?1C31axTkDD7rNYidlj/irgp+N4UzHgahW55aMn5hlXLh27sjvXyI16EO0a7S?= =?us-ascii?Q?SkeP5M2Sh1ENXKV8lmIJwo/WZGLg4m+poNQGzXj2nQi+kucohKg195TkCe01?= =?us-ascii?Q?XKyrQJ9BLkC+w82EocFcccobAOvsJDSXtbhexExg5VMAayEDWxwZHHOp8rFH?= =?us-ascii?Q?9f0Ykki1H6MoK4PGDw/cUmQ1VwryohIRtfjVWUVuh4NFtFeuTvggqzTBC1He?= =?us-ascii?Q?diPl09QlTvT17FETL9SBxyBVoO93I+0ygzZU2KEvYxL3zUYoMN2Gqsvld1+r?= =?us-ascii?Q?QPy52/4TmQZy1izq3ckNv56i1uYbdDlViKscL5nSoUDgA7kVAGfno5lV+F0D?= =?us-ascii?Q?nrwMpAd5cDc97XnVTXNIlQxdj6GPB6PWOEL+arZ87PovTE9uAHH0pCjVEkUR?= =?us-ascii?Q?pqEvDQ79CVBOTTsAwiZv7OA2k02zS8611iy/hFOjp3rxmb93I+agchG7IK2O?= =?us-ascii?Q?slBISspj2YWlmZ95azt2IkK3Ag3i5pgm4UfFQiN0M4Vz+I5X28SngHG7CKTP?= =?us-ascii?Q?TZTNZDTZqvMNKcrG8OSguzIeYfeN3xhTz/jn4qSqHu6kiNl/lBdiWViNvaBc?= =?us-ascii?Q?CyNoMce3DhynL8RJymYcwNsmhieVGeIbQn+QoCKyeCtHEcUAaUI6Z2XM8bpn?= =?us-ascii?Q?zRmx5vwYJGrZR2Ytx+hA59wYH898f1G9ZeWg51hwAcGAHTGPQoe+pj8bx5mV?= =?us-ascii?Q?6PA/KC7acYtz4KChXvUY7xV877Rp3YiQeJkXVqo/CYiIK/ZO4JrGT/TEfMwE?= =?us-ascii?Q?l0EtGgBsTdWpC5qlYhblAyWaauOemm927W9QF9gBewtIakNfxNVEC9ijqehi?= =?us-ascii?Q?IhV5abQ0e+H45lZPlOpKvKmmuwElxndNKapKQPKJ7u9QhfrwVrLTnaq8J1bO?= =?us-ascii?Q?uEm7h7uqZXVOM+HSJ7/ZttUR/HNNTkQQeJRWQepY?= 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: SN7PR11MB7491.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1fa8498a-dbaa-4c9e-cebe-08dbdaaf9304 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2023 07:53:02.3364 (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: nAKpoMAC0izu+4p93gHXmJ8u6LDRR3JbUsPg3MArc2jWZ2W6HyAeBNbq5GQXqTAkzmdOX+/lshfOBOejqrYm5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5219 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 Hi Kaiwen, > -----Original Message----- > From: Kaiwen Deng > Sent: Wednesday, November 1, 2023 9:35 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; Deng, KaiwenX ; Wu, > Jingjing ; Xing, Beilei ; Z= eng, > ZhichaoX > Subject: [PATCH v2] net/iavf: fix coredump when exiting testpmd >=20 > Avf releasing mbuf using the vector path release API causes a coredump > when the basic Tx path is selected. > This commit changes to use the basic path release API when selecting the > basic Tx path. Sorry, don't catch the point.=20 I see you changed the code when selecting AVX2 non-offload path. Confused a= bout what's " the vector path release API " and what's " the basic path rel= ease API ". >=20 > Fixes: 22f1e7608ebc ("net/iavf: fix AVX2 Tx selection") > Cc: stable@dpdk.org >=20 > Signed-off-by: Kaiwen Deng > --- > drivers/net/iavf/iavf_rxtx.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c = index > 610912f635..a16e03d88c 100644 > --- a/drivers/net/iavf/iavf_rxtx.c > +++ b/drivers/net/iavf/iavf_rxtx.c > @@ -4022,6 +4022,7 @@ iavf_set_tx_function(struct rte_eth_dev *dev) > PMD_DRV_LOG(DEBUG, > "AVX2 does not support outer checksum offload, > using Basic Tx (port %d).", > dev->data->port_id); > + return; > } else { > dev->tx_pkt_burst =3D iavf_xmit_pkts_vec_avx2_offload; > dev->tx_pkt_prepare =3D iavf_prep_pkts; > -- > 2.34.1