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 D53B3A00E6 for ; Mon, 2 Sep 2019 13:13:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB13D1DFE3; Mon, 2 Sep 2019 13:13:32 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id B09C91D15B for ; Mon, 2 Sep 2019 13:13:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Sep 2019 04:13:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,459,1559545200"; d="scan'208";a="265996677" Received: from intel.sh.intel.com ([10.239.255.149]) by orsmga001.jf.intel.com with ESMTP; 02 Sep 2019 04:13:27 -0700 From: Di ChenxuX To: dev@dpdk.org Cc: Wenzhuo Lu , Beilei Xing , Qi Zhang , Yang Qiming , Di ChenxuX Date: Mon, 2 Sep 2019 10:27:40 +0000 Message-Id: <20190902102745.66695-1-chenxux.di@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/5] drivers/net: release port upon close 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" Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). This patch cover all the intel drivers. Di ChenxuX (5): net/e1000: release port upon close net/fm10k: release port upon close net/i40e: release port upon close net/ice: release port upon close net/ixgbe: release port upon close drivers/net/e1000/e1000_ethdev.h | 1 + drivers/net/e1000/igb_ethdev.c | 142 +++++++++++++----------- drivers/net/fm10k/fm10k.h | 3 + drivers/net/fm10k/fm10k_ethdev.c | 122 ++++++++++++--------- drivers/net/i40e/i40e_ethdev.c | 131 +++++++++++----------- drivers/net/i40e/i40e_ethdev_vf.c | 25 +++-- drivers/net/ice/ice_ethdev.c | 33 ++++-- drivers/net/ice/ice_ethdev.h | 1 + drivers/net/ixgbe/ixgbe_ethdev.c | 176 +++++++++++++++++------------- drivers/net/ixgbe/ixgbe_ethdev.h | 2 + 10 files changed, 362 insertions(+), 274 deletions(-) -- 2.17.1