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 93E25425B7 for ; Wed, 4 Oct 2023 09:42:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B02E402CC; Wed, 4 Oct 2023 09:42:41 +0200 (CEST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by mails.dpdk.org (Postfix) with ESMTP id A5D494029A for ; Wed, 4 Oct 2023 09:42:39 +0200 (CEST) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-9936b3d0286so324743866b.0 for ; Wed, 04 Oct 2023 00:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696405359; x=1697010159; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=a1qNn5xWEAXcNUEGJ3HFHRzX48If4+BHrdveAtYRc8o=; b=hrIx9vaBC3K91L+wGSNiOs5pbGV4N5OksMxFSzPWmYBrqVHDEY3OKQiOxcdSCt6izP 2/tJS2qnbaw3wDd7Gh4HtFrRJcSXzVZ2gRYqj+KRBb3u66NJL6ZlHqRZsg0vkeeleceK l81eHPBKnPRyZUgUgl3LDG6yFtTNvgRm/PDYD3SUguPLcbJqV5HXE37faZ64G2bHTvbL cHrb18PkUIB0CF93T6JMghVTvRyaIPqgR+BYfna9ob1oFKKqXiH+vhtW9wwmNHOaP6pk PU7RCSJrt8oOFQmq5cuHc9YbGwmAyK9K8y+skTYPMgrUo4q9m/INtDH7JKs9yTHUQkfr R8yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696405359; x=1697010159; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a1qNn5xWEAXcNUEGJ3HFHRzX48If4+BHrdveAtYRc8o=; b=F5yOegUbw2s5Owex8JDkVI4svKT3VOB4PAYHP0SAm4SlfJxpnxeLyQM4iIuM5xFhe5 fXu1T1ZpkhA8tIzzh12pd8UbYSai57MScrDsFHDEfHq+yWZ02aJXx346R/z13zWr3Pm0 9q3Aty4ljbhZwRXySaul6JXbiSnjM02saRKkMIY60fQSQS+3/G6djAZOiyjo/4U8Zzy7 bCYfuU21Aj/2wE+hRIXvRGnCDOTELB2TA+lQQYU6Zp8AkxcUxjFFQwxu3isYmmoe9OUc +D8NFoF+/0LFcQrtvB5gmzL25ys7rKm4oTrvb9L9sBPl6Y7Q5DkohQZ/d5GfYpjjFJIG nSEA== X-Gm-Message-State: AOJu0YxykPdkUxeLhf6HV2sP7jRJeaG+Vy4P8/2SvG2vqTnc3M7MGmNX ULPFIlNQxjtvBVVEbOK+RTL9duChkXi5DNYIiAtA5Y/j9sreGg== X-Google-Smtp-Source: AGHT+IE+C2wE+PE1PXLPk6Pbcua+FvTns1O7PsnU3ohkHZo+w98ILYkKXfN4E2xcDf1AdVmZATxMeXVYn6TcULlDBL4= X-Received: by 2002:a17:906:191:b0:9b2:b7f2:bc7a with SMTP id 17-20020a170906019100b009b2b7f2bc7amr1645499ejb.34.1696405358894; Wed, 04 Oct 2023 00:42:38 -0700 (PDT) MIME-Version: 1.0 References: <20231002142133.27590624@hermes.local> <20231003090112.77cd1d2c@hermes.local> In-Reply-To: From: Antonio Di Bacco Date: Wed, 4 Oct 2023 09:42:27 +0200 Message-ID: Subject: Re: tap device speed To: Maxime Coquelin Cc: David Marchand , Stephen Hemminger , users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Thank you for your info that are giving me the right heads up To experiment with VDUSE and share a virtual network interface (I don't have a physical NIC) between the Linux kernel and DPDK using VDUSE, I'm about to follow these steps: Load Required Kernel Modules: modprobe vduse Create /dev/vdpa0 device with: vdpa -d /dev/vdpa0 -n my_vdpa_driver -q queue_count I wonder which vdpa_driver should I use, I don't have a real NIC After having this vdpa0 interface up I can run my DPDK application: ./my_dpdk_app --vdev "net_vdpa0,iface=3D/dev/vdpa0" Regards, Antonio. On Wed, Oct 4, 2023 at 9:08=E2=80=AFAM Maxime Coquelin wrote: > > > > On 10/4/23 08:17, David Marchand wrote: > > On Tue, Oct 3, 2023 at 6:01=E2=80=AFPM Stephen Hemminger > > wrote: > >> > >> On Tue, 3 Oct 2023 10:49:16 +0200 > >> Antonio Di Bacco wrote: > >> > >>> I understand, could we use another solution ? Like a memif interface > >>> in DPDK and libmemif in Linux? > >> > >> The issue is accessing kernel networking devices. Both virtio user > >> and XDP are faster for that. Memif is for doing process to process net= working. > > > > For dpdk <-> kernel, as you are mentioning virtio-user/vhost, let me > > add that there is some activity on this side, with VDUSE. > > > > Maxime is working on the VDUSE kernel and dpdk bits. > > He gave a talk about the current status during the summit and some > > performance numbers: > > https://dpdksummit2023.sched.com/event/1P9xA/vduse-performance-how-fast= -is-it-maxime-coquelin-red-hat > > > > > > Thanks for sharing David. > I'd like just to add some more information on VDUSE if you want to > experiment with VDUSE, which is still under development: > https://gitlab.com/mcoquelin/vduse-doc > > Maxime >