Test RTE flow API PORT ID action
Make sure that RTE flow API PORT ID action is carried out correctly
Bind kernel driver on a VF and get its interface
Create a big enough mempool for PF, VF and representor ports
Hotplug the representor of the VF
Start PF, VF and representor ports
Check that the traffic passes from TST to IUT PF
Make flow rule patterns matching representor and PF PORT IDs
Make flow rule attributes with ingress and transfer
Make flow rule actions with PORT ID of the representor and PF
Validate and create the flow rules to pass traffic from the IUT VF to TST and vice versa
Check traffic between TST and the IUT VF (kernel driver)
Bind DPDK driver on the VF
Hotplug the VF
Start the VF port
Set the VF MAC address in the packet template
Check traffic between TST and the IUT VF (DPDK driver)
Parameters:
tmpl |
Packet template |