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

2019-10-22 Thread Tiwei Bie
On Tue, Oct 22, 2019 at 10:21:43AM +0200, David Marchand wrote: > On x86, iopl permissions are only available to root user (or users that > have the CAP_SYS_RAWIO capability). > But those permissions are only needed when the virtio devices accesses > are done with inb/outb instructions, which is wh

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

2019-10-22 Thread David Marchand
On x86, iopl permissions are only available to root user (or users that have the CAP_SYS_RAWIO capability). But those permissions are only needed when the virtio devices accesses are done with inb/outb instructions, which is when the device is bound to a UIO kernel module. So far, the virtio drive