Searched refs:rss_ind_tbl (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 1116 rss->rss_ind_tbl = in ena_com_indirect_table_allocate() 1119 if (unlikely(!rss->rss_ind_tbl)) in ena_com_indirect_table_allocate() 1136 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_allocate() 1138 rss->rss_ind_tbl = NULL; in ena_com_indirect_table_allocate() 1150 if (rss->rss_ind_tbl) in ena_com_indirect_table_destroy() 1151 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_destroy() 1153 rss->rss_ind_tbl = NULL; in ena_com_indirect_table_destroy() 1251 rss->rss_ind_tbl[i].cq_idx = io_sq->idx; in ena_com_ind_tbl_convert_to_device() 1268 if (rss->rss_ind_tbl[i].cq_idx > ENA_TOTAL_NUM_QUEUES) in ena_com_ind_tbl_convert_from_device() 1270 idx = (u8)rss->rss_ind_tbl[i].cq_idx; in ena_com_ind_tbl_convert_from_device()
|
D | ena_com.h | 290 struct ena_admin_rss_ind_table_entry *rss_ind_tbl; member
|
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.c | 1356 lif->rss_ind_tbl[i] = indir[i]; in ionic_lif_rss_config() 1383 lif->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, lif->nxqs); in ionic_lif_rss_init() 1703 lif->rss_ind_tbl_sz = sizeof(*lif->rss_ind_tbl) * tbl_sz; in ionic_lif_alloc() 1704 lif->rss_ind_tbl = dma_alloc_coherent(dev, lif->rss_ind_tbl_sz, in ionic_lif_alloc() 1708 if (!lif->rss_ind_tbl) { in ionic_lif_alloc() 1759 dma_free_coherent(dev, lif->rss_ind_tbl_sz, lif->rss_ind_tbl, in ionic_lif_free() 1761 lif->rss_ind_tbl = NULL; in ionic_lif_free()
|
D | ionic_lif.h | 169 u8 *rss_ind_tbl; member
|
D | ionic_ethtool.c | 597 indir[i] = lif->rss_ind_tbl[i]; in ionic_get_rxfh()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | tg3.h | 3362 u8 rss_ind_tbl[TG3_RSS_INDIR_TBL_SIZE]; member
|
D | tg3.c | 9821 tp->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, qcnt); in tg3_rss_init_dflt_indir_tbl() 9832 memset(&tp->rss_ind_tbl[0], 0, sizeof(tp->rss_ind_tbl)); in tg3_rss_check_indir_tbl() 9838 if (tp->rss_ind_tbl[i] >= tp->rxq_cnt) in tg3_rss_check_indir_tbl() 9852 u32 val = tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl() 9856 val |= tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl() 12655 indir[i] = tp->rss_ind_tbl[i]; in tg3_get_rxfh() 12677 tp->rss_ind_tbl[i] = indir[i]; in tg3_set_rxfh()
|