Searched refs:sampler (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 43 struct mlx5e_sampler *sampler; member 116 sampler_obj_create(struct mlx5_core_dev *mdev, struct mlx5e_sampler *sampler) in sampler_obj_create() argument 134 MLX5_SET(sampler_obj, obj, sample_ratio, sampler->sample_ratio); in sampler_obj_create() 135 MLX5_SET(sampler_obj, obj, sample_table_id, sampler->sample_table_id); in sampler_obj_create() 136 MLX5_SET(sampler_obj, obj, default_table_id, sampler->default_table_id); in sampler_obj_create() 142 sampler->sampler_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in sampler_obj_create() 175 struct mlx5e_sampler *sampler; in sampler_get() local 181 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key) in sampler_get() 182 if (!sampler_cmp(sampler->sample_ratio, sampler->default_table_id, in sampler_get() 186 sampler = kzalloc(sizeof(*sampler), GFP_KERNEL); in sampler_get() [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 2022 MLXSW_ITEM32(afa, sampler, mirror_agent, 0x04, 0, 3); 2030 MLXSW_ITEM32(afa, sampler, mirror_probability_rate, 0x08, 0, 24); 2046 struct mlxsw_afa_sampler *sampler) in mlxsw_afa_sampler_destroy() argument 2048 mlxsw_afa_resource_del(&sampler->resource); in mlxsw_afa_sampler_destroy() 2049 block->afa->ops->sampler_del(block->afa->ops_priv, sampler->local_port, in mlxsw_afa_sampler_destroy() 2050 sampler->span_id, sampler->ingress); in mlxsw_afa_sampler_destroy() 2051 kfree(sampler); in mlxsw_afa_sampler_destroy() 2057 struct mlxsw_afa_sampler *sampler; in mlxsw_afa_sampler_destructor() local 2059 sampler = container_of(resource, struct mlxsw_afa_sampler, resource); in mlxsw_afa_sampler_destructor() 2060 mlxsw_afa_sampler_destroy(block, sampler); in mlxsw_afa_sampler_destructor() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 666 attr.final_icm_addr = rx_rule ? action->sampler->rx_icm_addr : in mlx5dr_actions_build_ste_arr() 667 action->sampler->tx_icm_addr; in mlx5dr_actions_build_ste_arr() 1011 action->sampler->dmn = dmn; in mlx5dr_action_create_flow_sampler() 1012 action->sampler->sampler_id = sampler_id; in mlx5dr_action_create_flow_sampler() 1013 action->sampler->rx_icm_addr = icm_rx; in mlx5dr_action_create_flow_sampler() 1014 action->sampler->tx_icm_addr = icm_tx; in mlx5dr_action_create_flow_sampler() 1838 refcount_dec(&action->sampler->dmn->refcount); in mlx5dr_action_destroy()
|
D | dr_types.h | 978 struct mlx5dr_action_sampler *sampler; member
|
/drivers/mmc/host/ |
D | mmci_stm32_sdmmc.c | 372 int unit, int phase, bool sampler) in sdmmc_dlyb_set_cfgr() argument 382 if (!sampler) in sdmmc_dlyb_set_cfgr()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_engine_types.h | 70 u32 sampler[I915_MAX_SLICES][I915_MAX_SUBSLICES]; member
|
D | intel_engine_cs.c | 1190 instdone->sampler[slice][subslice] = in intel_engine_get_instdone() 1207 instdone->sampler[0][0] = in intel_engine_get_instdone()
|
/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 450 ee->instdone.sampler[slice][subslice]); in error_print_instdone()
|