Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c191 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_vport_action() local
193 return mlx5dr_action_create_dest_vport(domain, dest_attr->vport.num, in create_vport_action()
194 dest_attr->vport.flags & in create_vport_action()
196 dest_attr->vport.vhca_id); in create_vport_action()
202 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_uplink_action() local
205 dest_attr->vport.vhca_id); in create_uplink_action()
211 struct mlx5_flow_table *dest_ft = dst->dest_attr.ft; in create_ft_action()
222 dst->dest_attr.range.field, in create_range_action()
223 dst->dest_attr.range.hit_ft, in create_range_action()
224 dst->dest_attr.range.miss_ft, in create_range_action()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c470 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER || in mlx5_set_extended_dest()
471 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_NONE) in mlx5_set_extended_dest()
473 if ((dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT || in mlx5_set_extended_dest()
474 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_UPLINK) && in mlx5_set_extended_dest()
475 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5_set_extended_dest()
637 enum mlx5_flow_destination_type type = dst->dest_attr.type; in mlx5_cmd_set_fte()
648 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte()
652 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
659 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte()
663 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()
[all …]
Dfs_core.c625 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
627 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
630 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) { in del_sw_hw_rule()
639 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_PORT) { in del_sw_hw_rule()
646 if (is_fwd_dest_type(rule->dest_attr.type)) { in del_sw_hw_rule()
1123 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination()
1146 if (mlx5_flow_dests_cmp(old_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()
1436 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in alloc_rule()
1438 rule->dest_attr.type = MLX5_FLOW_DESTINATION_TYPE_NONE; in alloc_rule()
1706 if (mlx5_flow_dests_cmp(&rule->dest_attr, dest)) in find_flow_rule()
Dfs_core.h174 struct mlx5_flow_destination dest_attr; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h290 &rule->dest_attr,
292 if (rule->dest_attr.type &
295 rule->dest_attr.counter_id;
/linux-6.6.21/sound/soc/fsl/
Dfsl_dma.h119 __be32 dest_attr; /* Programmed into DATR register */ member
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()