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 E9E7CA04DC; Tue, 20 Oct 2020 15:43:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B9CA9BB04; Tue, 20 Oct 2020 15:43:33 +0200 (CEST) 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 50564BAD4 for ; Tue, 20 Oct 2020 15:43:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603201409; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=noXU9rAy9UrYT9qhpZOgKAyU3vRcuoREkKReXHa+7Bs=; b=Z4dgN2dN/J4F3CHZtwaoxDoWHt9CKEZ7NCa1YxNqcXUt19F4eUn8xp1ClUdffm8FfmKCLQ xnOjhwTBu9mS5btqfWLrhUNQsz9fgbluT+o3/y+uD57piDP7cy6IvAZMZ7pAy0VFFW1Plr VeCQGCPd2iBzTLGjH2QMBk2aMao3gtk= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-192-YKk8hUmhPwe_Z8DgjADNuw-1; Tue, 20 Oct 2020 09:43:28 -0400 X-MC-Unique: YKk8hUmhPwe_Z8DgjADNuw-1 Received: by mail-vk1-f199.google.com with SMTP id b14so507964vka.21 for ; Tue, 20 Oct 2020 06:43:28 -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:content-transfer-encoding; bh=noXU9rAy9UrYT9qhpZOgKAyU3vRcuoREkKReXHa+7Bs=; b=EFMRvzC0+xDn8unLbPJOvDIiPBrSqQlxiOU0am/OQSHE1SaPPY5icZgjDx/Gl/4pOu q1Q4KGew4fKswFJfKTLjscwYKEHaS3fylqva6x3sAhcfyJfugQUgnklhRxxEChwDA+a1 N2G2OMZjiSOLBjYDzSr+w0Trkm5yVu/y02ZK7m7jZNpipIoxrz+eU6kDkqfvwyG2beTf 83MbMYiOIFAVjMWYDQVmtkVxH1bLX3XLF+nnyeV/PFzLQ1EwlEyahQROhYSSTD4+FFZP 5Pu+8Ebt3QV0eNOBmwmQQqFzSaIOi8PYoWl7wQNtNbH3e0lZX0AImfubMpQJY8qMZDf8 iAcA== X-Gm-Message-State: AOAM532yMxU6IY0yCJEYU7w2VG8daXBLuz3/ZybbRFK40gdSfJA0EJhP 4g2tiUv5S8BN/RdaxWEBsH5A1m9Av2c09SYTLDjkIKYuVary2YP+ZlGjei/khLJdl1YHXngfyO2 CnEwlyziq0eBtT5do9VI= X-Received: by 2002:a67:e2d5:: with SMTP id i21mr1664871vsm.18.1603201407707; Tue, 20 Oct 2020 06:43:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvkAa531YI41bZvY+FML+0S+9n2mb1KVqk1YtrWiiJEofC01I91owsa58wGSWTDdVD+JCIcG7mqZcPTO4b2kk= X-Received: by 2002:a67:e2d5:: with SMTP id i21mr1664836vsm.18.1603201407445; Tue, 20 Oct 2020 06:43:27 -0700 (PDT) MIME-Version: 1.0 References: <20200708120329.103200-1-m.bilal@emumba.com> <20200912195337.734ez2cumf6x7hxp@u256.net> In-Reply-To: <20200912195337.734ez2cumf6x7hxp@u256.net> From: David Marchand Date: Tue, 20 Oct 2020 15:43:16 +0200 Message-ID: To: Muhammad Bilal Cc: "Yigit, Ferruh" , "Burakov, Anatoly" , Vipin Varghese , Jakub Grajciar , Jerin Jacob Kollanukkaran , dev , dpdk stable , =?UTF-8?Q?Ga=C3=ABtan_Rivet?= 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" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] EAL: Called remove() of drivers for vdev and pci buses X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hello, On Sat, Sep 12, 2020 at 9:53 PM Ga=C3=ABtan Rivet wrote: > > On 08/07/20 17:03 +0500, Muhammad Bilal wrote: > > while using memif with app, the resources are not cleaned on exit, > > So an error occurred on running it second time. The cause of this probl= em > > is that remove() of memif driver is not called by rte_eal_cleanup() whi= ch > > is counterpart of probe() called from rte_eal_init(). This is a case fo= r > > all other divers e.g pci, so to solve this problem I have added the > > functionality of calling remove() function of all the driver attached t= o > > devices on vdev and pci buses. > > > > Hi Muhammad, > > review inline. There were comments from Gaetan, waiting for a v2. Thanks. --=20 David Marchand