From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F843A32A3 for ; Fri, 25 Oct 2019 12:11:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E5E741C0DA; Fri, 25 Oct 2019 12:11:34 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id BDDFB1C0C7 for ; Fri, 25 Oct 2019 12:11:33 +0200 (CEST) Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 278115AFF8 for ; Fri, 25 Oct 2019 10:11:33 +0000 (UTC) Received: by mail-ua1-f71.google.com with SMTP id b12so435073uan.10 for ; Fri, 25 Oct 2019 03:11:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=acCs9E3+tuQ1uPXN61fdJ42nltnlbIr+XfmaB9x82AI=; b=rx8YxNT+8cRxhDSjXPqtrQ9T31CmznjbuSdI02z1vwWhpZt8PLIL5ulLvHZfZrq4H+ 7uqecjE5KxVwZ8vfxHXXZJapDAQyO5nKVADE1J6BjW803wljj2g7DZhHjAZ5/Sl7j3W3 L8zaiYpDvvDZJqFobY3LhDK7FrSEqtY8N1w7rePgUrxMkJEDyfZAK0REYx3lsxUz16PQ TQWSqrK/DnprPwhu+cwrcfRSSAHKPxlv5lrr83guSCM4DrJOdjhTLP0p0nZEoJIdek/K Mc49IPdHGvbW+D+CNWNq1IQityKsL1s1GKfhW1PyBs10yPsInIAaHHHCRu6GMHc2FYkt 03jQ== X-Gm-Message-State: APjAAAVE4IU694qRo2xIAm+11zHZ1Ym/BptA7Tgwv/1K3wt0ZaKrtj3b tKyKq2bAO3owXZ+u+xQqFNQUV+u1zCfm2jXURR+F1XFKOJvF+CHzPR5CIwycsagvAsJ3nzmLFlM wz/OHm0up5bkbJ9IHtRk= X-Received: by 2002:ab0:304e:: with SMTP id x14mr1163943ual.41.1571998292124; Fri, 25 Oct 2019 03:11:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdidM8NN1laDBpyi82NNRUmje/Iy7ZqNdWbyyLucC2IAgZrJtkcLVrSmo6Awa5u2Z/IHT8M05Uum+MlZlyVOk= X-Received: by 2002:ab0:304e:: with SMTP id x14mr1163927ual.41.1571998291728; Fri, 25 Oct 2019 03:11:31 -0700 (PDT) MIME-Version: 1.0 References: <1571313388-32142-1-git-send-email-david.marchand@redhat.com> <1571732503-30424-1-git-send-email-david.marchand@redhat.com> In-Reply-To: <1571732503-30424-1-git-send-email-david.marchand@redhat.com> From: David Marchand Date: Fri, 25 Oct 2019 12:11:20 +0200 Message-ID: To: dev Cc: Maxime Coquelin , Tiwei Bie Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3 0/2] Using virtio ethdev ports as non-root X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Oct 22, 2019 at 10:22 AM David Marchand wrote: > > 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 Applied, thanks for the reviews Maxime, Tiwei. -- David Marchand