aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2020-04-30 19:05:56 +0200
committerDamjan Marion <dmarion@me.com>2020-05-04 13:56:29 +0000
commitd88fc0fcedb402e3dc82cb44280d4567a6a13266 (patch)
tree24f5f0a9231067437045f1df458312682c5298b1 /src/vpp
parent6bb080f1e54391b161cf211a9cfa3f488f2fd331 (diff)
tap: refactor existing flags
Type: refactor This patch refactor the existing flags and also add a new flag for packet coalescing. Change-Id: Ic826e4c81313f26d87c475cdf666b06cbed60a3a Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp')
-rw-r--r--src/vpp/api/custom_dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index a5c3fdbdfc9..e0ba9f93c3d 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -587,6 +587,10 @@ static void *vl_api_tap_create_v2_t_print
s = format (s, "persist ");
if ((mp->tap_flags) & 0x8)
s = format (s, "attach ");
+ if ((mp->tap_flags) & 0x16)
+ s = format (s, "tun ");
+ if ((mp->tap_flags) & 0x32)
+ s = format (s, "gro-coalesce-enabled ");
FINISH;
}