[dpdk-dev] [PATCH v2] igb_uio: issue FLR during open and release of device file

Gregory Etelson gregory at weka.io
Wed Jul 19 18:19:05 CEST 2017


On Wednesday, 19 July 2017 16:32:34 IDT Ferruh Yigit wrote:
> On 7/12/2017 4:40 AM, Tan, Jianfeng wrote:
> > 
> > 
> >> -----Original Message-----
> >> From: Shijith Thotton [mailto:shijith.thotton at caviumnetworks.com]
> >> Sent: Friday, July 7, 2017 7:14 PM
> >> To: dev at dpdk.org
> >> Cc: Yigit, Ferruh; Gregory Etelson; Thomas Monjalon; Stephen Hemminger;
> >> Tan, Jianfeng; Lu, Wenzhuo
> >> Subject: [PATCH v2] igb_uio: issue FLR during open and release of device file
> >>
> >> 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 <shijith.thotton at caviumnetworks.com>
> > 
> > Reviewed-by: Jianfeng Tan <jianfeng.tan at intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 

Acked-by: Gregory Etelson <gregory at weka.io>




More information about the dev mailing list