From 2985e0af6b48c7a5b57e442ead21b3620686b052 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Thu, 29 Aug 2019 12:47:57 -0700 Subject: vmxnet3: per interface gso support gso option for vmxnet3 is per VPP process currently. There is no reason why we cannot provide per interface gso support. Type: feature Signed-off-by: Steven Luong Change-Id: Ife962b52221191050dedd18252b859880ccd7599 --- src/plugins/vmxnet3/vmxnet3_api.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/vmxnet3/vmxnet3_api.c') diff --git a/src/plugins/vmxnet3/vmxnet3_api.c b/src/plugins/vmxnet3/vmxnet3_api.c index 731a5d0b25f..c7f60ee723f 100644 --- a/src/plugins/vmxnet3/vmxnet3_api.c +++ b/src/plugins/vmxnet3/vmxnet3_api.c @@ -78,6 +78,7 @@ vl_api_vmxnet3_create_t_handler (vl_api_vmxnet3_create_t * mp) args.txq_num = ntohs (mp->txq_num); args.rxq_num = ntohs (mp->rxq_num); args.bind = mp->bind; + args.enable_gso = mp->enable_gso; vmxnet3_create_if (vm, &args); rv = args.rv; @@ -102,6 +103,8 @@ vl_api_vmxnet3_create_t_print (vl_api_vmxnet3_create_t * mp, void *handle) s = format (s, "elog "); if (mp->bind) s = format (s, "bind "); + if (mp->enable_gso) + s = format (s, "gso "); if (mp->rxq_size) s = format (s, "rx-queue-size %u ", ntohs (mp->rxq_size)); if (mp->txq_size) -- cgit 1.2.3-korg