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 2AEB5A0C4D; Mon, 6 Sep 2021 03:34:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A04B940E32; Mon, 6 Sep 2021 03:34:50 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 16E2240C35; Mon, 6 Sep 2021 03:34:48 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10098"; a="242134543" X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="242134543" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2021 18:34:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="691433771" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 05 Sep 2021 18:34:44 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Sun, 5 Sep 2021 18:34:44 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Sun, 5 Sep 2021 18:34:44 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 5 Sep 2021 18:34:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eZxyOvOJD2/ZHb5s/vCfkW7tJ5pwLs6ubNxbNhatlcQAZ5yCCFOJaSoOr5FRwGxGmaPeTtbgOKQ0CqJrEpMb+MXtAnM3kwp5o3I/Ki+H5tSUcwZQpuABMZU5XKOCZYYSprJKfCskAu/cj1bUGoy1DoClK9sfSbKPzBWSBmV+FLu9N5vBkxf94PkCnwZp6PeTjCuj1GGgX/kOH7ij+WU9win3b8FfUbhsugMO1ESLLZQsitACRUHzSfYwYJoYKp9G36Z7s+te4TFrb2jKi5b+NBHpmYM/bc3iZAogqe7Rg21YPQwLFlK9SRRwSFE6dHaVEydcgpzJw4nJ36YkThn0Rw== 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; bh=wb+MVepwBCV+uaAAS2ldsyc5Ei/vSX9yrLESL8CajDg=; b=RYAmrBRP4s3oxFvZCvbOK4GE52vTkw2lov6haHagcq0OMysmXK6NxUvkYkiVjt1sxQZcEksII69LYZJS5DB4idZ67vP+TiqTMivwhsKvUzTkh3VrODM5SttdSD3nUE5t3kg3Sn7CoW4o5m/X7us7tBQQ4p4eDIbuPuCDUZCuRgVyk+7S3m6silSgnGE8OrRY1mxeqZ855SqoVWMQ6VkB0ArY873F7UlYuvNH+PChLFrJVIYPf5ojIppglVB5/WEbLTmIoZuJfUrmvKYh9769eNclA+ST0w9dfkIInZq9hLXpcS/TIEGsEy14wVCNgelgveFNMh5MGFJkm/Z5ex30oA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wb+MVepwBCV+uaAAS2ldsyc5Ei/vSX9yrLESL8CajDg=; b=fDEuiF2/AuUabWvP7LLYtwhSdN2tj95TplfdVLiILWTHbzvvjphppnj+VoY60l0mwcQCi31RdrTCzBaEoUKFWRcw9+pR9a5vfxuM/nJ1foOofbmaMPGG458CO8cda2mUbUvNy1jKW2c4KxlT7zDYiNvOM+HTEfUTQGFeT4Dqp/U= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3635.namprd11.prod.outlook.com (2603:10b6:408:86::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Mon, 6 Sep 2021 01:34:43 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::dcf0:d9f6:8024:1879]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::dcf0:d9f6:8024:1879%6]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 01:34:42 +0000 From: "Wang, Haiyue" To: Qiming Chen , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] net/ixgbe: fix queue resource leak Thread-Index: AQHXnm3mAigjGOzwb0GUp5SV+YhOe6uWQb6w Date: Mon, 6 Sep 2021 01:34:42 +0000 Message-ID: References: <20210831134017.8060-1-chenqiming_huawei@163.com> In-Reply-To: <20210831134017.8060-1-chenqiming_huawei@163.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: 163.com; dkim=none (message not signed) header.d=none;163.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1ae32e7e-903f-43a9-dd94-08d970d68066 x-ms-traffictypediagnostic: BN8PR11MB3635: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: e8WxLiP30cQN3CF68nbvdcMzPOgoJzlUMJcK6I5rrFlEdt3VNcjcrW83ym2tNys42w4yJbwKqFFsC48aW7Q+odvFBpDzP3AhbnJDxc30Me5pi4/5yH2C/+d4aLhx8qZd4uFR8GRLOwRDKIUiFj+42RvF/257NS4Xk/+M/u6v96OaKVkVchQbDpw+gye9ZODI+knIMF58+AFvS+G0u9qxVSmrxJosUO7YLz8ucI/IuCD1DV3vxsjBU6ouHGASU1XnsCwJycf4QqnquxlB3EetmJIaVTl1ZAZRZIuPeoOj1wyMd4Vw1hfwAKMBgSzGX9BLQ37KKts5mFGFNCypT6wa1kcbhZT2vU2PeK4LH9ayP9LjuCB3Ojkel6hZ7u4LkeqGJEUiagkgGeoln+hMrDq8putPFPKFUNOoGFAz9rORgEHAm2uOl3txcOIohh/zwZiPV7Omu95KnkQBA9fMoiuGd+cvGF3t5Q/xZTuTZfPUT9KEeyAS7MCO/KozJOg749k9xPuXXu6+od+O3APCsmLamTtHGI+AW36zFimFcE9N9cvGjdJnS0GEKiIQr9NbnNvvEtufs3QAboiCwpfkWQcdQk7MMgOJafuEcKMNY/hYL/Te+bW5c+AEF5I/KZ3KnIzPyYIp8w2JOz+sY0+9J2WXrYn7ANkdEsMitqPvk3NViAhy0YTgl/8wY8uxRImk4Bl6LXVCMylmsTC29/LKBRgz1A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(316002)(52536014)(83380400001)(6506007)(76116006)(478600001)(2906002)(55016002)(122000001)(71200400001)(9686003)(26005)(4744005)(110136005)(4326008)(33656002)(186003)(8936002)(53546011)(66556008)(5660300002)(66446008)(64756008)(7696005)(86362001)(38070700005)(8676002)(66476007)(38100700002)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JLGlT6iqFrwc9dzzSFVIXFxURr5cnqWOU1GwupVQUllYYqxFbt2ilF7rcjvX?= =?us-ascii?Q?ikmaffgZpWPvX22hH5heyiwkVexCCQ9W8/pRkEnErsq6Bbqw+qqYg/iKZCeA?= =?us-ascii?Q?4e5C7yXmrLxwxaitgwFA2TSp6B1oK5I7x9CEvaltLoK6m8KlM/J3ktgDCx0J?= =?us-ascii?Q?6ewFVygWaM4NntYkMPRkroBuhywoF5+PRbAAzG40rcBOs8rncx205gizQYR8?= =?us-ascii?Q?gC4OQxETbwLl936DPUeTJqwsi64ETo9go+8OuNH+ZgWMdHfgFcecbQ8sb/NJ?= =?us-ascii?Q?8edilf48YUtSvYXyBC2R/WGk8SSh4+P9++hyQRjKdqVuBDAd2ts9EqEvr+gO?= =?us-ascii?Q?Fivf9EMyDAroKaW3KoHt3fUipRKU4HPeu33VR5CEE3rjI30kAkSPkkv60rfA?= =?us-ascii?Q?Tqu1yYmxUvso4MMWUZ4+4ne4DaLoOZAHpUJKEXKPV8dwUYNs6iLY76ISzW7P?= =?us-ascii?Q?oeqFAAPxKl/7Bwt/BlOG0qaDmgbRCvMWTml6H+tlfe9xiPFWqe7KKiyMFece?= =?us-ascii?Q?g9tUlCl9ReldsV9/uHyIjJBuVqPDlE6DWxMD/OCN2XH6JwbU8+pGrE/TlCmW?= =?us-ascii?Q?w1M0dBt8MC7b4pFpLnbpFVpfwj2/OzbRy3bAnLBySs7I+TbtkbBJCWL6ixj/?= =?us-ascii?Q?VqAVm4Z8RrRAx7P4b4SoHQhG719QVSqzgjvv3GTuQz3yUAiMFnW6IS1mBwwX?= =?us-ascii?Q?ulvytQhyoAs/D35w7OrJ4YrSwRM6uOjXdmULtH/cI/p6/GkyvVcoVjU6ewGN?= =?us-ascii?Q?8knMhDTaidl2p3NfM6FubhFgGZzjlj07rhF0z1/r8krG/eIwel1WP+MaIHRQ?= =?us-ascii?Q?Fk8jy2M0Qa7ugAiRNe6SIba1QcGeq+mQ0Dw5wkNg+mNmMsBSzn4gdIo6n4/f?= =?us-ascii?Q?Q9KY3SEU16pNCsU7vZW4JQYoLP6iH4B9PBHzenA/GqYxNB6ux+VnKC46p4o7?= =?us-ascii?Q?vfz7xPMrLHPswnkiBrBDtktIOrMfcfS9RVQWTAucosBUwI8OarWcJw2IlY7Z?= =?us-ascii?Q?JHwbFCS2/o3f5ehELxwgHXov7WJNSdpBSPzFkjyKGgV5hdO0W+oPsQ2dtQKy?= =?us-ascii?Q?jThVFwz5puNnwX5QBcKoNWZsq70JS154EvUGmziLfuVz4PAKt70a77S9rsQJ?= =?us-ascii?Q?U5gsomHMtNsCtaEOrJwpQAq0Se+hjgSEkX0Gr51Eyfzdt6jXbzL+L13HoGz6?= =?us-ascii?Q?OtDccZs+zjFTKHYIvNOXBasL4Odsa8BD5KEo5QRCleDgeDHnYc5lKfKWQQf8?= =?us-ascii?Q?1g4kC1gHnu6HyvCccqfSoZLydGAyKH6O2hA5rQCnE2eQVfQqkgXris5cCtgc?= =?us-ascii?Q?x9Ho47u1TCo0ZUJbAvA59HN5?= x-ms-exchange-transport-forked: True 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ae32e7e-903f-43a9-dd94-08d970d68066 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2021 01:34:42.8403 (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: ZxZhT4X4xxF1W3cPwh/FqoUwa8FcOxrTtftL6KG5FRYFE5NA3aqjLOABS9NVgHQdyT+lsWyKCISuyDnbkXpmyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3635 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix queue resource leak 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: Qiming Chen > Sent: Tuesday, August 31, 2021 21:40 > To: dev@dpdk.org > Cc: Wang, Haiyue ; Qiming Chen ; stable@dpdk.org > Subject: [PATCH] net/ixgbe: fix queue resource leak >=20 > In the ixgbevf_dev_start function, after initializing the rxtx queue, if > an exception occurs in the subsequent function, the rxtx queue needs to > be released. The patch solves the problem of queue resource leakage. >=20 > Fixes: 0eb609239efd ("ixgbe: enable Rx queue interrupts for PF and VF") > Cc: stable@dpdk.org >=20 > Signed-off-by: Qiming Chen > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 Acked-by: Haiyue Wang > -- > 2.30.1.windows.1