From b3a8f4e350eb1a5f08d5af4fd3a64da377ee5a5d Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Tue, 15 Sep 2020 16:41:44 +0000 Subject: misc: fix the formatting style Type: style Signed-off-by: Mohsin Kazmi Change-Id: Id86e16677564669b0295bbb9fc1303fe39a21b6f --- src/vnet/gso/hdr_offset_parser.h | 1 - src/vnet/gso/node.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/vnet/gso') diff --git a/src/vnet/gso/hdr_offset_parser.h b/src/vnet/gso/hdr_offset_parser.h index 8fa5cad56d1..bfe04217fa2 100644 --- a/src/vnet/gso/hdr_offset_parser.h +++ b/src/vnet/gso/hdr_offset_parser.h @@ -82,7 +82,6 @@ format_generic_header_offset (u8 * s, va_list * args) { generic_header_offset_t *gho = va_arg (*args, generic_header_offset_t *); - s = format (s, "\n\t"); if (gho->gho_flags & GHO_F_TUNNEL) { if (gho->gho_flags & GHO_F_VXLAN_TUNNEL) diff --git a/src/vnet/gso/node.c b/src/vnet/gso/node.c index ddbcb996b5f..23213a76b0f 100644 --- a/src/vnet/gso/node.c +++ b/src/vnet/gso/node.c @@ -42,14 +42,14 @@ format_gso_trace (u8 * s, va_list * args) if (t->flags & VNET_BUFFER_F_GSO) { - s = format (s, "gso_sz %d gso_l4_hdr_sz %d %U", + s = format (s, "gso_sz %d gso_l4_hdr_sz %d\n%U", t->gso_size, t->gso_l4_hdr_sz, format_generic_header_offset, &t->gho); } else { s = - format (s, "non-gso buffer %U", format_generic_header_offset, + format (s, "non-gso buffer\n%U", format_generic_header_offset, &t->gho); } -- cgit 1.2.3-korg