Searched refs:dest_attr (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| 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_destination *dest_attr = &dst->dest_attr; in create_uplink_action() local 197 dest_attr->vport.vhca_id); in create_uplink_action() 203 struct mlx5_flow_table *dest_ft = dst->dest_attr.ft; in create_ft_action() 221 dst->dest_attr.range.field, in create_range_action() 222 dst->dest_attr.range.hit_ft, in create_range_action() 223 dst->dest_attr.range.miss_ft, in create_range_action() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_cmd.c | 495 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER || in mlx5_set_extended_dest() 496 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_NONE) in mlx5_set_extended_dest() 498 if ((dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_VPORT || in mlx5_set_extended_dest() 499 dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_UPLINK) && in mlx5_set_extended_dest() 500 dst->dest_attr.vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5_set_extended_dest() 663 enum mlx5_flow_destination_type type = dst->dest_attr.type; in mlx5_cmd_set_fte() 674 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte() 678 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte() 685 !!(dst->dest_attr.vport.flags & in mlx5_cmd_set_fte() 689 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte() [all …]
|
| H A D | fs_core.c | 631 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_dup_rule() 633 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_dup_rule() 655 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule() 657 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule() 660 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) { in del_sw_hw_rule() 666 mlx5_fc_local_put(rule->dest_attr.counter); in del_sw_hw_rule() 670 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_PORT) { in del_sw_hw_rule() 677 if (is_fwd_dest_type(rule->dest_attr.type)) { in del_sw_hw_rule() 1229 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination() 1253 if (mlx5_flow_dests_cmp(old_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | fs_hws.c | 387 return xa_load(&fs_ctx->hws_pool.table_dests, dst->dest_attr.ft->id); in mlx5_fs_get_dest_action_ft() 394 u32 table_num = dst->dest_attr.ft_num; in mlx5_fs_get_dest_action_table_num() 405 u32 table_num = dst->dest_attr.ft_num; in mlx5_fs_create_dest_action_table_num() 416 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in mlx5_fs_get_dest_action_vport() local 426 (dest_attr->vport.flags & MLX5_FLOW_DEST_VPORT_VHCA_ID); in mlx5_fs_get_dest_action_vport() 427 vport_num = is_dest_type_uplink ? MLX5_VPORT_UPLINK : dest_attr->vport.num; in mlx5_fs_get_dest_action_vport() 430 idx = (unsigned long)dest_attr->vport.vhca_id << 16 | vport_num; in mlx5_fs_get_dest_action_vport() 441 dest_attr->vport.vhca_id, flags); in mlx5_fs_get_dest_action_vport() 461 struct mlx5_flow_destination *dest_attr = &dst->dest_attr; in mlx5_fs_create_dest_action_range() local 464 dest_attr->range.field, in mlx5_fs_create_dest_action_range() [all …]
|
| /linux/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
|