Home
last modified time | relevance | path

Searched refs:redirect_rule (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/dsa/ocelot/
H A Dfelix.c175 struct ocelot_vcap_filter *untagging_rule, *redirect_rule; in felix_tag_8021q_vlan_add_tx() local
185 redirect_rule = kzalloc(sizeof(struct ocelot_vcap_filter), GFP_KERNEL); in felix_tag_8021q_vlan_add_tx()
186 if (!redirect_rule) { in felix_tag_8021q_vlan_add_tx()
211 kfree(redirect_rule); in felix_tag_8021q_vlan_add_tx()
217 redirect_rule->key_type = OCELOT_VCAP_KEY_ANY; in felix_tag_8021q_vlan_add_tx()
218 redirect_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()
219 redirect_rule->pag = port; in felix_tag_8021q_vlan_add_tx()
220 redirect_rule->prio = 1; in felix_tag_8021q_vlan_add_tx()
221 redirect_rule->id.cookie = cookie; in felix_tag_8021q_vlan_add_tx()
222 redirect_rule->id.tc_offload = false; in felix_tag_8021q_vlan_add_tx()
[all …]