Home
last modified time | relevance | path

Searched refs:n_counters (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/net/sfc/
H A Dsfc_mae.c880 unsigned int n_counters, in sfc_mae_counters_enable() argument
887 if (n_counters == 0) { in sfc_mae_counters_enable()
925 if (n_counters == 0) in sfc_mae_counters_disable()
943 unsigned int n_counters; member
963 if (ctx->n_counters != 0) in sfc_mae_action_set_attach()
999 if (ctx->n_counters > 0) { in sfc_mae_action_set_add()
1034 action_set->n_counters = ctx->n_counters; in sfc_mae_action_set_add()
4058 ++(ctx.n_counters); in sfc_mae_rule_parse_actions()
4079 ctx.n_counters = 1; in sfc_mae_rule_parse_actions()
4108 if (ctx.n_counters > 1) { in sfc_mae_rule_parse_actions()
[all …]
H A Dsfc_mae.h90 uint32_t n_counters; member
/dpdk/drivers/common/sfc_efx/base/
H A Defx_mae.c3021 __in uint32_t n_counters, in efx_mae_counters_alloc() argument
3023 __out_ecount(n_counters) efx_counter_t *countersp, in efx_mae_counters_alloc()
3035 if (n_counters > maep->em_max_ncounters || in efx_mae_counters_alloc()
3049 n_counters); in efx_mae_counters_alloc()
3099 __in uint32_t n_counters, in efx_mae_counters_free() argument
3101 __in_ecount(n_counters) const efx_counter_t *countersp, in efx_mae_counters_free()
3113 if (n_counters > maep->em_max_ncounters || in efx_mae_counters_free()
3115 n_counters > in efx_mae_counters_free()
3123 req.emr_in_length = MC_CMD_MAE_COUNTER_FREE_IN_LEN(n_counters); in efx_mae_counters_free()
3127 for (i = 0; i < n_counters; i++) { in efx_mae_counters_free()
[all …]
H A Defx.h4748 __in uint32_t n_counters,
4750 __out_ecount(n_counters) efx_counter_t *countersp,
4757 __in uint32_t n_counters,
4759 __in_ecount(n_counters) const efx_counter_t *countersp,
/dpdk/drivers/common/mlx5/
H A Dmlx5_devx_cmds.h595 int clear, uint32_t n_counters,
H A Dmlx5_devx_cmds.c245 int clear, uint32_t n_counters, in mlx5_devx_cmd_flow_counter_query() argument
264 if (n_counters) { in mlx5_devx_cmd_flow_counter_query()
266 n_counters); in mlx5_devx_cmd_flow_counter_query()
284 if (!n_counters) { in mlx5_devx_cmd_flow_counter_query()