Home
last modified time | relevance | path

Searched refs:rssConf (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c1133 struct UPT1_RSSConf *rssConf = adapter->rss_conf; in vmxnet3_get_rss_indir_size() local
1135 return rssConf->indTableSize; in vmxnet3_get_rss_indir_size()
1142 struct UPT1_RSSConf *rssConf = adapter->rss_conf; in vmxnet3_get_rss() local
1143 unsigned int n = rssConf->indTableSize; in vmxnet3_get_rss()
1152 p[n] = rssConf->indTable[n]; in vmxnet3_get_rss()
1164 struct UPT1_RSSConf *rssConf = adapter->rss_conf; in vmxnet3_set_rss() local
1172 for (i = 0; i < rssConf->indTableSize; i++) in vmxnet3_set_rss()
1173 rssConf->indTable[i] = p[i]; in vmxnet3_set_rss()
Dvmxnet3_drv.c2846 struct UPT1_RSSConf *rssConf = adapter->rss_conf; in vmxnet3_setup_driver_shared() local
2850 rssConf->hashType = UPT1_RSS_HASH_TYPE_TCP_IPV4 | in vmxnet3_setup_driver_shared()
2854 rssConf->hashFunc = UPT1_RSS_HASH_FUNC_TOEPLITZ; in vmxnet3_setup_driver_shared()
2855 rssConf->hashKeySize = UPT1_RSS_MAX_KEY_SIZE; in vmxnet3_setup_driver_shared()
2856 rssConf->indTableSize = VMXNET3_RSS_IND_TABLE_SIZE; in vmxnet3_setup_driver_shared()
2857 netdev_rss_key_fill(rssConf->hashKey, sizeof(rssConf->hashKey)); in vmxnet3_setup_driver_shared()
2859 for (i = 0; i < rssConf->indTableSize; i++) in vmxnet3_setup_driver_shared()
2860 rssConf->indTable[i] = ethtool_rxfh_indir_default( in vmxnet3_setup_driver_shared()
2864 devRead->rssConfDesc.confLen = cpu_to_le32(sizeof(*rssConf)); in vmxnet3_setup_driver_shared()