[dpdk-dev] [PATCH v3 0/2] Using virtio ethdev ports as non-root

David Marchand david.marchand at redhat.com
Tue Oct 22 10:21:41 CEST 2019


Here are two little changes to be able to run testpmd as non-root with
virtio ports in a guest.
This requires a functional vIOMMU (the main pain parts being writing a
Q35 machine configuration in qemu for x86 guests).

No major change since the RFC, I just did not find the time to describe
the full setup (Q35 x86 machine config + permissions on /dev/hugepages
and /dev/vfio in the guest + ulimit -l unlimited).

-- 
David Marchand

David Marchand (2):
  bus/pci: check IO permissions for UIO only
  net/virtio: do not require IO permissions

 drivers/bus/pci/bsd/pci.c          | 5 +++++
 drivers/bus/pci/linux/pci.c        | 6 ++++++
 drivers/bus/pci/linux/pci_uio.c    | 6 ++++++
 drivers/net/virtio/virtio_ethdev.c | 5 -----
 4 files changed, 17 insertions(+), 5 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list