Check RTE flow API rules implying decapsulation actions on ingressΒΆ
Check that flow API decap action on ingress is carried out correctly
Prepare
TEST_ETHDEV_STARTED
stateInitiate DPDK and net transceivers
Make flow rule attributes with "ingress" and "transfer"
Make encapsulated flow rule pattern by flow_rule_pattern
Make flow rule actions with decap, queue and count (optional)
Add flow rule action "count" for counter query
Add flow rule fate action, "PORT_REPRESENTOR"
Validate and create the flow rule
Fill required fields in encapsulated template
Enable promiscuous mode to recieve packets with alien MAC addresses
Specify the transformations of encapsulated template and pattern
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 |