summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tapv2.api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2020-08-26 11:07:48 +0200
committerMohsin Kazmi <sykazmi@cisco.com>2020-09-02 08:48:58 +0000
commit50bd16559933576ed632eff8757d5954e93e99ce (patch)
tree959bc4b4af435479f9123a7e06449b6a2d840cb3 /src/vnet/devices/tap/tapv2.api
parent1b6ed022e7a37fd1b35f2f9272cc4abc159d616d (diff)
tap: add virtio 1.1 API flag
Type: feature Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I3e00deb94943c545d1649865b2efdf7d51b90f4d
Diffstat (limited to 'src/vnet/devices/tap/tapv2.api')
-rw-r--r--src/vnet/devices/tap/tapv2.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/tap/tapv2.api b/src/vnet/devices/tap/tapv2.api
index 94e1a7c00c2..6b6618411a6 100644
--- a/src/vnet/devices/tap/tapv2.api
+++ b/src/vnet/devices/tap/tapv2.api
@@ -32,6 +32,8 @@ enum tap_flags {
TAP_API_FLAG_ATTACH = 8, /* attach to the existing persistence interface after vpp crash/restart */
TAP_API_FLAG_TUN = 16, /* create TUN interface instead of tap */
TAP_API_FLAG_GRO_COALESCE = 32, /* enable packet coalescing on tx side, provided gso enabled */
+ TAP_API_FLAG_PACKED = 64 [backwards_compatible], /* enable packed ring support */
+ TAP_API_FLAG_IN_ORDER = 128 [backwards_compatible], /* enable in-order desc support */
};
/** \brief Initialize a new tap interface with the given parameters