diff options
author | Steven Luong <sluong@cisco.com> | 2019-05-06 08:51:56 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-07-31 16:33:15 +0000 |
commit | 4208a4ce8d72d3fb6428527cde1fba7b397bd6f7 (patch) | |
tree | 3a04e358925ab7215c7d358fbf62b6c1eb33b25f /src/vpp/api | |
parent | 83832e7ced8be8b7de394415feaba70c32e3c38d (diff) |
devices interface tests: vhosst GSO support
Add gso option in create vhost interface to support gso and checksum
offload.
Tested with the following startup options in qemu:
csum=on,gso=on,guest_csum=on,guest_tso4=on,guest_tso6=on,guest_ufo=on,
host_tso4=on,host_tso6=on,host_ufo=on
Type: feature
Change-Id: I9ba1ee33677a694c4a0dfe66e745b098995902b8
Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/vpp/api')
-rw-r--r-- | src/vpp/api/custom_dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index e53d46259dc..c75837209d5 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1920,6 +1920,8 @@ static void *vl_api_create_vhost_user_if_t_print s = format (s, "disable_indirect_desc "); if (mp->tag[0]) s = format (s, "tag %s", mp->tag); + if (mp->enable_gso) + s = format (s, "gso"); FINISH; } @@ -1937,6 +1939,8 @@ static void *vl_api_modify_vhost_user_if_t_print s = format (s, "server "); if (mp->renumber) s = format (s, "renumber %d ", ntohl (mp->custom_dev_instance)); + if (mp->enable_gso) + s = format (s, "gso"); FINISH; } |