From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] igb_uio: issue FLR during open and release of device file Date: Fri, 21 Jul 2017 01:36:34 +0300 Message-ID: <2220416.3B1vv7SqcQ@xps> References: <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> <43fc4f53-404d-242b-4a6e-508966b236af@intel.com> <1723914.rl5aSUidYg@polaris> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Gregory Etelson , Ferruh Yigit , "Tan, Jianfeng" , Stephen Hemminger , "Lu, Wenzhuo" To: Shijith Thotton Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0491529C8 for ; Fri, 21 Jul 2017 00:36:37 +0200 (CEST) In-Reply-To: <1723914.rl5aSUidYg@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" > > >> 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 > > > > > > Reviewed-by: Jianfeng Tan > > > > Acked-by: Ferruh Yigit > > Acked-by: Gregory Etelson Applied, thanks