/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 191 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 in create_range_action() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 183 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in create_vport_action() local 185 return mlx5dr_action_create_dest_vport(domain, dest_attr->vport.num, in create_vport_action() 186 dest_attr->vport.flags & in create_vport_action() 188 dest_attr->vport.vhca_id); in create_vport_action() 194 struct mlx5_flow_table *dest_ft = dst->dest_attr.ft; in create_ft_action() 215 return dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in contain_vport_reformat_action() 216 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID; in contain_vport_reformat_action() 385 enum mlx5_flow_destination_type type = dst->dest_attr.type; in mlx5_cmd_dr_create_fte() 416 if (dst->dest_attr in mlx5_cmd_dr_create_fte() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.c | 369 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) in mlx5_set_extended_dest() 371 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in mlx5_set_extended_dest() 372 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5_set_extended_dest() 485 unsigned int id, type = dst->dest_attr.type; in mlx5_cmd_set_fte() 492 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte() 496 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte() 499 id = dst->dest_attr.vport.num; in mlx5_cmd_set_fte() 502 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte() 506 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte() 508 dst->dest_attr in mlx5_cmd_set_fte() [all...] |
H A D | fs_core.h | 152 struct mlx5_flow_destination dest_attr; member
|
H A D | fs_core.c | 523 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule() 525 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule() 528 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER && in del_sw_hw_rule() 537 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_PORT && in del_sw_hw_rule() 1015 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination() 1038 if (mlx5_flow_dests_cmp(new_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination() 1317 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in alloc_rule() 1573 if (mlx5_flow_dests_cmp(&rule->dest_attr, dest)) in find_flow_rule()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.c | 470 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 in mlx5_cmd_set_fte() [all...] |
H A D | fs_core.c | 625 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, des in find_flow_rule() [all...] |
H A D | fs_core.h | 174 struct mlx5_flow_destination dest_attr; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.h | 290 &rule->dest_attr, 292 if (rule->dest_attr.type & 295 rule->dest_attr.counter_id;
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.h | 290 &rule->dest_attr, 292 if (rule->dest_attr.type & 295 rule->dest_attr.counter_id;
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_dma.c | 178 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()
|
H A D | fsl_dma.h | 119 __be32 dest_attr; /* Programmed into DATR register */ member
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_dma.h | 119 __be32 dest_attr; /* Programmed into DATR register */ member
|
H A D | fsl_dma.c | 178 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | in fsl_dma_update_pointers() 669 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP | in fsl_dma_hw_params() 677 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | in fsl_dma_hw_params()
|