summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2023-04-26 23:59:55 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-06-27 14:47:50 +0000
commitfe965a3a17fd543cb5a7caf37b25729c1683865b (patch)
treed2529818db29ce0dcfa417bd9e6c4671ea9e934f
parent74d9f0ae3b653c409f6375b9417c8d7ccec48e0c (diff)
api: af_packet - Mark old message versions as deprecated
List of changed messages: - af_packet_create - af_packet_create_reply - af_packet_create_v2 - af_packet_create_v2_reply This change is part of VPP API cleanup initiative. Type: fix Signed-off-by: Ondrej Fabry <ofabry@cisco.com> Change-Id: Ia065c3bbc2c7923de64f47417099aea1aa1216b1
-rw-r--r--src/plugins/af_packet/af_packet.api8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/af_packet/af_packet.api b/src/plugins/af_packet/af_packet.api
index a12da37796a..abc7d1a7206 100644
--- a/src/plugins/af_packet/af_packet.api
+++ b/src/plugins/af_packet/af_packet.api
@@ -27,6 +27,8 @@ import "vnet/ethernet/ethernet_types.api";
*/
define af_packet_create
{
+ option deprecated;
+
u32 client_index;
u32 context;
@@ -41,6 +43,8 @@ define af_packet_create
*/
define af_packet_create_reply
{
+ option deprecated;
+
u32 context;
i32 retval;
vl_api_interface_index_t sw_if_index;
@@ -61,6 +65,8 @@ define af_packet_create_reply
*/
define af_packet_create_v2
{
+ option deprecated;
+
u32 client_index;
u32 context;
@@ -81,6 +87,8 @@ define af_packet_create_v2
*/
define af_packet_create_v2_reply
{
+ option deprecated;
+
u32 context;
i32 retval;
vl_api_interface_index_t sw_if_index;