From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 985FCA0524 for ; Thu, 3 Dec 2020 17:42:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9273F2C54; Thu, 3 Dec 2020 17:42:48 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 6C9342C54 for ; Thu, 3 Dec 2020 17:42:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607013766; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YA7AlXc/qeAyt13MD8A14NpjYRfID3+pKJahGpw2FYE=; b=T0RXyj+y8gMkj1b1Ii9FfKURC0wxLCkGPT7zVQv8T9of4hf/jZ+z2vz4tch0xqbmYwMNvd HshgfHXGbjuxacjrjpPrq5tHseBXja2eRol8kALbbvgNAc0C6p1m2kFh26wC8+XoffzlL/ beBNc4rnasi+E0uidTQbyF9fl/ETePM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-194-iSzUOYvYMve7wNhGLM9N0A-1; Thu, 03 Dec 2020 11:42:44 -0500 X-MC-Unique: iSzUOYvYMve7wNhGLM9N0A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 558EA10054FF; Thu, 3 Dec 2020 16:42:43 +0000 (UTC) Received: from [10.36.114.167] (ovpn-114-167.ams2.redhat.com [10.36.114.167]) by smtp.corp.redhat.com (Postfix) with ESMTP id BB95F5C1BD; Thu, 3 Dec 2020 16:42:42 +0000 (UTC) To: Rahul Lakkireddy , stable@dpdk.org References: <1606927521-27331-1-git-send-email-rahul.lakkireddy@chelsio.com> From: Kevin Traynor Message-ID: Date: Thu, 3 Dec 2020 16:42:41 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1606927521-27331-1-git-send-email-rahul.lakkireddy@chelsio.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH 18.11] net/cxgbe: fix queue DMA ring leaks during port close X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 02/12/2020 16:45, Rahul Lakkireddy wrote: > [ upstream commit 6b78a629954c3857d4bc651a673fe102958a12db ] > > Free up the DMA memzones properly for all the port's queues during > port close. So, rework DMA ring allocation/free logic to use > rte_eth_dma_zone_reserve()/rte_eth_dma_zone_free() helper functions > for allocating/freeing the memzones. > > The firmware event queue doesn't have an associated freelist queue. > So, remove check that tries to give memzone name for a non-existent > freelist queue. > > Also, add a missing free for the control queue mempools. > > Fixes: 0462d115441d ("cxgbe: add device related operations") > > Signed-off-by: Rahul Lakkireddy Applied, thanks.