Simple multi-process usecaseΒΆ

Check multi-process support

Make sure that traffic may be sent from and received in the secondary process.

  1. Start the Ethernet device

  2. Start RPC server as the secondary EAL process

  3. Prepare rx_tmpl and tx_tmpl for test

  4. Ensure that interface is UP on Tester side

  5. Transmit and sniff packet from tst_if

  6. Try to receive sent packet in the secondary process and check that the packet is received and matches the sent one

  7. Prepare mbuf to be sent from the secondary process and create matching pattern to be used on peer

  8. Create Ethernet-based CSAP on Tester which starts to listen to network immediately

  9. Validate and transmit the packet from the secondary process

  10. Stop Tester CSAP and check that received packet matches the sent one

  11. 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