api: af_packet - Mark old message versions as deprecated 43/38643/3
authorOndrej Fabry <ofabry@cisco.com>
Wed, 26 Apr 2023 21:59:55 +0000 (23:59 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 27 Jun 2023 14:47:50 +0000 (14:47 +0000)
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

src/plugins/af_packet/af_packet.api

index a12da37..abc7d1a 100644 (file)
@@ -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;