On Tue, 11 Oct 2022 17:18:26 +0100
Ferruh Yigit <ferruh.yi...@amd.com> wrote:

> 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<step...@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.

Our use case was unique. We are testing application running in QEMU on Windows
and the test driver is a Windows application. The Windows application interacts
with DPDK inside QEMU over UDP. For example, test driver builds a packet and
sends it to the DPDK appliance and expects a given result: rewrite, drop, etc.

Reply via email to