Searched refs:dest_attr (Results 1 – 6 of 6) sorted by relevance
371 unsigned int id, type = dst->dest_attr.type; in mlx5_cmd_set_fte()378 id = dst->dest_attr.ft_num; in mlx5_cmd_set_fte()382 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()385 id = dst->dest_attr.vport.num; in mlx5_cmd_set_fte()388 dst->dest_attr.vport.vhca_id_valid); in mlx5_cmd_set_fte()391 dst->dest_attr.vport.vhca_id); in mlx5_cmd_set_fte()394 id = dst->dest_attr.tir_num; in mlx5_cmd_set_fte()415 if (dst->dest_attr.type != in mlx5_cmd_set_fte()420 dst->dest_attr.counter->id); in mlx5_cmd_set_fte()
419 mutex_lock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()421 mutex_unlock(&rule->dest_attr.ft->lock); in del_sw_hw_rule()424 if (rule->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER && in del_sw_hw_rule()842 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in _mlx5_modify_rule_destination()865 if (mlx5_flow_dests_cmp(new_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()1123 memcpy(&rule->dest_attr, dest, sizeof(*dest)); in alloc_rule()1375 if (mlx5_flow_dests_cmp(&rule->dest_attr, dest)) in find_flow_rule()1466 if (dst->dest_attr.type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) in mlx5_flow_rule_counter()1467 return dst->dest_attr.counter; in mlx5_flow_rule_counter()
99 struct mlx5_flow_destination dest_attr; member
253 &rule->dest_attr,255 if (rule->dest_attr.type & MLX5_FLOW_DESTINATION_TYPE_COUNTER &&256 rule->dest_attr.counter)258 rule->dest_attr.counter->id;
122 __be32 dest_attr; /* Programmed into DATR register */ member
182 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | in fsl_dma_update_pointers()675 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP | in fsl_dma_hw_params()683 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP | in fsl_dma_hw_params()