Searched refs:kw_mask (Results 1 – 5 of 5) sorted by relevance
114 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0) in npc_set_kw_masks()124 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()128 field->kw_mask[start_kwi + 1] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()136 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()139 field->kw_mask[start_kwi + 1] = ~0ULL; in npc_set_kw_masks()142 field->kw_mask[start_kwi + 2] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()200 if (input1->kw_mask[kwi] & input2->kw_mask[kwi]) in npc_check_overlap_fields()504 if (etype_ether->kw_mask[i] != etype_tag1->kw_mask[i]) { in npc_handle_multi_layer_fields()513 if (etype_ether->kw_mask[i] != etype_tag2->kw_mask[i]) { in npc_handle_multi_layer_fields()522 if (etype_tag1->kw_mask[i] != etype_tag2->kw_mask[i]) { in npc_handle_multi_layer_fields()[all …]
312 u64 kw_mask = 0x00; in npc_get_keyword() local325 kw_mask = entry->kw_mask[0]; in npc_get_keyword()330 kw_mask = entry->kw_mask[1] & CAM_MASK(48); in npc_get_keyword()338 kw_mask = (entry->kw_mask[1] >> 48) & CAM_MASK(16); in npc_get_keyword()339 kw_mask |= ((entry->kw_mask[2] & CAM_MASK(48)) << 16); in npc_get_keyword()347 kw_mask = (entry->kw_mask[2] >> 48) & CAM_MASK(16); in npc_get_keyword()348 kw_mask |= ((entry->kw_mask[3] & CAM_MASK(32)) << 16); in npc_get_keyword()356 kw_mask = (entry->kw_mask[3] >> 32) & CAM_MASK(32); in npc_get_keyword()357 kw_mask |= ((entry->kw_mask[4] & CAM_MASK(32)) << 32); in npc_get_keyword()365 kw_mask = (entry->kw_mask[4] >> 32) & CAM_MASK(32); in npc_get_keyword()[all …]
1597 u64 *kw_mask; member1611 u64 kw_mask[NPC_KWS_IN_KEY_SZ_7]; member1618 u64 kw_mask[NPC_KWS_IN_KEY_SZ_8]; member
200 u64 kw_mask[NPC_KWS_IN_KEY_SZ_MAX]; member
933 u64 kw_mask; in npc_cn20k_get_keyword() local948 kw_mask = entry->kw_mask[idx]; in npc_cn20k_get_keyword()949 *cam1 &= kw_mask; in npc_cn20k_get_keyword()950 *cam0 = ~*cam1 & kw_mask; in npc_cn20k_get_keyword()1233 entry->kw_mask[idx] = cam1 ^ cam0; in npc_cn20k_fill_entryword()1529 rsp->entry.kw_mask[0] = 0xFFFULL; in rvu_mbox_handler_npc_cn20k_read_base_steer_rule()4280 u64 kw_mask[NPC_KWS_IN_KEY_SZ_MAX] = { 0 }; in rvu_mbox_handler_npc_get_num_kws() local4301 mdata.kw_mask = kw_mask; in rvu_mbox_handler_npc_get_num_kws()4310 if (kw[i] || kw_mask[i]) { in rvu_mbox_handler_npc_get_num_kws()