Searched refs:indir_size (Results 1 – 4 of 4) sorted by relevance
591 u32 indir_size; in hinic_rss_set_indir_tbl() local622 indir_size = HINIC_RSS_INDIR_SIZE / 2; 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()637 memcpy(&indir_tbl->entry[0], &indir_tbl->entry[indir_size], indir_size); in hinic_rss_set_indir_tbl()
1199 user_indir_size = rxfh.indir_size; in ethtool_get_rxfh()1209 rxfh.indir_size = dev_indir_size; in ethtool_get_rxfh()1288 if ((rxfh.indir_size && in ethtool_set_rxfh()1289 rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE && in ethtool_set_rxfh()1290 rxfh.indir_size != dev_indir_size) || in ethtool_set_rxfh()1296 if (rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE) in ethtool_set_rxfh()1312 if (rxfh.indir_size && in ethtool_set_rxfh()1313 rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE) { in ethtool_set_rxfh()1318 rxfh.indir_size); in ethtool_set_rxfh()1321 } else if (rxfh.indir_size == 0) { in ethtool_set_rxfh()[all …]
1610 int indir_size; in hns_nic_clear_all_rx_fetch() local1619 indir_size = ops->get_rss_indir_size(h) * sizeof(*org_indir); in hns_nic_clear_all_rx_fetch()1620 org_indir = kzalloc(indir_size, GFP_KERNEL); in hns_nic_clear_all_rx_fetch()1627 cur_indir = kzalloc(indir_size, GFP_KERNEL); in hns_nic_clear_all_rx_fetch()1659 for (j = 0; j < indir_size / sizeof(*org_indir); j++) in hns_nic_clear_all_rx_fetch()
1198 __u32 indir_size; member
Completed in 131 milliseconds