vpp icon indicating copy to clipboard operation
vpp copied to clipboard

How to use vpp quic-plugin based VCL socket as a netdev ?

Open batmancn opened this issue 5 months ago • 3 comments

Hi, all,

In my use case, I need to use a VCL socket, which is based on quic-plugin, as a netdev to add into a bridge domain. Detail is like this:

eth0(take over by DPDK) ---- bridge domain ---- qs1(quic socket create by VCL) 

The packet received in eth0(which is under DPDK) is treated as a block of memory.
Then the packet(treated as a block of memory) is send by qs1(quic socket create by VCL).

How to implement this case in vpp25.02 or above?


I search this, and said there are tow way:

  1. use memif;
  2. use Protocol-as-a-Device;

And the Protocol-as-a-Device is better, so is there some code about this?

Thanks !!!

So my question is:

  1. how to implement this case by memif?
  2. how to implement this case by Protocol-as-a-Device?

batmancn avatar Jul 23 '25 05:07 batmancn