[RFC] net: add experimental UDP encapsulation PMD

Ferruh Yigit ferruh.yigit at amd.com
Tue Oct 11 18:18:26 CEST 2022


On 10/11/2022 1:10 AM, Stephen Hemminger wrote:
> This is a new PMD which can be useful to test a DPDK application
> from another test program. The PMD binds to a connected UDP socket
> and expects to receive and send raw Ethernet packets over that
> socket.
> 

Why is the 'connected UDP socket' requirement? I guess this maps with 
'SO_REUSEPORT' in the code.

> This is especially useful for testing envirionments where you
> can't/don't want to give the test driver program route permission.
> 
> Signed-off-by: Stephen Hemminger<stephen at networkplumber.org>
> ---
> This is 1st draft port of some test infrastructure to get
> feedback and comments from community.
> 
> Later version will include an example and unit tests.

I think pcap PMD can be used for similar testing purposed, but we can 
have UDP PMD too, it may open other possibilities as a method to 
communicate with other non-dpdk applications.

Although this is draft I will put some comments in other thread for next 
version.


More information about the dev mailing list