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 26C20A00E6 for ; Thu, 8 Aug 2019 13:23:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECF251BDEC; Thu, 8 Aug 2019 13:23:17 +0200 (CEST) Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by dpdk.org (Postfix) with ESMTP id 4F19E1BDEC for ; Thu, 8 Aug 2019 13:23:16 +0200 (CEST) Received: by mail-vs1-f66.google.com with SMTP id m23so62810862vso.1 for ; Thu, 08 Aug 2019 04:23:16 -0700 (PDT) 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=sYIUjdw6ZKWTVh3l9u2lxaMr89sx6C/fHGlT8h/zR1Q=; b=awt07jLBrcLnET4B+Am3Cczdp8vW327PA4WDOT6toJMlLk0vW4E9j/p2lBMMqZHmBy nqCqQ98nvutx0pt7Ro3thj5mOymx5X5AguFQtYZbmVZChY5wM5Oo36QTFO2Yot6p+lGe SouJ31vkiKngnTv7x0tWF37J/L75tZ/v+Jn4S4CQOSMWWhnlxqgJ7PAk+gaNCKJ2MO2J r2pVGvPy2DJ5yslOVSQgFL90PIQUHLWymVV5sBYshlYldimWxXDNG+nLnYK/nHpJlDKe HWu3YnrfxOI7ZGFOBWTMid96ZcRtdofmxIWsb01F1qSO/0s6roJ/Glv9lRIoYa0OHMk0 9p4g== X-Gm-Message-State: APjAAAUqNln3ULNJteUGUCVZc1FeAFZI0+ug51X7fGlEHJwZ9dDpWkMU lzZatH/d7WrVud17AyAa6BGtcObN7llOE7eufV2y1g== X-Google-Smtp-Source: APXvYqzZznqWbnZg2sJ+tOonMm9cmPR4+m1P9NiL/WNf7gQnwB94FAgBZpMMD2gYdM0ncgHM4U9M7d7sa4xfgU79Uho= X-Received: by 2002:a67:f998:: with SMTP id b24mr9412650vsq.180.1565263395727; Thu, 08 Aug 2019 04:23:15 -0700 (PDT) MIME-Version: 1.0 References: <1564662465-2925-1-git-send-email-david.marchand@redhat.com> <2288744.0SrN437FYt@xps> <2597822.7cOrOIsT96@xps> In-Reply-To: <2597822.7cOrOIsT96@xps> From: David Marchand Date: Thu, 8 Aug 2019 13:23:04 +0200 Message-ID: To: Thomas Monjalon Cc: dpdk stable , dev , Aaron Conole , Michael Santana Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH] test/eal: do not scan PCI devices for memory tests 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 Mon, Aug 5, 2019 at 12:20 PM Thomas Monjalon wrote: > 03/08/2019 11:51, David Marchand: > > On Fri, Aug 2, 2019 at 10:57 PM Thomas Monjalon wrote: > > > > > > 01/08/2019 14:27, David Marchand: > > > > The memory tests currently check that, for normal mode (not legacy mode), > > > > there is no memory left behind when exiting. > > > > > > I think this is the real bug: > > > we are checking a behaviour that we cannot achieve currently. > > > > > > > The problem is that if a ethdev port is allocated when scanning pci > > > > devices (even if the driver probe fails like when you have a virtio > > > > management interface attached to the kernel), on exit, dpdk won't free > > > > the associated memory since ethdev never frees the ethdev memzone. > > > > > > As you said in this thread, we could think about how to free it properly > > > in a future release. > > > For 19.08, I would suggest to disable the test with a comment > > > explaining the reason. > > > > For 19.08, as long as we test shared builds in the CI, then it just > > "works", because the net drivers are not loaded. > > No net driver, no ethdev leak ;-) > > So we keep the bug with the unit test not running with a static build > for 19.08, and we'll try to fix it in 19.11? Seems the more pragmatic yes. -- David Marchand