Re: [dpdk-dev] [PATCH 2/2] net/virtio: do not require IO permissions

2019-10-18 Thread Tiwei Bie
On Fri, Oct 18, 2019 at 10:33:47AM +0200, David Marchand wrote: > On Fri, Oct 18, 2019 at 10:19 AM Tiwei Bie wrote: > > On Thu, Oct 17, 2019 at 01:56:28PM +0200, David Marchand wrote: > > > On x86, iopl permissions are only needed when the virtio devices are > > > bound to a uio kernel module. > >

Re: [dpdk-dev] [PATCH 2/2] net/virtio: do not require IO permissions

2019-10-18 Thread David Marchand
On Fri, Oct 18, 2019 at 10:19 AM Tiwei Bie wrote: > > On Thu, Oct 17, 2019 at 01:56:28PM +0200, David Marchand wrote: > > On x86, iopl permissions are only needed when the virtio devices are > > bound to a uio kernel module. > > > > When running a dpdk application as non root, the virtio driver wa

Re: [dpdk-dev] [PATCH 2/2] net/virtio: do not require IO permissions

2019-10-18 Thread Tiwei Bie
On Thu, Oct 17, 2019 at 01:56:28PM +0200, David Marchand wrote: > On x86, iopl permissions are only needed when the virtio devices are > bound to a uio kernel module. > > When running a dpdk application as non root, the virtio driver was > refusing to register because of this check while it could

[dpdk-dev] [PATCH 2/2] net/virtio: do not require IO permissions

2019-10-17 Thread David Marchand
On x86, iopl permissions are only needed when the virtio devices are bound to a uio kernel module. When running a dpdk application as non root, the virtio driver was refusing to register because of this check while it could work when binding the device to vfio (requires to have a vIOMMU configured