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 E1E5EA0C45; Wed, 22 Sep 2021 13:43:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63EF241198; Wed, 22 Sep 2021 13:43:44 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 36AC141196 for ; Wed, 22 Sep 2021 13:43:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="203729305" X-IronPort-AV: E=Sophos;i="5.85,313,1624345200"; d="scan'208";a="203729305" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 04:43:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,313,1624345200"; d="scan'208";a="613384016" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga001.fm.intel.com with ESMTP; 22 Sep 2021 04:43:37 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 22 Sep 2021 04:43:36 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 22 Sep 2021 04:43:36 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.12 via Frontend Transport; Wed, 22 Sep 2021 04:43:36 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.103) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 22 Sep 2021 04:43:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I6mN0nExBu7P1Eaogxwhk+RFhCLfdrH52PdyYNdTHYkHtuLu8HpdA9F4jEoHF8vxaAKoIDu4AKPiHKC8j3++1DY/NP3+R4rKrbY8/gg02pUmx3snmOabbEXFy0YExYQ6/0x9fS5TBoVN2DjRwzG44wiJG78ioGU4t15Sup7dvsxdjgwYwaBqi+dOLJYHVr34hexnZQxk/CF4EUBwEe+rXxJhNz5AoeY9qICK9RcUNzGcXYSF76nBv7LfS5C6WIsWSNTHvkyEixs/VkBBTj0nRwPQlqNpsXEREDcKuhIIqtVJVactkXUF9lJFGHExX72aOIlKiNrLA78V2riojzzeTQ== 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=3GwVEubSBqh3yi/elelRz4YskXh+9AZSxkrBrrwxxUg=; b=Jg4nIoOZAxxOvP3kHQsaD4XFAmC5ytRuOgxPfhZy8h4TaNxf0ATmbcG6HCm9sZX1qfPGk0jJXlB1kFw7GbWeUKycQs71RSHmhLNWULvbcauWLPJa/cWSLRhV8JCW1/3mfo1JyTrl88pJ339aWQzBcOXAftq8/z3V0LT+kqdoKZw1jIY0zwJAvnDGQ/FLi7EYEYGKhzU7R6JVGbQanbk7AWjU0sl9rSJCdFaxraKyTnYlY5n+rnelprc04K48stpLKhcJ1U54PqbTU7iRqMCn/LNsZQMu/9rWriEOykYAiE9yxme28UTlDTbywc4qvLTcbqYf8oqwMGJ4k+3ZXb2oTg== 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=3GwVEubSBqh3yi/elelRz4YskXh+9AZSxkrBrrwxxUg=; b=VzjRdcr7QxiB2WLdr0/ak2GFtfmXEJrtntENmeRqXglZX8HjAAX3LVzgeT9mmvQr1V5OcRND76fPElSXBejPWKIHoJAd1b1WmeLXtLEUEjetNI0grtbOK2m93vQBuiajCKf5JDgcbvEhN/z+9hqGqKrpDRu/mpt8Jt2CoSs65h0= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN7PR11MB2737.namprd11.prod.outlook.com (2603:10b6:406:b0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Wed, 22 Sep 2021 11:43:28 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::a437:5cee:7df:1fa7]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::a437:5cee:7df:1fa7%3]) with mapi id 15.20.4544.014; Wed, 22 Sep 2021 11:43:28 +0000 From: "Wang, Haiyue" To: wangyunjian , "dev@dpdk.org" CC: "Xing, Beilei" , "Yang, Qiming" , "Zhang, Qi Z" , dingxiaoxiong Thread-Topic: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings when releasing queues Thread-Index: AQHXrGkUzUqutX+q7k6clHAnH8OlaKuvmn6QgAALJYCAAAE4EIAARh6AgAAIASA= Date: Wed, 22 Sep 2021 11:43:27 +0000 Message-ID: References: <22811a29652fba4827277ddebc578596ee2e766d.1631953295.git.wangyunjian@huawei.com> <06c01dbba1db46a8970ded089ae05229@huawei.com> <43944333b6624ab9976024906065d8df@huawei.com> In-Reply-To: <43944333b6624ab9976024906065d8df@huawei.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.200.16 authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 990dda1e-efb8-45e4-2cca-08d97dbe31b2 x-ms-traffictypediagnostic: BN7PR11MB2737: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3weMlrEDxkajJFx/y1PzaoGLi7R/8AkAKVmC77Fqzsp2cLN9A6/wvmpUmspeS9rLvTDH6sMlxyJB5WhZU82Ii3DouCZO4UUr/5E4LH5ooVY36GemR1WwGmLuZdonqvEGg2LRUJT/G98AF9gQjwDHYXYaxlqr8dKrDtZbce4Uo528dqXz02nAQwn0KWHcv6ResqkpmPKgJQxCsE6uHYKdLl6y5EPUQZzpy/FTOIhHwhS1cPc75ntIcYrkVP2Kt8/89mEiQ7WIzH1CQv/9E0eLVRXu0QPuH7FJevKQc7AAHdrwHUaH+ucknXWIvDZ5FH7287j8ljM7Z8HWyVbMxOHiT/WBGt0mzg8B3xd/+yDL89t3hhlMAA57wFH8d94rnHdKryzNiQplf3awiNAn2op007+MIf82g4KuKp6qTo+yVIUfIMSI4bWwRuP1GdPaBjeqw1BkjiZu2x4pJsw8t+55qjlnKwxf4FWCHmk5cyeiKzGZS5ZQv8URWcsgM6W9+s9aPUZGgVx/bL9exTud62AMluDSFUHCKeqxu64y9EvFgmqFE5ajf3BnZ+ec5DN8OfUt0f/IfMUjss/qAGtaPpq905NNnzNwLPG0K8qhwg4+4KX0O40ZAsJHtlpN5dMhq021CWWk8hOjs4plDJs8m5RmWCF6nW5wNiJjttj2OXMDs9xyJ//b//jJQcY2qU6FOfGOG0LnNppFQkxyEq8zCeb0On8jnjqZVSljfzsiGaJnURQOvuh4BEzPyV54EFm8V/6eqCrkJ0cixSXXWLXhIS1leuIpnt5eVDLa7UncSLrZnbeHB5bmGIGMka3Cnb1CVkFrHvtRfAFnVj56mcHrWLJBMg== 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)(366004)(7696005)(966005)(83380400001)(110136005)(508600001)(38100700002)(8936002)(186003)(4326008)(33656002)(54906003)(38070700005)(9686003)(8676002)(55016002)(316002)(66476007)(6506007)(66556008)(64756008)(5660300002)(2906002)(53546011)(122000001)(76116006)(71200400001)(86362001)(26005)(52536014)(66946007)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?g+txdVLzHwPL6xAOc13MW4HFWHO/bDjRGR5dgtM16B4cYV1aDOUj7qLFuFud?= =?us-ascii?Q?q9Pk85tIHVhX3e+pen7zbW2Zb9Ud8oqd6qbpfKG2M2kOCtyhFl1bCcIOXGEp?= =?us-ascii?Q?bffisDQf27AVPp+nLHDxXy1JozyAcExobDPTTnFzj6/yXvom2f0rGM1L+AaH?= =?us-ascii?Q?moNEVjoqj0FXgCYQoe0ML/ZBDU7lcqkpB8TrhsJ8Y2facFZiDTwEr6gql8tp?= =?us-ascii?Q?AT/zPreA68XYicvDkkymMVIV3MeBkbz4N5vZT2Q4H9y0Cw6R1k3BTJl0Vytr?= =?us-ascii?Q?TpkwqI21/bzfnf7h91BeAsw8AG0lyXS1EqBi5peq/jOm4wmfWFiRlSCYoalk?= =?us-ascii?Q?1QA5R7zR0SMroIQL8C1YQJlOPBn5vcB4w1YXD6CYnnGHg7mBt3u8QlNQXRIN?= =?us-ascii?Q?Jnx+tGR/NZAIt5GMODqePFpJFadhWhjMjlrabT8Mk6wyDYvJm7P3t5zMYc4w?= =?us-ascii?Q?0NwkUJNgnhelBNk9ooNZnhwfvsBsOEGB19wL+vD3MN3UwCglRSt6c9aF/XtZ?= =?us-ascii?Q?bgBmblHPa7dRm5hn10KiH6tM5Q+u4En8H8SPaXo3LBAqROkbvYGKCGlwmFry?= =?us-ascii?Q?QUEJ/N1CuzxRmmcUK2zm9IcbJZFFeeKvLc6tN8SQwxndT8AuNTGBb5UH5Tpe?= =?us-ascii?Q?+SVpvGngBJLqzUnC93wPEPd/Zq0Ibu2jNMbpP25c+/tTlx3yY+BmCtGQ0+bm?= =?us-ascii?Q?eh6RHExPkbcHB3lDiI8YypZhAFzi5A4/bC8j86pNjIRAVa3Wm9cfomMDkppr?= =?us-ascii?Q?haJdrj8ATYDnSr/ihjmvVWYgGO4n9frtNxJLtzQSlobL0Mfd5Lov0202h9Tf?= =?us-ascii?Q?YyQpugj46Qud7o5ISigyfySqsu96SDZK8psOsiR2QiBOeszIMNuadGhGP7be?= =?us-ascii?Q?LBNLz26JNKmpPj2vNsXvtq/grkWuy7IG0kJyFGQFGaenXbv4WJxtUy/9wZ2z?= =?us-ascii?Q?hjltEZClYklRkLIw5wnRKPiAHBz+Q+gTx7ipdQb/UuK9uAWczI3ylCUutmQX?= =?us-ascii?Q?HMDNKdsCR6ZM+0AEAHM0mWtKNlIY5ihAGIiuZYr3HffIFOVO0c8lJG/cG6G4?= =?us-ascii?Q?GKce2yqgpOEhOK+rFLNbzzKFKuj7hAoPsuyXENeSlAhH5urfYzym7FFUfcPO?= =?us-ascii?Q?tvEXNWPyOGjgFhsrhyqxTxg6+GF4DNHAMh96/m2bmazc2iynn1XmZX6SbeT9?= =?us-ascii?Q?ni463WxKcO6n9uWY6umh4U+LSxv7n3DfXs/uaDiG3mvni0NuVTvMLap+tiNt?= =?us-ascii?Q?tTQST0Sh77dnT1ZZ9ZIK9LXxDkrRVrBqML/yCgBDdBjL/6OVWIoGbVcz/ZmL?= =?us-ascii?Q?OJXtvkxEKBTSW0taD8TDDcU4?= 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: 990dda1e-efb8-45e4-2cca-08d97dbe31b2 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 11:43:27.9894 (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: Ba6PEYm4RI/lIKFf04iojeK7Cwy82wP1eUfFe/c3GMHA100oNMuU5xTWv7F3pnutUwV7w7tThUXz6SfLCuCFIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2737 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings when releasing queues 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: wangyunjian > Sent: Wednesday, September 22, 2021 19:14 > To: Wang, Haiyue ; dev@dpdk.org > Cc: Xing, Beilei ; Yang, Qiming ; Zhang, Qi Z > ; dingxiaoxiong > Subject: RE: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings when re= leasing queues >=20 >=20 >=20 > > -----Original Message----- > > From: Wang, Haiyue [mailto:haiyue.wang@intel.com] > > Sent: Wednesday, September 22, 2021 3:05 PM > > To: wangyunjian ; dev@dpdk.org > > Cc: Xing, Beilei ; Yang, Qiming > > ; Zhang, Qi Z ; dingxiaoxi= ong > > > > Subject: RE: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings when > > releasing queues > > > > > -----Original Message----- > > > From: wangyunjian > > > Sent: Wednesday, September 22, 2021 14:58 > > > To: Wang, Haiyue ; dev@dpdk.org > > > Cc: Xing, Beilei ; Yang, Qiming > > > ; Zhang, Qi Z ; > > > dingxiaoxiong > > > Subject: RE: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings whe= n > > > releasing queues > > > > > > > -----Original Message----- > > > > From: Wang, Haiyue [mailto:haiyue.wang@intel.com] > > > > Sent: Wednesday, September 22, 2021 2:23 PM > > > > To: wangyunjian ; dev@dpdk.org > > > > Cc: Xing, Beilei ; Yang, Qiming > > > > ; Zhang, Qi Z ; > > > > dingxiaoxiong > > > > Subject: RE: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings > > > > when releasing queues > > > > > > > > > -----Original Message----- > > > > > From: Yunjian Wang > > > > > Sent: Saturday, September 18, 2021 16:42 > > > > > To: dev@dpdk.org > > > > > Cc: Wang, Haiyue ; Xing, Beilei > > > > > ; Yang, Qiming ; > > > > > Zhang, Qi Z ; dingxiaoxiong@huawei.com; > > > > > Yunjian Wang > > > > > Subject: [dpdk-dev] [PATCH v2 4/4] net/ixgbe: delete HW rings whe= n > > > > > releasing queues > > > > > > > > > > Normally when closing the device the queue memzone should be free= d. > > > > > But the memzone will be not freed, when device setup ops like: > > > > > > > > > > rte_eth_bond_slave_remove > > > > > -->__eth_bond_slave_remove_lock_free > > > > > ---->slave_remove > > > > > ------>rte_eth_dev_internal_reset > > > > > -------->rte_eth_dev_rx_queue_config > > > > > ---------->eth_dev_rx_queue_config > > > > > ------------>ixgbe_dev_rx_queue_release > > > > > rte_eth_dev_close > > > > > -->ixgbe_dev_close > > > > > ---->ixgbe_dev_free_queues > > > > > ------>ixgbe_dev_rx_queue_release > > > > > (not been called due to nb_rx_queues and nb_tx_queues are 0= ) > > > > > > > > > > In order to free the memzone, we can release the memzone when > > > > > releasing queues. > > > > > > > > > > > > > After re-check the eth dev API, I think we can simplify the commit > > > > message to such as: > > > > > > > > Fix memzone leak when re-configure the RX/TX queues. > > > > > > > > Please see 'rte_eth_dev_configure', when queue number is changed to > > > > small size, the BIG memzone queue index will be lost. This will mak= e > > > > it is a MUST fix. ;-) > > > > > > > > And add the Fixes tag and CC to stable. > > > > > > > > What do you think ? > > > > > > OK, thanks for your suggestion, will include them in next version. > > > > > > > Also, please fix the patch format warnings. You can get this from patch= work CI. > > > > FYI: > > > > https://doc.dpdk.org/guides/contributing/patches.html > > > > 6.9. Checking the Patches >=20 > Thanks, I've seen it. It should be a report incorrectly. >=20 > http://mails.dpdk.org/archives/test-report/2021-September/220735.html >=20 > Test-Label: checkpatch > Test-Status: WARNING > http://dpdk.org/patch/99273 >=20 > _coding style issues_ >=20 >=20 > WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? > #66: > rte_eth_bond_slave_remove >=20 > WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? > #67: > -->__eth_bond_slave_remove_lock_free >=20 > WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? > #68: > ---->slave_remove >=20 > total: 0 errors, 3 warnings, 0 checks, 56 lines checked >=20 Yes, report incorrectly. After changed to new commit message, this will be gone. Thanks! > > > > > > > > > > > Signed-off-by: Yunjian Wang > > > > > --- > > > > > drivers/net/ixgbe/ixgbe_rxtx.c | 6 ++++-- > > > > > drivers/net/ixgbe/ixgbe_rxtx.h | 2 ++ > > > > > 2 files changed, 6 insertions(+), 2 deletions(-) > > > > > > > > > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c > > > > > b/drivers/net/ixgbe/ixgbe_rxtx.c index bfdfd5e755..1b6e0489f4 > > > > > 100644 > > > > > --- a/drivers/net/ixgbe/ixgbe_rxtx.c > > > > > +++ b/drivers/net/ixgbe/ixgbe_rxtx.c > > > > > @@ -2482,6 +2482,7 @@ ixgbe_tx_queue_release(struct ixgbe_tx_queu= e > > > > *txq) > > > > > if (txq !=3D NULL && txq->ops !=3D NULL) { > > > > > txq->ops->release_mbufs(txq); > > > > > txq->ops->free_swring(txq); > > > > > + rte_memzone_free(txq->mz); > > > > > rte_free(txq); > > > > > } > > > > > } > > > > > @@ -2763,6 +2764,7 @@ ixgbe_dev_tx_queue_setup(struct rte_eth_dev > > > > *dev, > > > > > return -ENOMEM; > > > > > } > > > > > > > > > > + txq->mz =3D tz; > > > > > txq->nb_tx_desc =3D nb_desc; > > > > > txq->tx_rs_thresh =3D tx_rs_thresh; > > > > > txq->tx_free_thresh =3D tx_free_thresh; @@ -2887,6 +2889,7 @@ > > > > > ixgbe_rx_queue_release(struct ixgbe_rx_queue *rxq) > > > > > ixgbe_rx_queue_release_mbufs(rxq); > > > > > rte_free(rxq->sw_ring); > > > > > rte_free(rxq->sw_sc_ring); > > > > > + rte_memzone_free(rxq->mz); > > > > > rte_free(rxq); > > > > > } > > > > > } > > > > > @@ -3162,6 +3165,7 @@ ixgbe_dev_rx_queue_setup(struct rte_eth_dev > > > > *dev, > > > > > return -ENOMEM; > > > > > } > > > > > > > > > > + rxq->mz =3D rz; > > > > > /* > > > > > * Zero init all the descriptors in the ring. > > > > > */ > > > > > @@ -3433,14 +3437,12 @@ ixgbe_dev_free_queues(struct rte_eth_dev > > *dev) > > > > > for (i =3D 0; i < dev->data->nb_rx_queues; i++) { > > > > > ixgbe_dev_rx_queue_release(dev->data->rx_queues[i]); > > > > > dev->data->rx_queues[i] =3D NULL; > > > > > - rte_eth_dma_zone_free(dev, "rx_ring", i); > > > > > } > > > > > dev->data->nb_rx_queues =3D 0; > > > > > > > > > > for (i =3D 0; i < dev->data->nb_tx_queues; i++) { > > > > > ixgbe_dev_tx_queue_release(dev->data->tx_queues[i]); > > > > > dev->data->tx_queues[i] =3D NULL; > > > > > - rte_eth_dma_zone_free(dev, "tx_ring", i); > > > > > } > > > > > dev->data->nb_tx_queues =3D 0; > > > > > } > > > > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.h > > > > > b/drivers/net/ixgbe/ixgbe_rxtx.h index 476ef62cfd..a1764f2b08 > > > > > 100644 > > > > > --- a/drivers/net/ixgbe/ixgbe_rxtx.h > > > > > +++ b/drivers/net/ixgbe/ixgbe_rxtx.h > > > > > @@ -138,6 +138,7 @@ struct ixgbe_rx_queue { > > > > > struct rte_mbuf fake_mbuf; > > > > > /** hold packets to return to application */ > > > > > struct rte_mbuf *rx_stage[RTE_PMD_IXGBE_RX_MAX_BURST*2]; > > > > > + const struct rte_memzone *mz; > > > > > }; > > > > > > > > > > /** > > > > > @@ -236,6 +237,7 @@ struct ixgbe_tx_queue { > > > > > uint8_t using_ipsec; > > > > > /**< indicates that IPsec TX feature is in use */ #endif > > > > > + const struct rte_memzone *mz; > > > > > }; > > > > > > > > > > struct ixgbe_txq_ops { > > > > > -- > > > > > 2.23.0