Lines Matching refs:indir
1329 static int efx_ethtool_get_rxfh(struct net_device *net_dev, u32 *indir, u8 *key, in efx_ethtool_get_rxfh() argument
1341 if (indir) in efx_ethtool_get_rxfh()
1342 memcpy(indir, efx->rss_context.rx_indir_table, in efx_ethtool_get_rxfh()
1350 static int efx_ethtool_set_rxfh(struct net_device *net_dev, const u32 *indir, in efx_ethtool_set_rxfh() argument
1358 if (!indir && !key) in efx_ethtool_set_rxfh()
1363 if (!indir) in efx_ethtool_set_rxfh()
1364 indir = efx->rss_context.rx_indir_table; in efx_ethtool_set_rxfh()
1366 return efx->type->rx_push_rss_config(efx, true, indir, key); in efx_ethtool_set_rxfh()
1369 static int efx_ethtool_get_rxfh_context(struct net_device *net_dev, u32 *indir, in efx_ethtool_get_rxfh_context() argument
1391 if (indir) in efx_ethtool_get_rxfh_context()
1392 memcpy(indir, ctx->rx_indir_table, sizeof(ctx->rx_indir_table)); in efx_ethtool_get_rxfh_context()
1401 const u32 *indir, const u8 *key, in efx_ethtool_set_rxfh_context() argument
1452 if (!indir) in efx_ethtool_set_rxfh_context()
1453 indir = ctx->rx_indir_table; in efx_ethtool_set_rxfh_context()
1455 rc = efx->type->rx_push_rss_context_config(efx, ctx, indir, key); in efx_ethtool_set_rxfh_context()