Searched refs:redirect_rule (Results 1 – 1 of 1) sorted by relevance
132 struct ocelot_vcap_filter *untagging_rule, *redirect_rule; in felix_tag_8021q_vlan_add_tx() local142 redirect_rule = kzalloc(sizeof(struct ocelot_vcap_filter), GFP_KERNEL); in felix_tag_8021q_vlan_add_tx()143 if (!redirect_rule) { in felix_tag_8021q_vlan_add_tx()168 kfree(redirect_rule); in felix_tag_8021q_vlan_add_tx()174 redirect_rule->key_type = OCELOT_VCAP_KEY_ANY; in felix_tag_8021q_vlan_add_tx()175 redirect_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()176 redirect_rule->pag = port; in felix_tag_8021q_vlan_add_tx()177 redirect_rule->prio = 1; in felix_tag_8021q_vlan_add_tx()178 redirect_rule->id.cookie = cookie; in felix_tag_8021q_vlan_add_tx()179 redirect_rule->id.tc_offload = false; in felix_tag_8021q_vlan_add_tx()[all …]