Home
last modified time | relevance | path

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

/linux-6.12.1/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()
1151 rxfh->indir[n] = rssConf->indTable[n]; in vmxnet3_get_rss()
1163 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] = rxfh->indir[i]; in vmxnet3_set_rss()
Dvmxnet3_drv.c2954 struct UPT1_RSSConf *rssConf = adapter->rss_conf; in vmxnet3_setup_driver_shared() local
2958 rssConf->hashType = UPT1_RSS_HASH_TYPE_TCP_IPV4 | in vmxnet3_setup_driver_shared()
2962 rssConf->hashFunc = UPT1_RSS_HASH_FUNC_TOEPLITZ; in vmxnet3_setup_driver_shared()
2963 rssConf->hashKeySize = UPT1_RSS_MAX_KEY_SIZE; in vmxnet3_setup_driver_shared()
2964 rssConf->indTableSize = VMXNET3_RSS_IND_TABLE_SIZE; in vmxnet3_setup_driver_shared()
2965 netdev_rss_key_fill(rssConf->hashKey, sizeof(rssConf->hashKey)); in vmxnet3_setup_driver_shared()
2967 for (i = 0; i < rssConf->indTableSize; i++) in vmxnet3_setup_driver_shared()
2968 rssConf->indTable[i] = ethtool_rxfh_indir_default( in vmxnet3_setup_driver_shared()
2972 devRead->rssConfDesc.confLen = cpu_to_le32(sizeof(*rssConf)); in vmxnet3_setup_driver_shared()