Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_com.c1132 rss->hash_ctrl = in ena_com_hash_ctrl_init()
1133 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_ctrl), in ena_com_hash_ctrl_init()
1136 if (unlikely(!rss->hash_ctrl)) in ena_com_hash_ctrl_init()
1146 if (rss->hash_ctrl) in ena_com_hash_ctrl_destroy()
1147 dma_free_coherent(ena_dev->dmadev, sizeof(*rss->hash_ctrl), in ena_com_hash_ctrl_destroy()
1148 rss->hash_ctrl, rss->hash_ctrl_dma_addr); in ena_com_hash_ctrl_destroy()
1149 rss->hash_ctrl = NULL; in ena_com_hash_ctrl_destroy()
2476 sizeof(*rss->hash_ctrl), 0); in ena_com_get_hash_ctrl()
2481 *fields = rss->hash_ctrl->selected_fields[proto].fields; in ena_com_get_hash_ctrl()
2490 struct ena_admin_feature_rss_hash_control *hash_ctrl = rss->hash_ctrl; in ena_com_set_hash_ctrl() local
[all …]
Dena_com.h281 struct ena_admin_feature_rss_hash_control *hash_ctrl; member
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.h46 u64 hash_ctrl[NPC_MAX_INTF][NPC_MAX_HASH]; member
119 .hash_ctrl = {
Drvu_npc_hash.c98 field_hash &= mkex_hash->hash_ctrl[intf][hash_idx] >> 32; in npc_field_hash_calc()
99 field_hash |= mkex_hash->hash_ctrl[intf][hash_idx]; in npc_field_hash_calc()
151 mkex_hash->hash_ctrl[intf][ld]); in npc_program_mkex_hash_rx()
188 mkex_hash->hash_ctrl[intf][ld]); in npc_program_mkex_hash_tx()