Lines Matching defs:rxfh
1167 struct ethtool_rxfh_param *rxfh)
1177 ctx = efx_find_rss_context_entry(efx, rxfh->rss_context);
1186 rxfh->hfunc = ETH_RSS_HASH_TOP;
1187 if (rxfh->indir)
1188 memcpy(rxfh->indir, ctx->rx_indir_table,
1190 if (rxfh->key)
1191 memcpy(rxfh->key, ctx->rx_hash_key,
1199 struct ethtool_rxfh_param *rxfh)
1204 if (rxfh->rss_context)
1205 return efx_ethtool_get_rxfh_context(net_dev, rxfh);
1211 rxfh->hfunc = ETH_RSS_HASH_TOP;
1212 if (rxfh->indir)
1213 memcpy(rxfh->indir, efx->rss_context.rx_indir_table,
1215 if (rxfh->key)
1216 memcpy(rxfh->key, efx->rss_context.rx_hash_key,
1222 struct ethtool_rxfh_param *rxfh,
1226 u32 *rss_context = &rxfh->rss_context;
1228 u32 *indir = rxfh->indir;
1230 u8 *key = rxfh->key;
1239 if (rxfh->rss_delete) {
1262 if (rxfh->rss_delete) {
1286 struct ethtool_rxfh_param *rxfh,
1290 u32 *indir = rxfh->indir;
1291 u8 *key = rxfh->key;
1294 if (rxfh->hfunc != ETH_RSS_HASH_NO_CHANGE &&
1295 rxfh->hfunc != ETH_RSS_HASH_TOP)
1298 if (rxfh->rss_context)
1299 return efx_ethtool_set_rxfh_context(net_dev, rxfh, extack);