Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c81 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0) in npc_set_kw_masks()
91 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
95 field->kw_mask[start_kwi + 1] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
103 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
106 field->kw_mask[start_kwi + 1] = ~0ULL; in npc_set_kw_masks()
109 field->kw_mask[start_kwi + 2] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
162 if (input1->kw_mask[kwi] & input2->kw_mask[kwi]) in npc_check_overlap_fields()
357 if (etype_ether->kw_mask[i] != etype_tag1->kw_mask[i]) in npc_handle_multi_layer_fields()
364 if (etype_ether->kw_mask[i] != etype_tag2->kw_mask[i]) in npc_handle_multi_layer_fields()
371 if (etype_tag1->kw_mask[i] != etype_tag2->kw_mask[i]) in npc_handle_multi_layer_fields()
[all …]
Drvu_npc.c73 pf_func_mask = (entry_data->kw_mask[0] >> 32) & in npc_mcam_verify_pf_func()
258 u64 kw_mask = 0x00; in npc_get_keyword() local
271 kw_mask = entry->kw_mask[0]; in npc_get_keyword()
276 kw_mask = entry->kw_mask[1] & CAM_MASK(48); in npc_get_keyword()
284 kw_mask = (entry->kw_mask[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
285 kw_mask |= ((entry->kw_mask[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
293 kw_mask = (entry->kw_mask[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
294 kw_mask |= ((entry->kw_mask[3] & CAM_MASK(32)) << 16); in npc_get_keyword()
302 kw_mask = (entry->kw_mask[3] >> 32) & CAM_MASK(32); in npc_get_keyword()
303 kw_mask |= ((entry->kw_mask[4] & CAM_MASK(32)) << 32); in npc_get_keyword()
[all …]
Drvu.h146 u64 kw_mask[NPC_MAX_KWS_IN_KEY]; member
Dmbox.h1318 u64 kw_mask[NPC_MAX_KWS_IN_KEY]; member
Drvu_debugfs.c3101 chan = field->kw_mask[0] & cam1; in rvu_dbg_npc_exact_drop_cnt()