Subject: RARE user and assistance email list
List archive
- From: "Moises R. N. Ribeiro" <>
- To: cs <>
- Cc: diego rossi mafioletti <>, gabrieltetznermenegueti16 <>, Everson Borges <>, edgardcunha <>, rare-users <>
- Subject: Re: [RARE-users] UDPDK
- Date: Thu, 19 May 2022 08:44:51 -0300 (BRT)
Csaba,
thanks for your time and explanation with nice examples. Part of your
strategy seems to be not going into special/custom socket functionality, use
regular ones. I become aware of your use of socat when I was questioning you
about hooks and things for you "privileged processes" on the front page of
http://www.freertr.org/ and you told me that things were pretty standard as
far as sockets were concerned.
What UDPDK seems to offer is a compromise solution so that users can deal
with DPDK as if regular POSIX was in use. Sort of accelerated socket for
UDP... However, it seems to me that RARE/freeRtr has to do the DPDK trick (to
speedup UDP packets on regular sockets) separately. The portability for
different data-planes requires that approach. My questioning is if you see
any benefit of a customized socket to replace socat when our target dataplane
is solely DPDK? Or this is solved already in freeRtr and one should not
bother with that? Can this UDPDK co-exist with freeRtr's usage of DPDK? So
that your application (at a freeRtR instance/appliance) uses it transparently
for other purposes?
Regards,
Moises
----- Mensagem original -----
De: "cs" <>
Para: "Moises Renato Nunes Ribeiro" <>
Cc: "diego rossi mafioletti" <>,
"gabrieltetznermenegueti16" <>, "Everson
Borges" <>, "edgardcunha" <>,
"rare-users" <>
Enviadas: Quinta-feira, 19 de maio de 2022 3:53:26
Assunto: Re: UDPDK
hi,
according to their https://github.com/leoll2/udpdk page this is an udp/ip
stack implemented over dpdk...
that is, you have a nice udp app that you want to run over dpdk then you can
use this...
in freerouter, packet-over-udp is a tunneling mechnism to deal with
- phtsical interfaces: socat interface:eth0 udp-connect:127.0.0.1:12345
- qemu vm interfaces: qemu -netdev socket,udp=127.0.0.1:1100,localaddr=:1101
both will result in raw ethernet frames in an udp datagram...
it's just freerouter that offers "tunnel mode pckoudp" config knob
to terminate such things directly from the cli or so... but none of
these have anything to do with the existing udp applications of yours...
just to see the big picture: once you give an interface to dpdk (or have a
front-panel port on tofino) you dont have anything from
the kenrel, but raw ethernet packets from dpdk/tofinof.. that is, you have to
deal with arp/nd, ip, tcp, udp and so all by hand...
br,
cs
On 5/19/22 02:09, Moises R. N. Ribeiro wrote:
>
> If you have the time to have a quick look, what do you think of this
> solution? Is it similar to your strategy UDP/IP over DPDK in freeRtr?
> https://www.gabrieleara.it/assets/documents/papers/conferences/2021-ieee-nfv-sdn.pdf
>
> <https://www.gabrieleara.it/assets/documents/papers/conferences/2021-ieee-nfv-sdn.pdf>
>
- Re: [RARE-users] UDPDK, mc36, 05/19/2022
- Re: [RARE-users] UDPDK, Moises R. N. Ribeiro, 05/19/2022
- Re: [RARE-users] UDPDK, mc36, 05/19/2022
- Re: [RARE-users] UDPDK, Moises R. N. Ribeiro, 05/19/2022
- Re: [RARE-users] UDPDK, mc36, 05/19/2022
- Re: [RARE-users] UDPDK, Moises R. N. Ribeiro, 05/19/2022
Archive powered by MHonArc 2.6.19.