Test RTE flow API PORT ID actionΒΆ

Make sure that RTE flow API PORT ID action is carried out correctly

  1. Bind kernel driver on a VF and get its interface

  2. Create a big enough mempool for PF, VF and representor ports

  3. Hotplug the representor of the VF

  4. Start PF, VF and representor ports

  5. Check that the traffic passes from TST to IUT PF

  6. Make flow rule patterns matching representor and PF PORT IDs

  7. Make flow rule attributes with ingress and transfer

  8. Make flow rule actions with PORT ID of the representor and PF

  9. Validate and create the flow rules to pass traffic from the IUT VF to TST and vice versa

  10. Check traffic between TST and the IUT VF (kernel driver)

  11. Bind DPDK driver on the VF

  12. Hotplug the VF

  13. Start the VF port

  14. Set the VF MAC address in the packet template

  15. Check traffic between TST and the IUT VF (DPDK driver)

Parameters:

tmpl

Packet template