[dpdk-dev] Getuid check in multiprocess_autotest

2015-08-12 Thread Aashima Arora
Hi, This snippet of code is from test_mp_secondary.c /* Run a test_pci call */ if (test_pci() != 0) { printf("PCI scan failed in secondary\n"); if (getuid() == 0) /* pci scans can fail as non-root */ { return -1; } } else printf("PCI scan su

[dpdk-dev] Accessing a Virtual Function Driver in Guest Machine via VFIO

2014-12-10 Thread Aashima Arora
ially what I was looking for, aware of it now :) On Wed, Dec 10, 2014 at 12:42 PM, Qiu, Michael wrote: > On 12/6/2014 3:01 AM, Aashima Arora wrote: > > Hi, > > I was trying to access the pci config space(BAR) of the virtual function > > device visible in the virtual machi

[dpdk-dev] Accessing a Virtual Function Driver in Guest Machine via VFIO

2014-12-10 Thread Aashima Arora
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Aashima Arora > Sent: Friday, December 05, 2014 11:00 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Accessing a Virtual Function Driver in Guest Machine > via VFIO > > Hi, > I was trying to access the pci config space(B

[dpdk-dev] Accessing a Virtual Function Driver in Guest Machine via VFIO

2014-12-06 Thread Aashima Arora
Hi, I was trying to access the pci config space(BAR) of the virtual function device visible in the virtual machine, similar to what DPDK does on host via both UIO and VFIO. Did the following steps. 1. Bound PF Drivers to ixgbe and spawned virtual function drivers , bound them to vfio-pci and set t

[dpdk-dev] Accessing Virtual Function Device on Guest Machine using VFIO

2014-12-05 Thread Aashima Arora
Hi, I was trying to access the pci config space(BAR) of the virtual function device visible in the virtual machine, similar to what DPDK does on host via both UIO and VFIO. Did the following steps. 1. Bound PF Drivers to ixgbe and spawned virtual function drivers , bound them to vfio-pci and se