summaryrefslogtreecommitdiffstats
path: root/src/vpp/api/custom_dump.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-12-18 17:08:54 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-01-08 17:09:15 +0000
commitba0061feba13a11fc1c1af551bc4c26eccbd2f2c (patch)
treeb67fbf3b967f729bcc65104530f56a39bc33cecc /src/vpp/api/custom_dump.c
parent6d4af8918c8d14aa609d6488f0793152f9ed1927 (diff)
tap: split gso and checksum offload functionality
Type: refactor Change-Id: I0d4b79ef384c11c841576d264bfd8ccb21783e10 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp/api/custom_dump.c')
-rw-r--r--src/vpp/api/custom_dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index aba32e6f5f7..6e47a79a616 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -578,7 +578,9 @@ static void *vl_api_tap_create_v2_t_print
if (mp->host_mtu_set)
s = format (s, "host-mtu-size %u ", (mp->host_mtu_size));
if ((mp->tap_flags) & 0x1)
- s = format (s, "gso-enabled");
+ s = format (s, "gso-enabled ");
+ if ((mp->tap_flags) & 0x2)
+ s = format (s, "csum-offload-enabled");
FINISH;
}