Home
last modified time | relevance | path

Searched refs:kwi (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c165 int kwi; in npc_check_overlap_fields() local
174 for (kwi = 0; kwi < NPC_MAX_KWS_IN_KEY; kwi++) { in npc_check_overlap_fields()
175 if (input1->kw_mask[kwi] & input2->kw_mask[kwi]) in npc_check_overlap_fields()
249 u8 kwi = (key_nibble * 4) / 64; /* which word in key */ in npc_scan_exact_result() local
261 npc_set_kw_masks(mcam, type, nr_bits, kwi, offset, intf); in npc_scan_exact_result()
268 u8 kwi = (key_nibble * 4) / 64; /* which word in key */ in npc_scan_parse_result() local
314 npc_set_kw_masks(mcam, type, nr_bits, kwi, offse in npc_scan_parse_result()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c377 int blkaddr, index, kwi; in rvu_npc_install_ucast_entry() local
398 kwi = NPC_PARSE_RESULT_DMAC_OFFSET / sizeof(u64); in rvu_npc_install_ucast_entry()
399 entry.kw[kwi] = mac; in rvu_npc_install_ucast_entry()
400 entry.kw_mask[kwi] = BIT_ULL(48) - 1; in rvu_npc_install_ucast_entry()
434 int blkaddr, ucast_idx, index, kwi; in rvu_npc_install_promisc_entry() local
453 kwi = NPC_KEXOF_DMAC / sizeof(u64); in rvu_npc_install_promisc_entry()
454 entry.kw[kwi] = BIT_ULL(40); /* LSB bit of 1st byte in DMAC */ in rvu_npc_install_promisc_entry()
455 entry.kw_mask[kwi] = BIT_ULL(40); in rvu_npc_install_promisc_entry()

Completed in 6 milliseconds