summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio.api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-05-02 13:54:59 +0200
committerDamjan Marion <dmarion@me.com>2019-05-27 11:40:38 +0000
commitbbd6b746e09cc4ae4239173081d95349e0263759 (patch)
treeb49f623111f0bb5680a25ee1560c2a9c6a1b73d5 /src/vnet/devices/virtio/virtio.api
parent423fbb1deaed9db9eb662d4b7407fb7274cb8e90 (diff)
virtio: Add gso support for native virtio driver
Change-Id: I7b735f5a540e8c278bac88245acb3f8c041c49c0 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/virtio.api')
-rw-r--r--src/vnet/devices/virtio/virtio.api4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/virtio.api b/src/vnet/devices/virtio/virtio.api
index 3a40fa9a952..9e81b35c175 100644
--- a/src/vnet/devices/virtio/virtio.api
+++ b/src/vnet/devices/virtio/virtio.api
@@ -22,8 +22,7 @@ option version = "1.0.0";
0-15 domain, 16-23 bus, 24-28 slot, 29-31 function
@param use_random_mac - let the system generate a unique mac address
@param mac_address - mac addr to assign to the interface if use_radom not set
- @param tx_ring_sz - the number of entries of TX ring
- @param rx_ring_sz - the number of entries of RX ring
+ @param gso_enabled - enable gso feature if available, 1 to enable
@param features - the virtio features which driver should negotiate with device
*/
define virtio_pci_create
@@ -33,6 +32,7 @@ define virtio_pci_create
u32 pci_addr;
u8 use_random_mac;
u8 mac_address[6];
+ u8 gso_enabled;
u64 features;
};