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 B993443260; Wed, 1 Nov 2023 12:01:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5E8640C35; Wed, 1 Nov 2023 12:01:04 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id C716E400EF; Wed, 1 Nov 2023 12:01:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698836463; x=1730372463; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dnaAZMFE2GycPd9EGctkDvWsB+ts1P1sARM44SFOUzU=; b=RPtBqcvNXBv+pK+13iFQYccjVzgdpptGh1hrfyDhRETUnZFd378AS++y bGPURfJgcePNr0e/YYcjkbOKRUIKlBxVisi1VWMkv4C/uSSXW4g2YjZgr oH6uwFlMfI5CqOTf+CZ7xVzu5phNkn19xR29hv9F8JzRM0VxgY9YDQm5G GrEYhG1n0RxYuQ3zAPfU0TfLCsSm2xjbTw23EDZdQcE3vPxNsWXYcbnzf kn77Ua1cd06EQBL3b4GuwFdNQ//W/UxztuZr3vyGXWp7coHUqt1pAkD2J Zz7mLevFH+Q0GUjSl6Ael9xXRX3SAItB8f8WRQLKdEbHaVvJE16fT2rSx g==; X-IronPort-AV: E=McAfee;i="6600,9927,10880"; a="419590696" X-IronPort-AV: E=Sophos;i="6.03,268,1694761200"; d="scan'208";a="419590696" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2023 04:01:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,268,1694761200"; d="scan'208";a="2052325" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Nov 2023 04:01:00 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.34; Wed, 1 Nov 2023 04:00:59 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2507.34 via Frontend Transport; Wed, 1 Nov 2023 04:00:59 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) 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.2507.34; Wed, 1 Nov 2023 04:00:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZD+Bht4jnaVxtq70pYJCOV/TlGrqbMmnKIcEL7KTOsyGZ177BZNE0Fdu3H0cAiolEAycW/chuae2E43k4I16WCDZ+OCwtj9rYQEUSU2NfVg0xPfXeCdZx0j+5e0W/L+lCy9KhZnhF+GmIsM9ysu66LId3tx5nPGpx5qrF1NiliXnAzlRapaKAnwErzltEKQjiGuDwgL3YuMkTD90+UrnP3DIu+7EKiMYYSUqZCQuPUeaklV572DwxdhZnrPizfxh50X2AvmGzF+Y1AeRdOZFk9CYsaOXZqvkq1chvppVcn3477wHnbWCEIwCmP8ZW7MTaRxQQ59IfVxkO5dJky7kvA== 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=HLnncW9Nvu/hVEobNsypB29HQq6GLvAzJ4YIK+8BAmA=; b=HmEn9pxPHnGDXLZanWEmq3STQLolMCEJwu4G3Evd7OrtcqL2QsWNz0v2DMBgSOIUjxN0fyPhlHv6BsT452/NZpiNkIi5gpxzm12w97F1TY7uqWRHlXNFqkMN2QwrQ6Hw3cmepH0eCoTsm7GXxOCbfI1GlepEBi/PrRqwl/avfaPORrR+3b9s1Tzp7sGEzGtBu7kAMSb6p3vq0nIbKCuyLpejJVYP1DHZe9ojF4kJxyNeRMrsjPosZB7yiC/ER22ihjQqu/PLFd8mdZb2GYCBW/4sJHbUB50ZR2JzgbHca1EdKxf+Clk6uvSEKC5PpIEVFXlvX00WQ+BIO7Vs3ZNyqg== 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 SA2PR11MB4858.namprd11.prod.outlook.com (2603:10b6:806:f9::10) 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 11:00:56 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::fccd:acb8:20c7:e756]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::fccd:acb8:20c7:e756%4]) with mapi id 15.20.6933.026; Wed, 1 Nov 2023 11:00:56 +0000 From: "Zhang, Qi Z" 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: AQHaDGkzr8IUSjmqZEW6dgfLi6G+OrBlS8eA Date: Wed, 1 Nov 2023 11:00:56 +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: DM4PR11MB5994:EE_|SA2PR11MB4858:EE_ x-ms-office365-filtering-correlation-id: 18280821-73dc-4518-ad36-08dbdac9d2f3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: d95xm3paMyDxcbZuF+hQ0cCPh0UTjf9k/7uR+Ns72T13n9mBfQ/Ik3XKhCVa5ToximNzHNx0ZnlJXYu/3ng32AoRI8iNCB2PqF7RUuHFwSC6F5C7rlGw9KUyfTB9LIYXaNvXrPv4h4Av/gieAmyMc6pmCpH/ZEI+hYhIO4wj0FSu0Jyq2QppqVerWRQ2BP/0n/t9fm5oN+ECwyFvsQJL2hu56OXDH1gyWhk8xST4ZCm4vQRuaF/QN77FkiCtC7Q9qAsCqJ56iTNF6xjwJVIHkdijf3+v+lRlRU8lY6Dp/+1zkirIIbH6HjFAjtiYnDHdtilxnizVXQIbSQUoVrM/eOY690mgGnOwzLYCP4d7OS/b9cLzPOAFG94BNx4YADuYJVayL5niRx1e5YHDtvkDaowICppqWmm4iMqWkBiWLcB2zV5VO8BFLHiajMcfGCf5NxAsDmzS2SMNELgBoRE9friC5sv5H1O4jlwBxBdoLJIa1gkJfaBrsezhz3wsQMb0QJG1l+BZtmudN1lTd7EjljhyOVHG3AHQBYxtuslUPv7qBGpVOwqlK9apHmUl6KyTiV6OBPl0J53tG/F3Mwc35ro+Lbq+PuqlPWqi9tsu5yUMIQMyXD0URiZjPU1uhOCM 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:(13230031)(346002)(366004)(376002)(396003)(136003)(39860400002)(230922051799003)(1800799009)(186009)(451199024)(64100799003)(55016003)(26005)(9686003)(33656002)(7696005)(86362001)(107886003)(6506007)(53546011)(71200400001)(38070700009)(38100700002)(83380400001)(122000001)(82960400001)(2906002)(478600001)(66476007)(66446008)(64756008)(66556008)(41300700001)(54906003)(316002)(110136005)(76116006)(66946007)(4326008)(5660300002)(450100002)(8936002)(8676002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FthjbaCXCybZil1BwneFs2GvKzkyjhTvG/ZWDoX8WzvzfCRhBNh/YZANPJFk?= =?us-ascii?Q?e4F4q+nhlb3cnL07WXxfsJ3VSJHVV2Z9yAibBe+x32vtTdkuidxrVfDqyDY0?= =?us-ascii?Q?D91Sp84/DU8gs59B2NQNYWDiQ5kMsyGYHNykv8UBtogtzE6A/SHNbM4nOa6k?= =?us-ascii?Q?qkBwR9BSIddZtjS+MpNzKbIfgt8/uN95P+D6H6VjoJU5zHX4j99XogzyNEH/?= =?us-ascii?Q?nDpu8vZ6HyXZZ1LBtPUsmNKw5fb3i7E7tpQkU7qIKCJOHcCvLz2JPuBqQsNz?= =?us-ascii?Q?U6XejIYrmWwANMSrFH0aEfybkyAkvxU+PKqid2OCqj2eHGBW7AwNWMs80Cic?= =?us-ascii?Q?/Wh5hwirC2mGplMsKC3brjnqVP1p9qX2zMoRnePlZr7nVoIkyI7vsEaWY1R7?= =?us-ascii?Q?0G7W9FFhP6YNEi9+vDdmQ/XaM8N6/+80SAoy0sJlbpDAL4dE7absPRhXySaW?= =?us-ascii?Q?GdH+Iq3G9DGRb0eeW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?us-ascii?Q?jROpnXfb4WfkEmb5mAJkoa7ZNgJ/fG1JV269CsnLoqbfacd0PC21yYEKqQQi?= =?us-ascii?Q?jH8XQmBMxezZlQPEB3z6n8kKixmYq1l28Vdr4GUkyH39E7p4Lxh9RyFMf445?= =?us-ascii?Q?TYFzVZMJFYXAOw40+vKNmvekek5S6MJzB86j+Pven82Ce1vBj6Km26bpdbL1?= =?us-ascii?Q?0ovJCMWiSJUBcmCpqMEtc6PuoU0tai4On/J4Gcf0?= 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: 18280821-73dc-4518-ad36-08dbdac9d2f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2023 11:00:56.5333 (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: HXt80DymhLnfGdW5KP9bt3KS/FI0uE2Zi4b4/M4Xr80+LmuI9xUGjyB7JJ/lDWUUhqAJ9MJQ0Abh7/Vij26Cdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4858 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: 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 please remove testpmd from the title if this issue is not specific to testp= md. You can always add reproduce step with testpmd in commit log. >=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. >=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