Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c331 struct npc_key_field *vlan_tag2; in npc_handle_multi_layer_fields() local
355 vlan_tag2 = &key_fields[NPC_VLAN_TAG2]; in npc_handle_multi_layer_fields()
410 if (!vlan_tag1->nr_kws && !vlan_tag2->nr_kws) { in npc_handle_multi_layer_fields()
416 if (vlan_tag1->nr_kws && !vlan_tag2->nr_kws) in npc_handle_multi_layer_fields()
418 if (!vlan_tag1->nr_kws && vlan_tag2->nr_kws) in npc_handle_multi_layer_fields()
419 key_fields[NPC_OUTER_VID] = *vlan_tag2; in npc_handle_multi_layer_fields()
422 if (vlan_tag1->nr_kws && vlan_tag2->nr_kws) { in npc_handle_multi_layer_fields()
424 if (vlan_tag1->kw_mask[i] != vlan_tag2->kw_mask[i]) { in npc_handle_multi_layer_fields()
429 key_fields[NPC_OUTER_VID] = *vlan_tag2; in npc_handle_multi_layer_fields()