Check RTE flow API rules implying encapsulation actions on egressΒΆ
Check that flow API encap action on egress is carried out correctly
Prepare
TEST_ETHDEV_STARTED
stateInitiate DPDK and net transceivers
Make flow rule attributes with "egress" and "transfer"
Make flow rule pattern by flow_rule_pattern
Make flow rule actions with encapsulation action
Add flow rule action "count" for counter query
Add flow rule fate action, "REPRESENTED_PORT"
Validate and create the flow rule
Fill required fields in non-encapsulated template
Make template and pattern with encapsulation header
Specify the transformations of non-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 |
encap_header |
Header of encapsulated packet |
tunnel_type |
Type of tunnel |
count |
Count encapsulated packets if |