Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c600 struct hinic_rss_indirect_tbl *indir_tbl; in hinic_rss_set_indir_tbl() local
622 cmd_buf.size = sizeof(*indir_tbl); in hinic_rss_set_indir_tbl()
624 indir_tbl = cmd_buf.buf; in hinic_rss_set_indir_tbl()
625 indir_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_rss_set_indir_tbl()
628 indir_tbl->entry[i] = indir_table[i]; in hinic_rss_set_indir_tbl()
631 temp = (u32 *)&indir_tbl->entry[i - 3]; in hinic_rss_set_indir_tbl()
638 indir_tbl->offset = 0; in hinic_rss_set_indir_tbl()
639 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
650 indir_tbl->offset = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
651 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
[all …]
Dhinic_main.c306 u32 *indir_tbl; in hinic_rss_init() local
309 indir_tbl = kcalloc(HINIC_RSS_INDIR_SIZE, sizeof(u32), GFP_KERNEL); in hinic_rss_init()
310 if (!indir_tbl) in hinic_rss_init()
315 indir_tbl[i] = ethtool_rxfh_indir_default(i, nic_dev->num_rss); in hinic_rss_init()
321 err = hinic_rss_set_indir_tbl(nic_dev, tmpl_idx, indir_tbl); in hinic_rss_init()
339 kfree(indir_tbl); in hinic_rss_init()
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_rpc.c17 fbn->indir_tbl[0][i] = ethtool_rxfh_indir_default(i, num_rx); in fbnic_reset_indir_tbl()
18 fbn->indir_tbl[1][i] = ethtool_rxfh_indir_default(i, num_rx); in fbnic_reset_indir_tbl()
81 wr32(fbd, FBNIC_RPC_RSS_TBL(0, i), fbn->indir_tbl[0][i]); in fbnic_rss_reinit_hw()
82 wr32(fbd, FBNIC_RPC_RSS_TBL(1, i), fbn->indir_tbl[1][i]); in fbnic_rss_reinit_hw()
Dfbnic_netdev.h39 u8 indir_tbl[FBNIC_RPC_RSS_TBL_COUNT][FBNIC_RPC_RSS_TBL_SIZE]; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1803 u32 *indir_tbl = bp->rss_indir_tbl; in bnxt_get_rxfh() local
1819 indir_tbl = ethtool_rxfh_context_indir(ctx); in bnxt_get_rxfh()
1824 if (rxfh->indir && indir_tbl) { in bnxt_get_rxfh()
1827 rxfh->indir[i] = indir_tbl[i]; in bnxt_get_rxfh()
1851 u32 *indir_tbl = bp->rss_indir_tbl; in bnxt_modify_rss() local
1854 indir_tbl = ethtool_rxfh_context_indir(ctx); in bnxt_modify_rss()
1856 indir_tbl[i] = rxfh->indir[i]; in bnxt_modify_rss()
1859 memset(&indir_tbl[i], 0, pad * sizeof(*indir_tbl)); in bnxt_modify_rss()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1618 u8 *indir_tbl = wx->rss_indir_tbl; in wx_store_reta() local
1626 reta |= indir_tbl[i] << (i & 0x3) * 8; in wx_store_reta()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c3833 u8 *indir_tbl = adapter->rss_indir_tbl; in ixgbe_store_reta() local
3848 reta |= indices_multi * indir_tbl[i] << (i & 0x3) * 8; in ixgbe_store_reta()