* Convert rte_acl_ipv4vlan_rule: swap SRC and DST IPv4 address rules. */
| 695 | * Convert rte_acl_ipv4vlan_rule: swap SRC and DST IPv4 address rules. |
| 696 | */ |
| 697 | static void |
| 698 | convert_rule_4(const struct rte_acl_ipv4vlan_rule *ri, |
| 699 | struct acl_ipv4vlan_rule *ro) |
| 700 | { |
| 701 | struct rte_acl_field t; |
| 702 | |
| 703 | convert_rule(ri, ro); |
| 704 | |
| 705 | t = ro->field[RTE_ACL_IPV4VLAN_SRC_FIELD]; |
| 706 | ro->field[RTE_ACL_IPV4VLAN_SRC_FIELD] = |
| 707 | ro->field[RTE_ACL_IPV4VLAN_DST_FIELD]; |
| 708 | |
| 709 | ro->field[RTE_ACL_IPV4VLAN_DST_FIELD] = t; |
| 710 | } |
| 711 | |
| 712 | static void |
| 713 | ipv4vlan_config(struct rte_acl_config *cfg, |
nothing calls this directly
no test coverage detected