aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/pg/pg.api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-07-23 11:54:48 +0200
committerNeale Ranns <nranns@cisco.com>2019-07-28 14:20:06 +0000
commit22e9cfd760be613f33a4135e9247729b64619cc6 (patch)
tree81c6c66f0729202b71fa9b7748b405f4489f3f5a /src/vnet/pg/pg.api
parentbe83704c5b1482dfd2ba38423662a9da5a8d8f81 (diff)
pg: add GSO support
Type: feature Change-Id: I72676495a85fbecc946aa266a75234cce70c3a5e Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/pg/pg.api')
-rw-r--r--src/vnet/pg/pg.api6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vnet/pg/pg.api b/src/vnet/pg/pg.api
index 8f986cbc5ed..6a421e45d7d 100644
--- a/src/vnet/pg/pg.api
+++ b/src/vnet/pg/pg.api
@@ -18,18 +18,22 @@
This file defines packet-generator interface APIs.
*/
-option version = "1.0.0";
+option version = "1.1.0";
/** \brief PacketGenerator create interface request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param interface_id - interface index
+ @param enable_gso - enable gso on this interface
+ @param gso_size - gso size on this interface
*/
define pg_create_interface
{
u32 client_index;
u32 context;
u32 interface_id;
+ u8 gso_enabled;
+ u32 gso_size;
};
/** \brief PacketGenerator create interface response