Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c40 u16 *rss_ind_tbl; in hclge_comm_rss_init_cfg() local
52 rss_ind_tbl = devm_kcalloc(&ae_dev->pdev->dev, rss_ind_tbl_size, in hclge_comm_rss_init_cfg()
53 sizeof(*rss_ind_tbl), GFP_KERNEL); in hclge_comm_rss_init_cfg()
54 if (!rss_ind_tbl) in hclge_comm_rss_init_cfg()
57 rss_cfg->rss_indirection_tbl = rss_ind_tbl; in hclge_comm_rss_init_cfg()
/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_com.c1180 rss->rss_ind_tbl = in ena_com_indirect_table_allocate()
1183 if (unlikely(!rss->rss_ind_tbl)) in ena_com_indirect_table_allocate()
1200 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_allocate()
1202 rss->rss_ind_tbl = NULL; in ena_com_indirect_table_allocate()
1214 if (rss->rss_ind_tbl) in ena_com_indirect_table_destroy()
1215 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_destroy()
1217 rss->rss_ind_tbl = NULL; in ena_com_indirect_table_destroy()
1318 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-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_lif.h219 u8 *rss_ind_tbl; member
Dionic_lif.c1902 lif->rss_ind_tbl[i] = indir[i]; in ionic_lif_rss_config()
1926 lif->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, lif->nxqs); in ionic_lif_rss_init()
1936 memset(lif->rss_ind_tbl, 0, tbl_sz); in ionic_lif_rss_deinit()
3203 lif->rss_ind_tbl_sz = sizeof(*lif->rss_ind_tbl) * tbl_sz; in ionic_lif_alloc()
3204 lif->rss_ind_tbl = dma_alloc_coherent(dev, lif->rss_ind_tbl_sz, in ionic_lif_alloc()
3208 if (!lif->rss_ind_tbl) { in ionic_lif_alloc()
3380 dma_free_coherent(dev, lif->rss_ind_tbl_sz, lif->rss_ind_tbl, in ionic_lif_free()
3382 lif->rss_ind_tbl = NULL; in ionic_lif_free()
Dionic_ethtool.c835 indir[i] = lif->rss_ind_tbl[i]; in ionic_get_rxfh()
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dtg3.h3362 u8 rss_ind_tbl[TG3_RSS_INDIR_TBL_SIZE]; member
Dtg3.c9799 tp->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, qcnt); in tg3_rss_init_dflt_indir_tbl()
9810 memset(&tp->rss_ind_tbl[0], 0, sizeof(tp->rss_ind_tbl)); in tg3_rss_check_indir_tbl()
9816 if (tp->rss_ind_tbl[i] >= tp->rxq_cnt) in tg3_rss_check_indir_tbl()
9830 u32 val = tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl()
9834 val |= tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl()
12640 indir[i] = tp->rss_ind_tbl[i]; in tg3_get_rxfh()
12662 tp->rss_ind_tbl[i] = indir[i]; in tg3_set_rxfh()