Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c189 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_vport_action() local
191 return mlx5dr_action_create_dest_vport(domain, dest_attr->vport.num, in create_vport_action()
192 dest_attr->vport.flags & in create_vport_action()
194 dest_attr->vport.vhca_id); in create_vport_action()
200 struct mlx5_flow_table *dest_ft = dst->dest_attr.ft; in create_ft_action()
221 return dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in contain_vport_reformat_action()
222 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID; in contain_vport_reformat_action()
392 enum mlx5_flow_destination_type type = dst->dest_attr.type; in mlx5_cmd_dr_create_fte()
423 if (dst->dest_attr.vport.flags & in mlx5_cmd_dr_create_fte()
426 dst->dest_attr.vport.pkt_reformat->action.dr_action; in mlx5_cmd_dr_create_fte()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c438 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) in mlx5_set_extended_dest()
440 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in mlx5_set_extended_dest()
441 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5_set_extended_dest()
553 unsigned int id, type = dst->dest_attr.type; in mlx5_cmd_set_fte()
560 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte()
564 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
567 id = dst->dest_attr.vport.num; in mlx5_cmd_set_fte()
570 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte()
574 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()
576 dst->dest_attr.vport.pkt_reformat) { in mlx5_cmd_set_fte()
[all …]
Dfs_core.h154 struct mlx5_flow_destination dest_attr; member
Dfs_core.c524 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
526 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
529 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER && in del_sw_hw_rule()
538 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_PORT && in del_sw_hw_rule()
959 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination()
982 if (mlx5_flow_dests_cmp(new_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()
1266 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in alloc_rule()
1524 if (mlx5_flow_dests_cmp(&rule->dest_attr, dest)) in find_flow_rule()
/Linux-v5.15/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-v5.15/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()