From 22e9cfd760be613f33a4135e9247729b64619cc6 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Tue, 23 Jul 2019 11:54:48 +0200 Subject: pg: add GSO support Type: feature Change-Id: I72676495a85fbecc946aa266a75234cce70c3a5e Signed-off-by: Mohsin Kazmi --- src/vnet/pg/pg.api | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/vnet/pg/pg.api') 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 -- cgit 1.2.3-korg