Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c3806 u8 *indir_tbl = adapter->rss_indir_tbl; in ixgbe_store_reta() local
3821 reta |= indices_multi * indir_tbl[i] << (i & 0x3) * 8; in ixgbe_store_reta()