Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c311 struct npc_key_field *etype_ether; in npc_handle_multi_layer_fields() local
336 etype_ether = &key_fields[NPC_ETYPE_ETHER]; in npc_handle_multi_layer_fields()
343 if (!etype_ether->nr_kws && !etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
347 if (etype_ether->nr_kws && !etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
348 key_fields[NPC_ETYPE] = *etype_ether; in npc_handle_multi_layer_fields()
349 if (!etype_ether->nr_kws && etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
351 if (!etype_ether->nr_kws && !etype_tag1->nr_kws && etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
355 if (etype_ether->nr_kws && etype_tag1->nr_kws) { in npc_handle_multi_layer_fields()
357 if (etype_ether->kw_mask[i] != etype_tag1->kw_mask[i]) in npc_handle_multi_layer_fields()
362 if (etype_ether->nr_kws && etype_tag2->nr_kws) { in npc_handle_multi_layer_fields()
[all …]