Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c324 struct npc_key_field *etype_ether; in npc_handle_multi_layer_fields() local
351 etype_ether = &key_fields[NPC_ETYPE_ETHER]; in npc_handle_multi_layer_fields()
359 if (!etype_ether->nr_kws && !etype_tag1->nr_kws && !etype_tag2->nr_kws) { in npc_handle_multi_layer_fields()
365 if (etype_ether->nr_kws && !etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
366 key_fields[NPC_ETYPE] = *etype_ether; in npc_handle_multi_layer_fields()
367 if (!etype_ether->nr_kws && etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
369 if (!etype_ether->nr_kws && !etype_tag1->nr_kws && etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
373 if (etype_ether->nr_kws && etype_tag1->nr_kws) { in npc_handle_multi_layer_fields()
375 if (etype_ether->kw_mask[i] != etype_tag1->kw_mask[i]) { in npc_handle_multi_layer_fields()
382 if (etype_ether->nr_kws && etype_tag2->nr_kws) { in npc_handle_multi_layer_fields()
[all …]