Check RTE flow API rules implying decapsulation actions on ingressΒΆ

Check that flow API decap action on ingress is carried out correctly

  1. Prepare TEST_ETHDEV_STARTED state

  2. Initiate DPDK and net transceivers

  3. Make flow rule attributes with "ingress" and "transfer"

  4. Make encapsulated flow rule pattern by flow_rule_pattern

  5. Make flow rule actions with decap, queue and count (optional)

  6. Add flow rule action "count" for counter query

  7. Add flow rule fate action, "PORT_REPRESENTOR"

  8. Validate and create the flow rule

  9. Fill required fields in encapsulated template

  10. Enable promiscuous mode to recieve packets with alien MAC addresses

  11. Specify the transformations of encapsulated template and pattern

  12. Commit transfer of a packet from one transceiver to another and match the received packet

Parameters:

flow_rule_pattern

Flow rule pattern

tunnel_type

Type of tunnel

count

Count decapsulated packets if TRUE