Simple multi-process usecase
Check multi-process support
Make sure that traffic may be sent from and received in the secondary process.
Start the Ethernet device
Start RPC server as the secondary EAL process
Prepare rx_tmpl and tx_tmpl for test
Ensure that interface is UP on Tester side
Transmit and sniff packet from tst_if
Try to receive sent packet in the secondary process and check that the packet is received and matches the sent one
Prepare mbuf to be sent from the secondary process and create matching pattern to be used on peer
Create Ethernet-based CSAP on Tester which starts to listen to network immediately
Validate and transmit the packet from the secondary process
Stop Tester CSAP and check that received packet matches the sent one
Check that no extra packets are received on Tester
Parameters:
rx_tmpl |
Traffic template to be sent from Tester and received on IUT |
tx_tmpl |
Traffic template to be sent from IUT and received on Tester |