[dpdk-dev] [PATCH 1/5] pci: fix access to PCI config space in bsd

2016-06-01 Thread Rahul Lakkireddy
Hi Bruce, On Tuesday, May 05/31/16, 2016 at 09:20:13 -0700, Bruce Richardson wrote: > On Fri, May 06, 2016 at 01:13:15PM +0530, Rahul Lakkireddy wrote: > > PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail > > with EPERM due to missing write permission. Fix by opening /dev/pci/

[dpdk-dev] [PATCH 1/5] pci: fix access to PCI config space in bsd

2016-05-31 Thread Bruce Richardson
On Fri, May 06, 2016 at 01:13:15PM +0530, Rahul Lakkireddy wrote: > PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail > with EPERM due to missing write permission. Fix by opening /dev/pci/ > with O_RDWR instead. > > Fixes: 632b2d1deeed ("eal: provide functions to access PCI

[dpdk-dev] [PATCH 1/5] pci: fix access to PCI config space in bsd

2016-05-06 Thread Rahul Lakkireddy
PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail with EPERM due to missing write permission. Fix by opening /dev/pci/ with O_RDWR instead. Fixes: 632b2d1deeed ("eal: provide functions to access PCI config") Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi ---