[dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access

2020-03-04 Thread vattunuru
From: Vamsi Attunuru vfio-pci driver enables virtual function access from the DPDK applications when those vf device's physical function is also bound to vfio driver. Patch adds the required configuration and checks to enable DPDK applications to access both pf and it's vf devices through vfio-p

Re: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access

2020-04-02 Thread Wang, Haiyue
Subject: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access > > From: Vamsi Attunuru > > vfio-pci driver enables virtual function access from > the DPDK applications when those vf device's physical > function is also bound to vfio driver. > > Patch a

Re: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access

2020-04-10 Thread Vamsi Krishna Attunuru
net; > david.march...@redhat.com > Subject: Re: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device > access > > Snipped > > diff --git a/lib/librte_eal/linux/eal/eal_vfio.c > > b/lib/librte_eal/linux/eal/eal_vfio.c > > index 01b5ef3..e2fdd35 100644 > > --- a/lib

Re: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access

2020-04-10 Thread Vamsi Krishna Attunuru
; > Cc: jer...@marvell.com; alex.william...@redhat.com; > > tho...@monjalon.net; david.march...@redhat.com; Vamsi Attunuru > > > > Subject: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device > > access > > > > From: Vamsi Attunuru > > > > vfio-pci

Re: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access

2020-04-10 Thread Wang, Haiyue
Cc: Jerin Jacob Kollanukkaran ; > alex.william...@redhat.com; tho...@monjalon.net; > david.march...@redhat.com > Subject: RE: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device > access > > Hi Wang, > > > -Original Message- > > From: dev On Be

Re: [dpdk-dev] [RFC v1 1/1] vfio: set vf token and gain vf device access

2020-03-31 Thread Varghese, Vipin
Snipped > diff --git a/lib/librte_eal/linux/eal/eal_vfio.c > b/lib/librte_eal/linux/eal/eal_vfio.c > index 01b5ef3..e2fdd35 100644 > --- a/lib/librte_eal/linux/eal/eal_vfio.c > +++ b/lib/librte_eal/linux/eal/eal_vfio.c DPDK supports freebsd where `/dev/pci` can be probed like Linux `/sys/bus/pci`.