vpp
vpp copied to clipboard
How to use vpp quic-plugin based VCL socket as a netdev ?
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:
- use memif;
- 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:
- how to implement this case by memif?
- how to implement this case by Protocol-as-a-Device?