Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c289 struct npc_key_field *etype_ether; in npc_handle_multi_layer_fields() local
314 etype_ether = &key_fields[NPC_ETYPE_ETHER]; in npc_handle_multi_layer_fields()
321 if (!etype_ether->nr_kws && !etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
325 if (etype_ether->nr_kws && !etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
326 key_fields[NPC_ETYPE] = *etype_ether; in npc_handle_multi_layer_fields()
327 if (!etype_ether->nr_kws && etype_tag1->nr_kws && !etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
329 if (!etype_ether->nr_kws && !etype_tag1->nr_kws && etype_tag2->nr_kws) in npc_handle_multi_layer_fields()
333 if (etype_ether->nr_kws && etype_tag1->nr_kws) { in npc_handle_multi_layer_fields()
335 if (etype_ether->kw_mask[i] != etype_tag1->kw_mask[i]) in npc_handle_multi_layer_fields()
340 if (etype_ether->nr_kws && etype_tag2->nr_kws) { in npc_handle_multi_layer_fields()
[all …]