From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] igb_uio: issue FLR during open and release of device file Date: Thu, 06 Jul 2017 01:42:29 +0200 Message-ID: <3108857.NoFJ8oehMn@xps> References: <1496228966-18573-1-git-send-email-shijith.thotton@caviumnetworks.com> <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Shijith Thotton , Qi Zhang , Wenzhuo Lu , Jianfeng Tan To: Stephen Hemminger , Ferruh Yigit , Gregory Etelson Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id C31AD2A58 for ; Thu, 6 Jul 2017 01:42:30 +0200 (CEST) In-Reply-To: <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Any comment, please? 12/06/2017 11:38, Shijith Thotton: > Set UIO info device file operations open and release. Call pci reset > function inside open and release to clear device state at start and end. > Copied this behaviour from vfio_pci kernel module code. With this patch, > it is not mandatory to issue FLR by PMD's during init and close. > > Bus master enable and disable are added in open and release respectively > to take care of device DMA. > > Signed-off-by: Shijith Thotton > --- > v1 changes: > - Added pci set master inside open and clear master inside release. > - Remove obvious comments. > > RFC: http://dpdk.org/ml/archives/dev/2017-May/066917.html