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 1899EA10DA for ; Fri, 2 Aug 2019 13:14:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8EA81C136; Fri, 2 Aug 2019 13:14:04 +0200 (CEST) Received: from mail-vk1-f194.google.com (mail-vk1-f194.google.com [209.85.221.194]) by dpdk.org (Postfix) with ESMTP id A8A351C136 for ; Fri, 2 Aug 2019 13:14:03 +0200 (CEST) Received: by mail-vk1-f194.google.com with SMTP id b200so15265603vkf.10 for ; Fri, 02 Aug 2019 04:14:03 -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=v/reLp3sQzpiObB/XVYLNJUp/9DR+h0QwzCOHhlwme4=; b=caGgQyBw2MikqSUr22937HoNpfZG6kPVhC6NijhM21uveKx/s1s5E8rW+/hbVPhC0b kz7rKEVAlIj01BZbdbOSc/aB+s68t/Io4heaONHffp0wHgE/3E4PG7+IVKc2pLGgvmKu MFMd8CZnH/8iJXhXippJMgf9HyHWnX1lK/sidQx+Kl9nfpU4sUknEni+WVMLUkrzDuQ/ ZJuv1Fc+5UU1p1+LXYYAecNMQ5VI92MSDXjCQ6f0+Da+mc8ti8/HxgQYI3wHd+44eAIX ak5CFYhFt8yJsWePzE+Chx7hP5Ny2cmobvUdwK+yQW/ngPlbYUHVQOwZvOLuc9wKa0ya R0Sw== X-Gm-Message-State: APjAAAXJqb1cFEQxp7XFxqqumawqxJbfcTqR4Lq1hR/D8m+3VyKHmXlR cGCDsYUN388L6BvEtr/hmW3aqVCY+ni/L+X5+A7fdw== X-Google-Smtp-Source: APXvYqzYbm5WnlHv8OiLFZ3Jq4VQGkITbJaIemzthpcGnV/vPkaech9LGHx6ZEzvmHxYp/x8uMz636aQhJGrNMuXxEw= X-Received: by 2002:a1f:9f06:: with SMTP id i6mr52999110vke.52.1564744443017; Fri, 02 Aug 2019 04:14:03 -0700 (PDT) MIME-Version: 1.0 References: <1564662465-2925-1-git-send-email-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Fri, 2 Aug 2019 13:13:52 +0200 Message-ID: To: dev Cc: Aaron Conole , Michael Santana , dpdk stable 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 Thu, Aug 1, 2019 at 2:29 PM David Marchand wrote: > > On Thu, Aug 1, 2019 at 2:28 PM David Marchand wrote: > > > > The memory tests currently check that, for normal mode (not legacy mode), > > there is no memory left behind when exiting. > > > > 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. > > > > Workaround this by disabling pci scan. > > Not entirely happy with this patch. > I am open to suggestions :-) Note: this problem won't be seen in shared builds as long as the pci drivers for net devices are not loaded. -- David Marchand