/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | mcdi_filters.c | 382 if (spec->rss_context) in efx_mcdi_filter_insert_locked() 383 ctx = efx_find_rss_context_entry(efx, spec->rss_context); in efx_mcdi_filter_insert_locked() 385 ctx = &efx->rss_context; in efx_mcdi_filter_insert_locked() 489 saved_spec->rss_context = spec->rss_context; in efx_mcdi_filter_insert_locked() 610 (efx_rss_active(&efx->rss_context) ? in efx_mcdi_filter_remove_internal() 613 new_spec.rss_context = 0; in efx_mcdi_filter_remove_internal() 616 &efx->rss_context, in efx_mcdi_filter_remove_internal() 763 filter_flags = efx_rss_active(&efx->rss_context) ? EFX_FILTER_FLAG_RX_RSS : 0; in efx_mcdi_filter_insert_addr_list() 832 filter_flags = efx_rss_active(&efx->rss_context) ? EFX_FILTER_FLAG_RX_RSS : 0; in efx_mcdi_filter_insert_def() 1403 if (spec->rss_context) in efx_mcdi_filter_table_restore() [all …]
|
D | ethtool_common.c | 645 u32 *rss_context) in efx_ethtool_get_class_rule() argument 803 *rss_context = spec.rss_context; in efx_ethtool_get_class_rule() 813 u32 rss_context = 0; in efx_ethtool_get_rxnfc() local 822 struct efx_rss_context *ctx = &efx->rss_context; in efx_ethtool_get_rxnfc() 826 if (info->flow_type & FLOW_RSS && info->rss_context) { in efx_ethtool_get_rxnfc() 827 ctx = efx_find_rss_context_entry(efx, info->rss_context); in efx_ethtool_get_rxnfc() 882 rc = efx_ethtool_get_class_rule(efx, &info->fs, &rss_context); in efx_ethtool_get_rxnfc() 886 info->rss_context = rss_context; in efx_ethtool_get_rxnfc() 917 u32 rss_context) in efx_ethtool_set_class_rule() argument 959 spec.rss_context = rss_context; in efx_ethtool_set_class_rule() [all …]
|
D | siena.c | 355 memcpy(efx->rss_context.rx_hash_key, &temp, sizeof(temp)); in siena_rx_pull_rss_config() 357 memcpy(efx->rss_context.rx_hash_key + sizeof(temp), &temp, sizeof(temp)); in siena_rx_pull_rss_config() 359 memcpy(efx->rss_context.rx_hash_key + 2 * sizeof(temp), &temp, in siena_rx_pull_rss_config() 372 memcpy(efx->rss_context.rx_hash_key, key, sizeof(temp)); in siena_rx_push_rss_config() 373 memcpy(&temp, efx->rss_context.rx_hash_key, sizeof(temp)); in siena_rx_push_rss_config() 377 BUILD_BUG_ON(sizeof(efx->rss_context.rx_hash_key) < in siena_rx_push_rss_config() 380 memcpy(&temp, efx->rss_context.rx_hash_key, sizeof(temp)); in siena_rx_push_rss_config() 382 memcpy(&temp, efx->rss_context.rx_hash_key + sizeof(temp), sizeof(temp)); in siena_rx_push_rss_config() 386 memcpy(&temp, efx->rss_context.rx_hash_key + 2 * sizeof(temp), in siena_rx_push_rss_config() 390 memcpy(efx->rss_context.rx_indir_table, rx_indir_table, in siena_rx_push_rss_config() [all …]
|
D | ethtool_common.h | 52 u8 *key, u8 *hfunc, u32 rss_context); 55 const u8 hfunc, u32 *rss_context,
|
D | filter.h | 159 u32 rss_context; member 187 spec->rss_context = 0; in efx_filter_init_rx()
|
D | efx.c | 307 netdev_rss_key_fill(efx->rss_context.rx_hash_key, in efx_probe_nic() 308 sizeof(efx->rss_context.rx_hash_key)); in efx_probe_nic() 309 efx_set_default_rx_indir_table(efx, &efx->rss_context); in efx_probe_nic()
|
D | farch.c | 1632 BUILD_BUG_ON(ARRAY_SIZE(efx->rss_context.rx_indir_table) != in efx_farch_rx_push_indir_table() 1637 efx->rss_context.rx_indir_table[i]); in efx_farch_rx_push_indir_table() 1649 BUILD_BUG_ON(ARRAY_SIZE(efx->rss_context.rx_indir_table) != in efx_farch_rx_pull_indir_table() 1656 efx->rss_context.rx_indir_table[i] = EFX_DWORD_FIELD(dword, FRF_BZ_IT_QUEUE); in efx_farch_rx_pull_indir_table() 2035 if ((gen_spec->flags & EFX_FILTER_FLAG_RX_RSS) && gen_spec->rss_context) in efx_farch_filter_from_gen_spec()
|
D | rx_common.c | 577 struct list_head *head = &efx->rss_context.list; in efx_alloc_rss_context_entry() 610 struct list_head *head = &efx->rss_context.list; in efx_find_rss_context_entry()
|
D | efx_common.c | 1008 INIT_LIST_HEAD(&efx->rss_context.list); in efx_init_struct() 1009 efx->rss_context.context_id = EFX_MCDI_RSS_CONTEXT_INVALID; in efx_init_struct()
|
D | ef100_nic.c | 1212 netdev_rss_key_fill(efx->rss_context.rx_hash_key, in ef100_probe_main() 1213 sizeof(efx->rss_context.rx_hash_key)); in ef100_probe_main()
|
D | net_driver.h | 1018 struct efx_rss_context rss_context; member
|
D | ef10.c | 1369 efx->rss_context.rx_indir_table, NULL); in efx_ef10_init_nic() 1386 efx->rss_context.context_id = EFX_MCDI_RSS_CONTEXT_INVALID; in efx_ef10_table_reset_mc_allocations()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | filter.h | 133 u32 rss_context; member 160 spec->rss_context = EF4_FILTER_RSS_CONTEXT_DEFAULT; in ef4_filter_init_rx()
|
D | farch.c | 1969 gen_spec->rss_context != EF4_FILTER_RSS_CONTEXT_DEFAULT) in ef4_farch_filter_from_gen_spec()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 1144 struct mlx4_rss_context *rss_context; in mlx4_en_config_rss_steer() local 1208 rss_context = ptr; in mlx4_en_config_rss_steer() 1209 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer() 1211 rss_context->default_qpn = cpu_to_be32(rss_map->base_qpn); in mlx4_en_config_rss_steer() 1214 rss_context->base_qpn_udp = rss_context->default_qpn; in mlx4_en_config_rss_steer() 1222 rss_context->flags = rss_mask; in mlx4_en_config_rss_steer() 1223 rss_context->hash_fn = MLX4_RSS_HASH_TOP; in mlx4_en_config_rss_steer() 1225 rss_context->hash_fn = MLX4_RSS_HASH_XOR; in mlx4_en_config_rss_steer() 1227 rss_context->hash_fn = MLX4_RSS_HASH_TOP; in mlx4_en_config_rss_steer() 1228 memcpy(rss_context->rss_key, priv->rss_key, in mlx4_en_config_rss_steer()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ethtool.h | 469 u8 *hfunc, u32 rss_context); 472 u32 *rss_context, bool delete);
|
/kernel/linux/linux-5.10/net/ethtool/ |
D | ioctl.c | 1187 if (rxfh.rss_context && !ops->get_rxfh_context) in ethtool_get_rxfh() 1211 if (rxfh.rss_context) in ethtool_get_rxfh() 1214 rxfh.rss_context); in ethtool_get_rxfh() 1263 if (rxfh.rss_context && !ops->set_rxfh_context) in ethtool_set_rxfh() 1303 if (rxfh.rss_context == 0) { in ethtool_set_rxfh() 1322 if (rxfh.rss_context) in ethtool_set_rxfh() 1324 &rxfh.rss_context, delete); in ethtool_set_rxfh() 1330 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh, rss_context), in ethtool_set_rxfh() 1331 &rxfh.rss_context, sizeof(rxfh.rss_context))) in ethtool_set_rxfh() 1334 if (!rxfh.rss_context) { in ethtool_set_rxfh()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | ethtool.h | 340 __u32 rss_context; member 351 __u32 rss_context; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | ethtool.h | 1095 __u32 rss_context; member 1151 __u32 rss_context; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | ethtool.h | 386 __u32 rss_context; member 397 __u32 rss_context; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2053 struct mlx4_rss_context *rss_context; in fill_qp_rss_context() local 2055 rss_context = (void *)context + offsetof(struct mlx4_qp_context, in fill_qp_rss_context() 2058 rss_context->base_qpn = cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz); in fill_qp_rss_context() 2059 rss_context->default_qpn = in fill_qp_rss_context() 2062 rss_context->base_qpn_udp = rss_context->default_qpn; in fill_qp_rss_context() 2063 rss_context->flags = qp->rss_ctx->flags; in fill_qp_rss_context() 2065 rss_context->hash_fn = MLX4_RSS_HASH_TOP; in fill_qp_rss_context() 2067 memcpy(rss_context->rss_key, qp->rss_ctx->rss_key, in fill_qp_rss_context()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1374 input.rss_ctx = info->rss_context; in mvpp2_ethtool_cls_rule_ins() 1572 rxnfc->rss_context != port_ctx) in mvpp22_port_rss_ctx_delete()
|
D | mvpp2_main.c | 5285 u8 *key, u8 *hfunc, u32 rss_context) in mvpp2_ethtool_get_rxfh_context() argument 5292 if (rss_context >= MVPP22_N_RSS_TABLES) in mvpp2_ethtool_get_rxfh_context() 5299 ret = mvpp22_port_rss_ctx_indir_get(port, rss_context, indir); in mvpp2_ethtool_get_rxfh_context() 5306 const u8 hfunc, u32 *rss_context, in mvpp2_ethtool_set_rxfh_context() argument 5322 return mvpp22_port_rss_ctx_delete(port, *rss_context); in mvpp2_ethtool_set_rxfh_context() 5324 if (*rss_context == ETH_RXFH_CONTEXT_ALLOC) { in mvpp2_ethtool_set_rxfh_context() 5325 ret = mvpp22_port_rss_ctx_create(port, rss_context); in mvpp2_ethtool_set_rxfh_context() 5330 return mvpp22_port_rss_ctx_indir_set(port, *rss_context, indir); in mvpp2_ethtool_set_rxfh_context()
|