All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: maxime.coquelin@redhat.com
Subject: [dpdk-dev] [PATCH v3 0/2] Using virtio ethdev ports as non-root
Date: Tue, 22 Oct 2019 10:21:41 +0200	[thread overview]
Message-ID: <1571732503-30424-1-git-send-email-david.marchand@redhat.com> (raw)
In-Reply-To: <1571313388-32142-1-git-send-email-david.marchand@redhat.com>

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


  parent reply	other threads:[~2019-10-22  8:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 11:56 [dpdk-dev] [PATCH 0/2] Using virtio ethdev ports as non-root David Marchand
2019-10-17 11:56 ` [dpdk-dev] [PATCH 1/2] bus/pci: check IO permissions for UIO only David Marchand
2019-10-17 11:56 ` [dpdk-dev] [PATCH 2/2] net/virtio: do not require IO permissions David Marchand
2019-10-18  8:16   ` Tiwei Bie
2019-10-18  8:33     ` David Marchand
2019-10-18 10:05       ` Tiwei Bie
2019-10-20 12:29 ` [dpdk-dev] [PATCH v2 0/2] Using virtio ethdev ports as non-root David Marchand
2019-10-20 12:29   ` [dpdk-dev] [PATCH v2 1/2] bus/pci: check IO permissions for UIO only David Marchand
2019-10-20 12:29   ` [dpdk-dev] [PATCH v2 2/2] net/virtio: do not require IO permissions David Marchand
2019-10-21 13:10   ` [dpdk-dev] [PATCH v2 0/2] Using virtio ethdev ports as non-root Maxime Coquelin
2019-10-22  8:21 ` David Marchand [this message]
2019-10-22  8:21   ` [dpdk-dev] [PATCH v3 1/2] bus/pci: check IO permissions for UIO only David Marchand
2019-10-24  9:55     ` Maxime Coquelin
2019-10-22  8:21   ` [dpdk-dev] [PATCH v3 2/2] net/virtio: do not require IO permissions David Marchand
2019-10-23  4:56     ` Tiwei Bie
2019-10-25 10:11   ` [dpdk-dev] [PATCH v3 0/2] Using virtio ethdev ports as non-root David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1571732503-30424-1-git-send-email-david.marchand@redhat.com \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.