From 84f91fa9c54f82c54b58ea3bf6e9ba22ff735d3a Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Thu, 23 Apr 2020 17:59:49 +0200 Subject: gso: add support for IP-IP Type: feature Change-Id: I37752af8496e0042a1da91124f3d94216b39ff11 Signed-off-by: Mohsin Kazmi --- src/vnet/interface_output.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet/interface_output.h') diff --git a/src/vnet/interface_output.h b/src/vnet/interface_output.h index ef7aaa8999e..c408fca9ca9 100644 --- a/src/vnet/interface_output.h +++ b/src/vnet/interface_output.h @@ -92,7 +92,8 @@ vnet_calc_checksums_inline (vlib_main_t * vm, vlib_buffer_t * b, if (with_gso) { generic_header_offset_t gho = { 0 }; - vnet_generic_header_offset_parser (b, &gho); + vnet_generic_header_offset_parser (b, &gho, 1 /* l2 */ , is_ip4, + is_ip6); ASSERT (gho.gho_flags ^ (GHO_F_IP4 | GHO_F_IP6)); -- cgit 1.2.3-korg