aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vmxnet3/output.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-08-29 12:47:57 -0700
committerDamjan Marion <dmarion@me.com>2019-08-30 13:19:20 +0000
commit2985e0af6b48c7a5b57e442ead21b3620686b052 (patch)
treecc6a89526fdce244d70ce976360d482fbab7abad /src/plugins/vmxnet3/output.c
parent90b34ed67a516c4391ad353ba431f8419b582d50 (diff)
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 <sluong@cisco.com> Change-Id: Ife962b52221191050dedd18252b859880ccd7599
Diffstat (limited to 'src/plugins/vmxnet3/output.c')
-rw-r--r--src/plugins/vmxnet3/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vmxnet3/output.c b/src/plugins/vmxnet3/output.c
index 5de41cdba07..81a1afb190c 100644
--- a/src/plugins/vmxnet3/output.c
+++ b/src/plugins/vmxnet3/output.c
@@ -191,7 +191,7 @@ VNET_DEVICE_CLASS_TX_FN (vmxnet3_device_class) (vlib_main_t * vm,
* We should not be getting GSO outbound traffic unless it is
* lro is enable
*/
- ASSERT (vd->lro_enable == 1);
+ ASSERT (vd->gso_enable == 1);
gso_size = vnet_buffer2 (b0)->gso_size;
hdr_len = vnet_buffer (b0)->l4_hdr_offset +
sizeof (ethernet_header_t);