Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c105 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0) in npc_set_kw_masks()
115 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
119 field->kw_mask[start_kwi + 1] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
127 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
130 field->kw_mask[start_kwi + 1] = ~0ULL; in npc_set_kw_masks()
133 field->kw_mask[start_kwi + 2] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
186 if (input1->kw_mask[kwi] & input2->kw_mask[kwi]) in npc_check_overlap_fields()
386 if (etype_ether->kw_mask[i] != etype_tag1->kw_mask[i]) { in npc_handle_multi_layer_fields()
395 if (etype_ether->kw_mask[i] != etype_tag2->kw_mask[i]) { in npc_handle_multi_layer_fields()
404 if (etype_tag1->kw_mask[i] != etype_tag2->kw_mask[i]) { in npc_handle_multi_layer_fields()
[all …]
Drvu_npc.c236 u64 kw_mask = 0x00; in npc_get_keyword() local
249 kw_mask = entry->kw_mask[0]; in npc_get_keyword()
254 kw_mask = entry->kw_mask[1] & CAM_MASK(48); in npc_get_keyword()
262 kw_mask = (entry->kw_mask[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
263 kw_mask |= ((entry->kw_mask[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
271 kw_mask = (entry->kw_mask[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
272 kw_mask |= ((entry->kw_mask[3] & CAM_MASK(32)) << 16); in npc_get_keyword()
280 kw_mask = (entry->kw_mask[3] >> 32) & CAM_MASK(32); in npc_get_keyword()
281 kw_mask |= ((entry->kw_mask[4] & CAM_MASK(32)) << 32); in npc_get_keyword()
289 kw_mask = (entry->kw_mask[4] >> 32) & CAM_MASK(32); in npc_get_keyword()
[all …]
Drvu.h170 u64 kw_mask[NPC_MAX_KWS_IN_KEY]; member
Dmbox.h1420 u64 kw_mask[NPC_MAX_KWS_IN_KEY]; member
Drvu_debugfs.c3577 chan = field->kw_mask[0] & cam1; in rvu_dbg_npc_exact_drop_cnt()