X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Fvirtio%2Fvirtio.api;h=34f00fad22cd64585705d8a5a6dd745e1747ee8f;hb=53f06a0148cd7ece2d48a3396e3e63f248d066e9;hp=b191810d71b45b00ccac64035d3d7057a12bd39b;hpb=2c504f89c662629be5548d26d65e09e35726927e;p=vpp.git diff --git a/src/vnet/devices/virtio/virtio.api b/src/vnet/devices/virtio/virtio.api index b191810d71b..34f00fad22c 100644 --- a/src/vnet/devices/virtio/virtio.api +++ b/src/vnet/devices/virtio/virtio.api @@ -17,7 +17,7 @@ option version = "2.0.0"; import "vnet/interface_types.api"; import "vnet/ethernet/ethernet_types.api"; -import "vnet/pci/pci_types.api"; +import "vlib/pci/pci_types.api"; /** \brief Initialize a new virtio pci interface with the given parameters @@ -27,6 +27,7 @@ import "vnet/pci/pci_types.api"; @param use_random_mac - let the system generate a unique mac address @param mac_address - mac addr to assign to the interface if use_random not set @param gso_enabled - enable gso feature if available, 1 to enable + @param checksum_offload_enabled - enable checksum feature if available, 1 to enable @param features - the virtio features which driver should negotiate with device */ define virtio_pci_create @@ -37,6 +38,7 @@ define virtio_pci_create bool use_random_mac; vl_api_mac_address_t mac_address; bool gso_enabled; + bool checksum_offload_enabled; u64 features; };