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 EB898A0350; Sun, 21 Jun 2020 20:11:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B47B1C116; Sun, 21 Jun 2020 20:11:11 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by dpdk.org (Postfix) with ESMTP id 192471C0C4 for ; Sun, 21 Jun 2020 20:11:10 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id u128so7056382pgu.13 for ; Sun, 21 Jun 2020 11:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I9aPYmBJpqF4ZcNJlMYA1fCIDgMF99JdFRowqVITtk0=; b=maSRZP+u7AAeh7Csthsmy+cR/N0tiZpS5T7cGwlWPsZsb+cc+kM3R2FufRF39t9zh6 tfgQT9aaKiGJyR4vHld+e0IwqKg8xmKVSS1l7Qt2jncr0Pf3RP3wRVSCYvk8pjd8/iry vbNZmXY7QfMyWvqr8EK8/VJ937btX49TRGraVampaELmQs14ZtvKeH4jXKysVK2yZYpy i9V+9+Xr5MPyeJIIAH7lniIv/z0EzEHu9iUyOpFbQQwmybFCRHogXVbejuIe7vdfR9Yn UgiUQfaM9TiI825VxJbWRO44k3IJC/9ovuoA6Abj+X1DDHqEvQL2oE1iZkCDIr/YubEa ccKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I9aPYmBJpqF4ZcNJlMYA1fCIDgMF99JdFRowqVITtk0=; b=tmYrWP0yS1pFbPfc8mPoYHRmQ5O75U5Ceeasf3bf0oALah69SrVgQ5IdhLjUGQh0Ze 1JhZL1qmW8Y8mISFfWBMMQ7E4sc2mXpDALxHvG1nVpXdnxjhgDRNvKHPH0cxTU5CIcYi MGPe1w2RT1+L0GPO5S7MuqEHf1D3uuntEuTn13XMhiKt+QLe9A9FHKs28qjvmEUW43+K MkqmdODAf8ryAtv1VnUwWFoh8x1K4ZVYTyZLdFoQ6iRe/7PiBHcsNwN9YwwLAGjjvnYo FM7J06d04uqzZ7mLQxXlxfJgmvHj09MRA67nXKJhaCoMmm8xN0rjGIjv/3GTbVe647o6 QaYw== X-Gm-Message-State: AOAM532UK1fnx2R3IyJGUZr4WdzwVdK/wfCTLC7tFK4ZXWdEit1iiFFO +jABIO8SjjL5Aq3FcVbV0NZndQ== X-Google-Smtp-Source: ABdhPJzO3IdAeDBeW5sO7TjcuWOInRhsBEtRk6ZeUsFjHSBkMNk3/HxMcABDDrlu7oJb0R+4j+VMzg== X-Received: by 2002:aa7:9aee:: with SMTP id y14mr16716370pfp.105.1592763069121; Sun, 21 Jun 2020 11:11:09 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id cm13sm10900352pjb.5.2020.06.21.11.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 11:11:08 -0700 (PDT) Date: Sun, 21 Jun 2020 11:11:05 -0700 From: Stephen Hemminger To: Muhammad Bilal Cc: dev@dpdk.org Message-ID: <20200621111105.58be69bc@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" 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?