summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/tap/tapv2.api
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2023-04-27 00:00:46 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-06-27 14:47:14 +0000
commit74d9f0ae3b653c409f6375b9417c8d7ccec48e0c (patch)
tree0573f40a9a0ba79425de9a295470371ba79a841f /src/vnet/devices/tap/tapv2.api
parent9ebd2b92e32593a57427e21f964c3fcc2622c0b8 (diff)
api: tapv2 - Mark old message versions as deprecated
List of changed messages: - tap_create_v2 - tap_create_v2_reply This change is part of VPP API cleanup initiative. Type: fix Signed-off-by: Ondrej Fabry <ofabry@cisco.com> Change-Id: I7b1b22cc4a0e31f5c19fe48e7a0f30631576f9df
Diffstat (limited to 'src/vnet/devices/tap/tapv2.api')
-rw-r--r--src/vnet/devices/tap/tapv2.api4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/devices/tap/tapv2.api b/src/vnet/devices/tap/tapv2.api
index 0ee14511529..bf53d1bc6fe 100644
--- a/src/vnet/devices/tap/tapv2.api
+++ b/src/vnet/devices/tap/tapv2.api
@@ -144,6 +144,8 @@ autoendian define tap_create_v3_reply
*/
define tap_create_v2
{
+ option deprecated;
+
u32 client_index;
u32 context;
u32 id [default=0xffffffff];
@@ -181,6 +183,8 @@ define tap_create_v2
*/
define tap_create_v2_reply
{
+ option deprecated;
+
u32 context;
i32 retval;
vl_api_interface_index_t sw_if_index;