Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c42 static void rvu_npc_lshift_key(u64 *key, size_t key_bit_len) in rvu_npc_lshift_key() argument
46 size_t extra = key_bit_len % 64; in rvu_npc_lshift_key()
47 size_t max_idx = key_bit_len / 64; in rvu_npc_lshift_key()
62 size_t key_bit_len) in rvu_npc_toeplitz_hash() argument
73 hash_out ^= (u32)(rvu_npc_wide_extract(key, key_bit_len - 32, 32)); in rvu_npc_toeplitz_hash()
75 rvu_npc_lshift_key(key, key_bit_len); in rvu_npc_toeplitz_hash()