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 A923BA0A02 for ; Thu, 14 Jan 2021 09:32:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78B8B140FDE; Thu, 14 Jan 2021 09:32:59 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 083A2140FDE for ; Thu, 14 Jan 2021 09:32:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610613177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Vu2XHu78k/LU8wn0QKCB/r3Befmqs0U8mGoATqwy9dA=; b=CUqihl/tpPX4oLxpEUsZStlWAQimGq9FLFvZKYwcDJd8qohEyB0/guFJoOAtjORMh8KvMw WR1nJ0K+tBIxrlZLimP61Zc12VGCJ2TCoCHcvp3zs+08CSsrO7GvDm62KGnV/hXY28uZ/T JIkGiO/HwgmhvcntjDG46tRq2eWPq2E= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-258-etn_2n__MqC2KtrUHlabnw-1; Thu, 14 Jan 2021 03:32:55 -0500 X-MC-Unique: etn_2n__MqC2KtrUHlabnw-1 Received: by mail-vk1-f200.google.com with SMTP id u67so2040293vkb.20 for ; Thu, 14 Jan 2021 00:32:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vu2XHu78k/LU8wn0QKCB/r3Befmqs0U8mGoATqwy9dA=; b=DDBnw3sf3tz4q/XGV1MnECrdRNd4sM69vN6bnYq55T//IXhpkWhJ4a53zZn2hNqMRd LWnuxx+gYmaIisTc7Bp2W3AZLwSqqg6Yk3lPY4T5YmV9uBkdwcFY9zRfdTf8uhq9BDO5 2lmvBrReCnRrqEtNSuSEciA3HxMGfGYObvTAWxDu5bhe4xGY4hBkhWqqvqpPDRPAj9kO +onMkmcs40Wxiz24aUCtABtuSxzpBQsiwHapxVf0F6jkuOfUwcRf8Nawibr7jdebs2N8 kGG1Pbd+uQjgfisVGKn3yl7k7garsQbW6NCA4PlEng0M+4W5jnk9n4wE5d4Kc0A2Ghp+ 4Qxw== X-Gm-Message-State: AOAM532HE7wqnTE4AAAjJKFnftwL1XN5YAMFy8ALLUhkwv/sDwnRYdBY ghwratc85NRLIgKNSZNPZgLrSJfaeh+8+IEFVnPrgo/B/Nf3SuzkXK+146FAZPuwQ3/EDLJLhbn ziO14qfm+Sq8amopXb1njj/8= X-Received: by 2002:ab0:43a1:: with SMTP id l30mr4857528ual.126.1610613175278; Thu, 14 Jan 2021 00:32:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4MX5lOWWThdfuRw1oTUzrXMHAKLIOSo33TurbyJbQAyOZW+em+TlQ7i4UNPMNNEEKSngM4j+jXLMNTODoCVI= X-Received: by 2002:ab0:43a1:: with SMTP id l30mr4857519ual.126.1610613175038; Thu, 14 Jan 2021 00:32:55 -0800 (PST) MIME-Version: 1.0 References: <1610555333-18961-1-git-send-email-michaelba@nvidia.com> <1610555333-18961-2-git-send-email-michaelba@nvidia.com> In-Reply-To: <1610555333-18961-2-git-send-email-michaelba@nvidia.com> From: David Marchand Date: Thu, 14 Jan 2021 09:32:44 +0100 Message-ID: To: Michael Baum Cc: dev , Matan Azrad , Raslan Darawsheh , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/2] net/mlx4: fix device detach X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Wed, Jan 13, 2021 at 5:29 PM Michael Baum wrote: > > When mlx4 device is probed, 2 different ethdev ports may be created for > the 2 physical ports of the device. > > Wrongly, when the device is removed, the created ports are not released. > > Close and release the ethdev ports in remove process. > Missing a reference to bug 488. > Fixes: 7fae69eeff13 ("mlx4: new poll mode driver") Odd that it never worked, but if Matan acked, I guess this is ok. > Cc: stable@dpdk.org > > Reported-by: David Marchand > Signed-off-by: Michael Baum > Acked-by: Matan Azrad -- David Marchand