gso: packet coalesce library
[vpp.git] / src / vnet / pg / pg.api
index 86343d5..3a44f1d 100644 (file)
@@ -49,6 +49,21 @@ define pg_create_interface_reply
   vl_api_interface_index_t sw_if_index;
 };
 
+/** \brief PacketGenerator interface enable/disable packet coalesce
+    @param client_index - opaque cookie to identify the sender
+    @param context - sender context, to match reply w/ request
+    @param interface_id - interface index
+    @param coalesce_enabled - enable/disable packet coalesce on this interface
+*/
+autoreply define pg_interface_enable_disable_coalesce
+{
+  u32 client_index;
+  u32 context;
+  vl_api_interface_index_t sw_if_index;
+  bool coalesce_enabled;
+  option status="in_progress";
+};
+
 /** \brief PacketGenerator capture packets on given interface request
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request