Lines Matching full:rxfh
1161 struct ethtool_rxfh_param *rxfh) in efx_ethtool_get_rxfh() argument
1166 if (rxfh->rss_context) /* core should never call us for these */ in efx_ethtool_get_rxfh()
1173 rxfh->hfunc = ETH_RSS_HASH_TOP; in efx_ethtool_get_rxfh()
1174 if (rxfh->indir) in efx_ethtool_get_rxfh()
1175 memcpy(rxfh->indir, efx->rss_context.rx_indir_table, in efx_ethtool_get_rxfh()
1177 if (rxfh->key) in efx_ethtool_get_rxfh()
1178 memcpy(rxfh->key, efx->rss_context.rx_hash_key, in efx_ethtool_get_rxfh()
1185 const struct ethtool_rxfh_param *rxfh, in efx_ethtool_modify_rxfh_context() argument
1190 const u32 *indir = rxfh->indir; in efx_ethtool_modify_rxfh_context()
1191 const u8 *key = rxfh->key; in efx_ethtool_modify_rxfh_context()
1199 if (rxfh->hfunc != ETH_RSS_HASH_NO_CHANGE && in efx_ethtool_modify_rxfh_context()
1200 rxfh->hfunc != ETH_RSS_HASH_TOP) { in efx_ethtool_modify_rxfh_context()
1218 const struct ethtool_rxfh_param *rxfh, in efx_ethtool_create_rxfh_context() argument
1233 if (!rxfh->indir) in efx_ethtool_create_rxfh_context()
1235 if (!rxfh->key) in efx_ethtool_create_rxfh_context()
1238 if (rxfh->hfunc == ETH_RSS_HASH_NO_CHANGE) in efx_ethtool_create_rxfh_context()
1240 if (rxfh->input_xfrm == RXH_XFRM_NO_CHANGE) in efx_ethtool_create_rxfh_context()
1242 return efx_ethtool_modify_rxfh_context(net_dev, ctx, rxfh, extack); in efx_ethtool_create_rxfh_context()
1265 struct ethtool_rxfh_param *rxfh, in efx_ethtool_set_rxfh() argument
1269 u32 *indir = rxfh->indir; in efx_ethtool_set_rxfh()
1270 u8 *key = rxfh->key; in efx_ethtool_set_rxfh()
1273 if (rxfh->hfunc != ETH_RSS_HASH_NO_CHANGE && in efx_ethtool_set_rxfh()
1274 rxfh->hfunc != ETH_RSS_HASH_TOP) in efx_ethtool_set_rxfh()
1278 if (WARN_ON_ONCE(rxfh->rss_context)) in efx_ethtool_set_rxfh()