Lines Matching refs:indir
1326 static int efx_ethtool_get_rxfh(struct net_device *net_dev, u32 *indir, u8 *key, in efx_ethtool_get_rxfh() argument
1338 if (indir) in efx_ethtool_get_rxfh()
1339 memcpy(indir, efx->rss_context.rx_indir_table, in efx_ethtool_get_rxfh()
1347 static int efx_ethtool_set_rxfh(struct net_device *net_dev, const u32 *indir, in efx_ethtool_set_rxfh() argument
1355 if (!indir && !key) in efx_ethtool_set_rxfh()
1360 if (!indir) in efx_ethtool_set_rxfh()
1361 indir = efx->rss_context.rx_indir_table; in efx_ethtool_set_rxfh()
1363 return efx->type->rx_push_rss_config(efx, true, indir, key); in efx_ethtool_set_rxfh()
1366 static int efx_ethtool_get_rxfh_context(struct net_device *net_dev, u32 *indir, in efx_ethtool_get_rxfh_context() argument
1388 if (indir) in efx_ethtool_get_rxfh_context()
1389 memcpy(indir, ctx->rx_indir_table, sizeof(ctx->rx_indir_table)); in efx_ethtool_get_rxfh_context()
1398 const u32 *indir, const u8 *key, in efx_ethtool_set_rxfh_context() argument
1449 if (!indir) in efx_ethtool_set_rxfh_context()
1450 indir = ctx->rx_indir_table; in efx_ethtool_set_rxfh_context()
1452 rc = efx->type->rx_push_rss_context_config(efx, ctx, indir, key); in efx_ethtool_set_rxfh_context()