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 4A9D6A0093 for ; Thu, 17 Mar 2022 16:55:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8179407FF; Thu, 17 Mar 2022 16:55:43 +0100 (CET) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by mails.dpdk.org (Postfix) with ESMTP id 67C1A4067B for ; Thu, 17 Mar 2022 16:55:42 +0100 (CET) Received: by mail-vs1-f48.google.com with SMTP id v128so5943023vsb.8 for ; Thu, 17 Mar 2022 08:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kgr5nMNSto3WPTF8oqC0AqzHjHq60V/waEXEwbWc1bo=; b=MmbOROrruLRdxM+cGBQ9k4ppq+VY1a6nMyq/W6d9N3z3I7zNVPlCTisZSoDHNYEk7e N/q62zr+7rKnF2QPlU4DjQKP1poMKidObSrexl0j0P8szwIDC8RJptYVrWArU6TnB44O XIdhlYObWBAJCmxqFQn5D04Gp9x/2NF6z2t4OnuKtCYKajq2RAQy0XliP0XG44kaq+7E HTbP3RdvtNjiqFV1qh2Gj37A8xGW/h0NsBxCHMcDK7UsEzpj2i7vHsJ5NlPIt5TAC9d4 Jc8R1+bzr9cCptQ/UycwSaN3d9sjmu610HO3C5zExcIshD6+36XkzjPt3zFJQ71Khlzg DAyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kgr5nMNSto3WPTF8oqC0AqzHjHq60V/waEXEwbWc1bo=; b=aLCoFNo0nfO0i9TifRretSLyavpWJs6hXH5LLrV1TPZceTYhLaXEhZwaqA6AU/gpeu 3B/ty83c8SKtTRrMZuIg6jcEqC5XnJYBEe8hVHBPPCjk0u5LuDXh5afI2Ad7+UWAUx5c Lj3dyNwVe4kKlf/geB6Y7LfweX0mNK+I/Etg3Wd21a5/Qs0R4put/uk5Kg1QoB8YwawG oT/n5RdDii1mYNXCV1UVgXLXkLZNzWp7uSxQQSVhA4q2v+Lb2EvS5DbOWmil6ng4Yxa7 7R47EokMrqHQDhNMHNEV1l/ZLWZcw/CxdGLTB5TkAUbARfW+hYLo7CQUAvpH1sjxZU4J ttBw== X-Gm-Message-State: AOAM532STYZxDndx4MF8E6WeFT/Zpmvfq4qRm5lrO8bJC+XhlfC9V9ea ESOZiExPDnI0Q571JHzV9yyDLwYtD7fQ2bY437FGQln2h04= X-Google-Smtp-Source: ABdhPJwEIBCzCHSN23e1uv7HferD7saLCh1vtXmiBpz4/aaHbR6JZBUYfdy6WYtsEbjv3gQRgkuBH1vgg/DeQk4BkS0= X-Received: by 2002:a05:6102:ccb:b0:322:cb12:53f with SMTP id g11-20020a0561020ccb00b00322cb12053fmr2108306vst.80.1647532541721; Thu, 17 Mar 2022 08:55:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antonio Di Bacco Date: Thu, 17 Mar 2022 16:55:30 +0100 Message-ID: Subject: Re: Connecting two DPDK applications through fake virtual functions To: timwood@gwu.edu Cc: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000e7bf6505da6c0f7c" 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 --000000000000e7bf6505da6c0f7c Content-Type: text/plain; charset="UTF-8" Unfortunately I cannot change the applications but I only can create some fake VFs and connect them with software. Could OVS come to the rescue? Il giorno gio 17 mar 2022 alle ore 14:27 Timothy Wood ha scritto: > One option is to modify the applications to use DPDK's multi-process > support: https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html > Essentially you would have one app read from the real port and then write > data to a software queue in shared memory. Instead of having the second app > read from a port it would read from the queue. > > If you want to build more elaborate combinations of functions, check out > our OpenNetVM research project which focused on high performance NF > chaining: http://sdnfv.github.io/onvm/ > > --- > Timothy Wood, Ph. D. > he/him/his > Associate Professor > Department of Computer Science > The George Washington University > http://www.seas.gwu.edu/~timwood > > > On Thu, Mar 17, 2022 at 5:29 AM Antonio Di Bacco > wrote: > >> I have two DPDK applications that are using virtual functions built on >> top of two physical functions that correspond to the two ports of a 25 Gbps >> ethernet card. The two physical ports are connected one to the other with >> an optic fiber. >> Now, I would like to realize the same setup but without using a physical >> 25 Gbps card, I wonder if this is possible. >> >> --000000000000e7bf6505da6c0f7c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Unfortunately I cannot change the applications but I only = can create some fake VFs and connect them with software.
Could OVS come= to the rescue?

Il giorno gio 17 mar 2022 alle ore 14:27 Timothy Wood = <timwood@gwu.edu> ha scritto:<= br>
One option is to modify the applications to use DPDK's multi-proc= ess support: https://doc.dpdk.org/guides/prog_guide/multi= _proc_support.html
Essentially you would have one app read fr= om the real port and then write data to a software queue in shared memory. = Instead of having the second app read from a port it would read from the qu= eue.

If you want to build more elaborate combinati= ons of functions, check out our OpenNetVM research project which focused on= high performance NF chaining: http://sdnfv.github.io/onvm/

---
Timothy W= ood, Ph. D.
he/him/his
Associat= e Professor
Department of Computer Science
The George Washington Univ= ersity
ht= tp://www.seas.gwu.edu/~timwood

<= /div>
O= n Thu, Mar 17, 2022 at 5:29 AM Antonio Di Bacco <a.dibacco.ks@gmail.com> wrote:<= br>
I have two DPDK applications that are using virtual functions built on top= of two physical functions that=C2=A0correspond to the two ports of a 25 Gb= ps ethernet card. The two physical ports are connected one to the other wit= h an optic fiber.=C2=A0 =C2=A0
Now, I would like to realize the same se= tup but without using a physical 25 Gbps card, I wonder if this is possible= .

--000000000000e7bf6505da6c0f7c--