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 58761A0350; Sun, 21 Jun 2020 20:32:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 127311C119; Sun, 21 Jun 2020 20:32:35 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id A06E91C0C6 for ; Sun, 21 Jun 2020 20:32:32 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id c4so3600521iot.4 for ; Sun, 21 Jun 2020 11:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QaJ0SGfvMLkAzLP3GdqTDM2BdgNUdnscO9zQMjQsBb0=; b=y3Xgxu3oT3/7Y+qENUzRjNyvTwQvw4A18mIFILyofB2vNh70mmbltVQhpk+jsoTLHj HtA7emVLTyxMoWemlyLftZBrt9Vinn1WQ+u+Q6RqFoxVvtcGlOK6CXSgz6ocnys2SKtB isI0yZrH2ld+NofX1DdLDhHqRarHeq+vrkoCdwwmDumN//qkp9CnUel6UulBn8BO0JLa j0IdobnxBt1TzElsmSSGkMzRu418WhVwnuUmKEpJl1/jGhgqy+tZLfisjb+b2Q6oqGun ASS8OEHVH+XSa63KCCIa/v7qZnO3hPmwBeNEYqTFp/K853tH3TGATCaeqb99zsj5eGa0 mJOw== 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=QaJ0SGfvMLkAzLP3GdqTDM2BdgNUdnscO9zQMjQsBb0=; b=OYNcsvCUyUb7puUynnuaaD+a6MHbCQYGXPoTPIHDcn2CNpFIKV9vuXPGQWGh1HNaoB DuH5mvxEIcv95T7sMLKzFsqK5cHCXV4lBwmAW3tpxAEumbykPAPW6puJjhK2jOCSFrnb Tz64DlaOTPLiBybv0h83RokGklNgb0lDbcECl1Fc2eAp/MZei4rRIyISydMaLnM/+LoS zBPvhwk1XtZ3tFuphot+n2F0RVu2IvNEs3Ksb4wnGSU/K8CqByivKQ5SSHwplVfFSJFi 0Z+fVQipJba7ZKlUlxObqGvbXIeQ9hKORWMDBnUPkrhGWrlv9PPDC/YLCkwbfmfr9tuy Xmwg== X-Gm-Message-State: AOAM532LPkwg/RnBAltw599MslqLOFMZ+ZpMZBtQdxjy1itq4ICGBz5S fuD03h1rAMvrqzVCN9+GKfOT6vVDDo0MKdJ4a0OVZpkueXjfow== X-Google-Smtp-Source: ABdhPJziqymVDz42zpgLvJiImQNQl6R2s2kh92E4mUfT0GuxAtwVeKxr2Jp/Vgi9bvnUnrv5XUNMFLLtGHWDhUl2nW8= X-Received: by 2002:a02:83c3:: with SMTP id j3mr11725673jah.81.1592764351910; Sun, 21 Jun 2020 11:32:31 -0700 (PDT) MIME-Version: 1.0 References: <20200621111105.58be69bc@hermes.lan> In-Reply-To: <20200621111105.58be69bc@hermes.lan> From: Muhammad Bilal Date: Sun, 21 Jun 2020 23:32:20 +0500 Message-ID: To: Stephen Hemminger Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] When .remove function (of struct rte_vdev_driver) is called 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" Yes, I have used the rte_eal_cleanup() function when application exits. And still it does not call the .remove function of rte_vdev_driver structure, used in PMD. On Sun, Jun 21, 2020 at 11:11 PM Stephen Hemminger wrote: > > On Sun, 21 Jun 2020 18:17:09 +0500 > Muhammad Bilal wrote: > > > While working on applications(l2fwd, testpmd) with PMD(memif, Tun|Tap > > and some other) I have noticed that the .probe function of > > rte_vdev_driver structure is called in rte_eal_init() and .remove > > function of rte_vdev_driver structure is NEVER called, even after > > exiting the application. > > > > My Question is How/When .remove function of rte_vdev_driver structure is called. > > > > Thanks, > > M. Bilal > > Does application call rte_eal_cleanup on exit?