pg: format_pg_input_trace - reorder fields 40/20340/6
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 26 Jun 2019 01:02:40 +0000 (21:02 -0400)
committerDamjan Marion <dmarion@me.com>
Sat, 29 Jun 2019 09:12:53 +0000 (09:12 +0000)
00:00:00:814640: pg-input
  stream pcap0-sw_if_index-1, 42 bytes, 1 sw_if_index

is changed to:

00:00:00:814640: pg-input
  stream pcap0-sw_if_index-1, 42 bytes, sw_if_index 1

Type: style

Change-Id: I9bb32494c9c1d08bc7588f088ed67a60ed3236dd
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
MAINTAINERS
src/vnet/pg/input.c

index a4051aa..b93d719 100644 (file)
@@ -111,6 +111,11 @@ I: interface
 M:     Dave Barach <dave@barachs.net>
 F:     src/vnet/interface*.[ch]
 
+VNET Packet Generator
+I:     pg
+M:     Dave Barach <dave@barachs.net>
+F:     src/vnet/pg/
+
 VNET Segment Routing (IPv6 and MPLS)
 I:     sr
 M:     Pablo Camarillo <pcamaril@cisco.com>
index 7171bbd..156f975 100644 (file)
@@ -1426,7 +1426,7 @@ format_pg_input_trace (u8 * s, va_list * va)
     s = format (s, "stream %d", t->stream_index);
 
   s = format (s, ", %d bytes", t->packet_length);
-  s = format (s, ", %d sw_if_index", t->sw_if_index);
+  s = format (s, ", sw_if_index %d", t->sw_if_index);
 
   s = format (s, "\n%U%U",
              format_white_space, indent, format_vnet_buffer, &t->buffer);