Searched refs:field_hash (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 86 u32 field_hash; in npc_field_hash_calc() local 96 field_hash = rvu_npc_toeplitz_hash(data_padded, hash_key, 128, 159); in npc_field_hash_calc() 98 field_hash &= FIELD_GET(GENMASK(63, 32), rsp.hash_ctrl[intf][hash_idx]); in npc_field_hash_calc() 99 field_hash += FIELD_GET(GENMASK(31, 0), rsp.hash_ctrl[intf][hash_idx]); in npc_field_hash_calc() 100 return field_hash; in npc_field_hash_calc() 288 u32 field_hash; in npc_update_field_hash() local 322 field_hash = npc_field_hash_calc(ldata, in npc_update_field_hash() 327 field_hash, 0, in npc_update_field_hash() 339 field_hash = npc_field_hash_calc(ldata, in npc_update_field_hash() 344 field_hash, 0, in npc_update_field_hash()
|