Searched refs:dest_attr (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
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.vport.flags & in mlx5_cmd_dr_create_fte() 419 dst->dest_attr.vport.pkt_reformat->action.dr_action; in mlx5_cmd_dr_create_fte() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
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.vport.pkt_reformat) { in mlx5_cmd_set_fte() [all …]
|
D | fs_core.h | 152 struct mlx5_flow_destination dest_attr; member
|
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()
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.h | 290 &rule->dest_attr, 292 if (rule->dest_attr.type & 295 rule->dest_attr.counter_id;
|