Searched refs:indir_tbl (Results 1 – 3 of 3) sorted by relevance
585 struct hinic_rss_indirect_tbl *indir_tbl; in hinic_rss_set_indir_tbl() local607 cmd_buf.size = sizeof(*indir_tbl); in hinic_rss_set_indir_tbl()609 indir_tbl = cmd_buf.buf; in hinic_rss_set_indir_tbl()610 indir_tbl->group_index = cpu_to_be32(tmpl_idx); in hinic_rss_set_indir_tbl()613 indir_tbl->entry[i] = indir_table[i]; in hinic_rss_set_indir_tbl()616 temp = (u32 *)&indir_tbl->entry[i - 3]; in hinic_rss_set_indir_tbl()623 indir_tbl->offset = 0; in hinic_rss_set_indir_tbl()624 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()635 indir_tbl->offset = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()636 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()[all …]
306 u32 *indir_tbl; in hinic_rss_init() local309 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()
3814 u8 *indir_tbl = adapter->rss_indir_tbl; in ixgbe_store_reta() local3829 reta |= indices_multi * indir_tbl[i] << (i & 0x3) * 8; in ixgbe_store_reta()