Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_com.c1142 rss->rss_ind_tbl = in ena_com_indirect_table_allocate()
1145 if (unlikely(!rss->rss_ind_tbl)) in ena_com_indirect_table_allocate()
1162 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_allocate()
1164 rss->rss_ind_tbl = NULL; in ena_com_indirect_table_allocate()
1176 if (rss->rss_ind_tbl) in ena_com_indirect_table_destroy()
1177 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_destroy()
1179 rss->rss_ind_tbl = NULL; in ena_com_indirect_table_destroy()
1277 rss->rss_ind_tbl[i].cq_idx = io_sq->idx; in ena_com_ind_tbl_convert_to_device()
Dena_com.h270 struct ena_admin_rss_ind_table_entry *rss_ind_tbl; member
/Linux-v5.10/drivers/net/ethernet/pensando/ionic/
Dionic_lif.h197 u8 *rss_ind_tbl; member
Dionic_lif.c1588 lif->rss_ind_tbl[i] = indir[i]; in ionic_lif_rss_config()
1612 lif->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, lif->nxqs); in ionic_lif_rss_init()
1622 memset(lif->rss_ind_tbl, 0, tbl_sz); in ionic_lif_rss_deinit()
2480 lif->rss_ind_tbl_sz = sizeof(*lif->rss_ind_tbl) * tbl_sz; in ionic_lif_alloc()
2481 lif->rss_ind_tbl = dma_alloc_coherent(dev, lif->rss_ind_tbl_sz, in ionic_lif_alloc()
2485 if (!lif->rss_ind_tbl) { in ionic_lif_alloc()
2613 dma_free_coherent(dev, lif->rss_ind_tbl_sz, lif->rss_ind_tbl, in ionic_lif_free()
2615 lif->rss_ind_tbl = NULL; in ionic_lif_free()
Dionic_ethtool.c725 indir[i] = lif->rss_ind_tbl[i]; in ionic_get_rxfh()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dtg3.h3362 u8 rss_ind_tbl[TG3_RSS_INDIR_TBL_SIZE]; member
Dtg3.c9813 tp->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, qcnt); in tg3_rss_init_dflt_indir_tbl()
9824 memset(&tp->rss_ind_tbl[0], 0, sizeof(tp->rss_ind_tbl)); in tg3_rss_check_indir_tbl()
9830 if (tp->rss_ind_tbl[i] >= tp->rxq_cnt) in tg3_rss_check_indir_tbl()
9844 u32 val = tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl()
9848 val |= tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl()
12653 indir[i] = tp->rss_ind_tbl[i]; in tg3_get_rxfh()
12675 tp->rss_ind_tbl[i] = indir[i]; in tg3_set_rxfh()