From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DAE81A0524 for ; Tue, 13 Apr 2021 18:33:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69FEE1610FD; Tue, 13 Apr 2021 18:33:10 +0200 (CEST) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTP id E3E1C1610E3 for ; Tue, 13 Apr 2021 18:33:09 +0200 (CEST) Received: by mail-pg1-f180.google.com with SMTP id d10so12313279pgf.12 for ; Tue, 13 Apr 2021 09:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hvkUhoJLtobVR7cHGV3KnQ0Aa09iD6HMiEXTHzfMUsI=; b=xMwjRoQimtAvNWin7r30yvs0Yu7ulYx2yJrRWIqe7VTWERCJhbxJ0HIuKJSuxXRckk qoT3hZtdpmb31Hj4DAxms87rZuJt8qFVUGSK2G2gU6iFGs2m1TuUkmcvVSAuF3M310Cm ZOY32rSXX5+SfpHDdz9+iF2sFSnvnuRxrgZM+ykufjhHLo0n2+L96JSbLweRJPAR1piF fR8iF46y7oQvEkr5nPRii+TdCifK923ayy4qQ0wUONPeIX26dBK2e68rN1DUJMa2MtTo FUE72s6nHYPdGY77g2dSTBFn4Ohz38fG8bef6XgzjgLIJe3WGDcbaJzK/OLfkqWCriUD YDQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hvkUhoJLtobVR7cHGV3KnQ0Aa09iD6HMiEXTHzfMUsI=; b=MG8kHpPZpGOvtT31w/7QMnlbUFyKaznoZnCfHIL53dZH2G66i8IZYMEwHCic0od+mb kegwjue9JqSXqRRHW/SFLxuP+9wcMVl82+36s9BZx3q8ZoRc9hf7S3IpU1u8nZLJ5wDI vTHwAUeRXfvdMSzjRn24s0M69IvE0l+7Z/7ZAvdLlUmNTHaiMU54E32eb5HPJbgBOs6C 72wKRiPESg6Q8gGpOJwQZrtlDzb85+/psUS817g0/OoOvmb6cRedIt2AVzlL6A91AuaS 7ssLA/zv8/NIJEd+4mrWXH8R+Jnd0AS/zcw3BY3+obXSfQ+14pr5shEOUv0R94aWTLFZ H0OQ== X-Gm-Message-State: AOAM533IFClxmAWjBbcbBg20AMAWEd7qONileDzkzaR9wvoSJpeuD6vp YQioJwtr+jXpwngiBSwWcDuqlA== X-Google-Smtp-Source: ABdhPJx1M0MHIPGF+x6fMLvzacU2OazyTvzF33mdaDhXW+D+d1/KCaBqOp5YUfQZvUWa7HWBqugcfQ== X-Received: by 2002:a63:f5e:: with SMTP id 30mr919845pgp.138.1618331588853; Tue, 13 Apr 2021 09:33:08 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id bj15sm2705743pjb.6.2021.04.13.09.33.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 09:33:08 -0700 (PDT) Date: Tue, 13 Apr 2021 09:32:59 -0700 From: Stephen Hemminger To: "Templin (US), Fred L" Cc: "users@dpdk.org" Message-ID: <20210413093259.3f43c74e@hermes.local> In-Reply-To: <62e934307738436988aefc7d292b7f28@boeing.com> References: <62e934307738436988aefc7d292b7f28@boeing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] A simpler question - does DPDK run over virtual interfaces? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Tue, 13 Apr 2021 11:39:07 +0000 "Templin (US), Fred L" wrote: > Let me backtrack and start by asking a simpler question - can DPDK run over > virtual interfaces such as a loopback? > > Thanks - Fred DPDK runs over devices that can be made to appear in userspace. This include hardware (PCI), and virtualization (virtio, hyperv) where memory normally used by kernel can be mmapd for userspace driver. It is also possible to use DPDK virtual devices (tap, packet, xdp) which use existing kernel API's to access packets. These are slower but more general. Not sure what you expect here. Loopback device in kernel is special, and trying to make that go to DPDK would be hard.