Home
last modified time | relevance | path

Searched refs:dest_attr (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Dfs_dr.c183 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_vport_action() local
186 dest_attr->vport.flags & in create_vport_action()
188 dest_attr->vport.vhca_id); in create_vport_action()
194 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_uplink_action() local
197 dest_attr->vport.vhca_id); in create_uplink_action()
224 dst->dest_attr.range.min, in create_range_action()
225 dst->dest_attr.range.max); in create_range_action()
463 if (dst->dest_attr.vport.flags & in mlx5_cmd_dr_create_fte()
473 id = dst->dest_attr.ft_num; in mlx5_cmd_dr_create_fte()
484 id = dst->dest_attr.sampler_id; in mlx5_cmd_dr_create_fte()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c649 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte()
653 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
660 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte()
664 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()
672 id = dst->dest_attr.vport.num; in mlx5_cmd_set_fte()
677 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte()
685 id = dst->dest_attr.sampler_id; in mlx5_cmd_set_fte()
691 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
695 id = dst->dest_attr.tir_num; in mlx5_cmd_set_fte()
717 if (dst->dest_attr.type != in mlx5_cmd_set_fte()
[all …]
H A Dfs_core.c626 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_dup_rule()
628 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_dup_rule()
650 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
652 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
661 mlx5_fc_local_destroy(rule->dest_attr.counter); in del_sw_hw_rule()
665 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_PORT) { in del_sw_hw_rule()
672 if (is_fwd_dest_type(rule->dest_attr.type)) { in del_sw_hw_rule()
1223 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination()
1537 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in alloc_rule()
1539 rule->dest_attr.type = MLX5_FLOW_DESTINATION_TYPE_NONE; in alloc_rule()
[all …]
H A Dfs_core.h187 struct mlx5_flow_destination dest_attr; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c415 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in mlx5_fs_get_dest_action_vport() local
460 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in mlx5_fs_create_dest_action_range() local
463 dest_attr->range.field, in mlx5_fs_create_dest_action_range()
464 dest_attr->range.hit_ft, in mlx5_fs_create_dest_action_range()
465 dest_attr->range.miss_ft, in mlx5_fs_create_dest_action_range()
466 dest_attr->range.min, in mlx5_fs_create_dest_action_range()
467 dest_attr->range.max, in mlx5_fs_create_dest_action_range()
542 u32 id = dst->dest_attr.sampler_id; in mlx5_fs_get_dest_action_sampler()
883 if (dst->dest_attr.type != in mlx5_fs_fte_get_hws_actions()
892 counter = dst->dest_attr.counter; in mlx5_fs_fte_get_hws_actions()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h290 &rule->dest_attr,
292 if (rule->dest_attr.type &
295 mlx5_fc_id(rule->dest_attr.counter);
/linux-6.15/sound/soc/fsl/
H A Dfsl_dma.h119 __be32 dest_attr; /* Programmed into DATR register */ member
H A Dfsl_dma.c178 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | in fsl_dma_update_pointers()
642 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP | in fsl_dma_hw_params()
650 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | in fsl_dma_hw_params()