Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c190 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_vport_action() local
192 return mlx5dr_action_create_dest_vport(domain, dest_attr->vport.num, in create_vport_action()
193 dest_attr->vport.flags & in create_vport_action()
195 dest_attr->vport.vhca_id); in create_vport_action()
201 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_uplink_action() local
204 dest_attr->vport.vhca_id); in create_uplink_action()
210 struct mlx5_flow_table *dest_ft = dst->dest_attr.ft; in create_ft_action()
231 return (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT || in contain_vport_reformat_action()
232 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_UPLINK) && in contain_vport_reformat_action()
233 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID; in contain_vport_reformat_action()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c462 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER || in mlx5_set_extended_dest()
463 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_NONE) in mlx5_set_extended_dest()
465 if ((dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT || in mlx5_set_extended_dest()
466 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_UPLINK) && in mlx5_set_extended_dest()
467 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5_set_extended_dest()
606 enum mlx5_flow_destination_type type = dst->dest_attr.type; in mlx5_cmd_set_fte()
617 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte()
621 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
628 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte()
632 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()
[all …]
Dfs_core.c575 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
577 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()
580 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) { in del_sw_hw_rule()
589 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_PORT) { in del_sw_hw_rule()
596 if (is_fwd_dest_type(rule->dest_attr.type)) { in del_sw_hw_rule()
1017 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination()
1040 if (mlx5_flow_dests_cmp(new_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()
1330 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in alloc_rule()
1332 rule->dest_attr.type = MLX5_FLOW_DESTINATION_TYPE_NONE; in alloc_rule()
1594 if (mlx5_flow_dests_cmp(&rule->dest_attr, dest)) in find_flow_rule()
Dfs_core.h166 struct mlx5_flow_destination dest_attr; member
/Linux-v6.1/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-v6.1/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()