Loading drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c +3 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,9 @@ const char *parse_fs_dst(struct trace_seq *p, case MLX5_FLOW_DESTINATION_TYPE_TIR: trace_seq_printf(p, "tir=%u\n", dst->tir_num); break; case MLX5_FLOW_DESTINATION_TYPE_FLOW_SAMPLER: trace_seq_printf(p, "sampler_id=%u\n", dst->sampler_id); break; case MLX5_FLOW_DESTINATION_TYPE_COUNTER: trace_seq_printf(p, "counter_id=%u\n", counter_id); break; Loading drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c +3 −0 Original line number Diff line number Diff line Loading @@ -515,6 +515,9 @@ static int mlx5_cmd_set_fte(struct mlx5_core_dev *dev, dst->dest_attr.vport.pkt_reformat->id); } break; case MLX5_FLOW_DESTINATION_TYPE_FLOW_SAMPLER: id = dst->dest_attr.sampler_id; break; default: id = dst->dest_attr.tir_num; } Loading include/linux/mlx5/fs.h +1 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ struct mlx5_flow_destination { struct mlx5_pkt_reformat *pkt_reformat; u8 flags; } vport; u32 sampler_id; }; }; Loading include/linux/mlx5/mlx5_ifc.h +1 −0 Original line number Diff line number Diff line Loading @@ -1616,6 +1616,7 @@ enum mlx5_flow_destination_type { MLX5_FLOW_DESTINATION_TYPE_VPORT = 0x0, MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE = 0x1, MLX5_FLOW_DESTINATION_TYPE_TIR = 0x2, MLX5_FLOW_DESTINATION_TYPE_FLOW_SAMPLER = 0x6, MLX5_FLOW_DESTINATION_TYPE_PORT = 0x99, MLX5_FLOW_DESTINATION_TYPE_COUNTER = 0x100, Loading Loading
drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c +3 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,9 @@ const char *parse_fs_dst(struct trace_seq *p, case MLX5_FLOW_DESTINATION_TYPE_TIR: trace_seq_printf(p, "tir=%u\n", dst->tir_num); break; case MLX5_FLOW_DESTINATION_TYPE_FLOW_SAMPLER: trace_seq_printf(p, "sampler_id=%u\n", dst->sampler_id); break; case MLX5_FLOW_DESTINATION_TYPE_COUNTER: trace_seq_printf(p, "counter_id=%u\n", counter_id); break; Loading
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c +3 −0 Original line number Diff line number Diff line Loading @@ -515,6 +515,9 @@ static int mlx5_cmd_set_fte(struct mlx5_core_dev *dev, dst->dest_attr.vport.pkt_reformat->id); } break; case MLX5_FLOW_DESTINATION_TYPE_FLOW_SAMPLER: id = dst->dest_attr.sampler_id; break; default: id = dst->dest_attr.tir_num; } Loading
include/linux/mlx5/fs.h +1 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ struct mlx5_flow_destination { struct mlx5_pkt_reformat *pkt_reformat; u8 flags; } vport; u32 sampler_id; }; }; Loading
include/linux/mlx5/mlx5_ifc.h +1 −0 Original line number Diff line number Diff line Loading @@ -1616,6 +1616,7 @@ enum mlx5_flow_destination_type { MLX5_FLOW_DESTINATION_TYPE_VPORT = 0x0, MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE = 0x1, MLX5_FLOW_DESTINATION_TYPE_TIR = 0x2, MLX5_FLOW_DESTINATION_TYPE_FLOW_SAMPLER = 0x6, MLX5_FLOW_DESTINATION_TYPE_PORT = 0x99, MLX5_FLOW_DESTINATION_TYPE_COUNTER = 0x100, Loading