summaryrefslogtreecommitdiffstats
path: root/src/vnet/gso
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2020-09-15 16:41:44 +0000
committerBeno�t Ganne <bganne@cisco.com>2020-09-16 12:55:25 +0000
commitb3a8f4e350eb1a5f08d5af4fd3a64da377ee5a5d (patch)
treedf0a28d45afd5c7a171914343b102d9172064a50 /src/vnet/gso
parentf916414b383afd37ec78509ee613df8878160406 (diff)
misc: fix the formatting style
Type: style Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Id86e16677564669b0295bbb9fc1303fe39a21b6f
Diffstat (limited to 'src/vnet/gso')
-rw-r--r--src/vnet/gso/hdr_offset_parser.h1
-rw-r--r--src/vnet/gso/node.c4
2 files changed, 2 insertions, 3 deletions
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);
}