Check RTE flow API rules implying COUNT actions
Make sure that RTE flow API COUNT actions are carried out correctly
Prepare
TEST_ETHDEV_STARTED
stateEnsure that interface is UP on Tester side
Make flow rule attributes with only one ingress attribute
Generate flow rule patterns that are different from the original
Create packet templates that are not matching any of created flow rule patterns
Transmit packets with matching templates
Create flow rule pattern and matching template
Make COUNT flow rule action to pass it to rte_flow_query
Make flow rule actions COUNT / QUEUE
Validate and create the flow rule
Enable promiscuous mode to recieve packets with alien MAC addresses
Transmit one packet with prepared match template
Transmit packets with dissimilar templates
Receive all packets
Check counter values
Parameters:
flow_rule_pattern |
Flow rule pattern |
n_counters |
Number of counters |
field_path |
ASN.1 path to a field in the pattern to change to make additional patterns |