From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-users] IGB_UIO: PCI Resources Management Date: Thu, 12 Jan 2017 11:55:44 +0000 Message-ID: <608e7dfd-5226-3e30-f43b-0fbe01aee16a@intel.com> References: <3355891.l3I590SjcV@polaris> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Gregory Etelson , dev@dpdk.org, users@dpdk.org Return-path: In-Reply-To: <3355891.l3I590SjcV@polaris> 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 12/9/2016 8:54 AM, Gregory Etelson wrote: > Hello, > > IGB_UIO driver does not close port PCI activities after DPDK process exits. > DPDK API provides rte_eth_dev_close() to manage port PCI, > but it can be skipped if process receives SIGKILL signal I guess I understand the problem. > The patches below provide IGB_UIO release callback and IXGBEVF release function But adding ixgbe specific code into igb_uio may not be good idea. Can be anything done one upper layer, pci layer, generic to all drivers? > With the patches, each time DPDK process terminates, > UIO release callback will trigger port PCI close. > On the down side, patched IGB_UIO can be bound to a single adapter type > > Regards, > Gregory <...>