aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vpp/api/custom_dump.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 27d1c0c8500..1928e42eec3 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -579,17 +579,17 @@ static void *vl_api_tap_create_v2_t_print
s = format (s, "rx-ring-size %u ", (mp->rx_ring_sz));
if (mp->host_mtu_set)
s = format (s, "host-mtu-size %u ", (mp->host_mtu_size));
- if ((mp->tap_flags) & 0x1)
+ if ((mp->tap_flags) & TAP_API_FLAG_GSO)
s = format (s, "gso-enabled ");
- if ((mp->tap_flags) & 0x2)
+ if ((mp->tap_flags) & TAP_API_FLAG_CSUM_OFFLOAD)
s = format (s, "csum-offload-enabled ");
- if ((mp->tap_flags) & 0x4)
+ if ((mp->tap_flags) & TAP_API_FLAG_PERSIST)
s = format (s, "persist ");
- if ((mp->tap_flags) & 0x8)
+ if ((mp->tap_flags) & TAP_API_FLAG_ATTACH)
s = format (s, "attach ");
- if ((mp->tap_flags) & 0x16)
+ if ((mp->tap_flags) & TAP_API_FLAG_TUN)
s = format (s, "tun ");
- if ((mp->tap_flags) & 0x32)
+ if ((mp->tap_flags) & TAP_API_FLAG_GRO_COALESCE)
s = format (s, "gro-coalesce-enabled ");
FINISH;
}