net/mlx5: Introduce new uplink destination type
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / diag / fs_tracepoint.c
index 87d65f6b53104f1aea18714cc374d3f53a1017cf..7841ef6c193c7f6fbfaf34d687acf373811830db 100644 (file)
@@ -235,6 +235,9 @@ const char *parse_fs_dst(struct trace_seq *p,
        const char *ret = trace_seq_buffer_ptr(p);
 
        switch (dst->type) {
+       case MLX5_FLOW_DESTINATION_TYPE_UPLINK:
+               trace_seq_printf(p, "uplink\n");
+               break;
        case MLX5_FLOW_DESTINATION_TYPE_VPORT:
                trace_seq_printf(p, "vport=%u\n", dst->vport.num);
                break;