Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c495 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 Dfs_core.c631 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 …]
H A Dfs_core.h168 struct mlx5_flow_destination dest_attr; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c387 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 Dfsl_dma.h119 __be32 dest_attr; /* Programmed into DATR register */ member
H A 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()