Home
last modified time | relevance | path

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

/drivers/net/dsa/ocelot/
Dfelix.c132 struct ocelot_vcap_filter *untagging_rule, *redirect_rule; in felix_tag_8021q_vlan_add_tx() local
138 untagging_rule = kzalloc(sizeof(struct ocelot_vcap_filter), GFP_KERNEL); in felix_tag_8021q_vlan_add_tx()
139 if (!untagging_rule) in felix_tag_8021q_vlan_add_tx()
144 kfree(untagging_rule); in felix_tag_8021q_vlan_add_tx()
150 untagging_rule->key_type = OCELOT_VCAP_KEY_ANY; in felix_tag_8021q_vlan_add_tx()
151 untagging_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()
152 untagging_rule->vlan.vid.value = vid; in felix_tag_8021q_vlan_add_tx()
153 untagging_rule->vlan.vid.mask = VLAN_VID_MASK; in felix_tag_8021q_vlan_add_tx()
154 untagging_rule->prio = 1; in felix_tag_8021q_vlan_add_tx()
155 untagging_rule->id.cookie = cookie; in felix_tag_8021q_vlan_add_tx()
[all …]