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 51982A0C46; Sun, 29 Aug 2021 13:01:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBE5840142; Sun, 29 Aug 2021 13:01:53 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id B671740042; Sun, 29 Aug 2021 13:01:51 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10090"; a="218158277" X-IronPort-AV: E=Sophos;i="5.84,361,1620716400"; d="scan'208";a="218158277" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2021 04:01:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,361,1620716400"; d="scan'208";a="426868144" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga006.jf.intel.com with ESMTP; 29 Aug 2021 04:01:50 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Sun, 29 Aug 2021 04:01:50 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 29 Aug 2021 19:01:48 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.010; Sun, 29 Aug 2021 19:01:47 +0800 From: "Zhang, Qi Z" To: "Wang, Haiyue" , "dev@dpdk.org" CC: "stable@dpdk.org" , David Marchand , "Yang, Qiming" , Xiaolong Ye , "Xing, Beilei" , "Wang, Ying A" Thread-Topic: [PATCH v1] net/ice: fix memzone leak when device init failed Thread-Index: AQHXkA7WMbKdxwNRWEuM77JBJD7biauKai7Q Date: Sun, 29 Aug 2021 11:01:47 +0000 Message-ID: References: <20210813062154.62985-1-haiyue.wang@intel.com> In-Reply-To: <20210813062154.62985-1-haiyue.wang@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.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v1] net/ice: fix memzone leak when device init failed 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 Sender: "dev" > -----Original Message----- > From: Wang, Haiyue > Sent: Friday, August 13, 2021 2:22 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wang, Haiyue > ; stable@dpdk.org; David Marchand > ; Yang, Qiming ; > Xiaolong Ye ; Xing, Beilei = ; > Wang, Ying A > Subject: [PATCH v1] net/ice: fix memzone leak when device init failed >=20 > When flow engine initialization or FXP resource reset failed, it needs to= free the > memory zone and unregister the interrupt callback. >=20 > Bugzilla ID: 752 > Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine") > Fixes: 7615a6895009 ("net/ice: rework for generic flow enabling") > Fixes: 7edc7158d771 ("net/ice: cleanup RSS/FDIR profile on device init") > Cc: stable@dpdk.org >=20 > Reported-by: David Marchand > Signed-off-by: Haiyue Wang Acked-by: Qi Zhang Applied dpdk-next-net-intel. Thanks Qi