diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2022-04-01 13:42:20 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-04-11 16:01:20 +0000 |
commit | f21710c6e240101f47d9de5557bbf46657710503 (patch) | |
tree | d2dfd2ec1a736af270fd8ea084a7a1358ac93374 /src | |
parent | 179711d869f53430a50b46ca046694ea1b728f53 (diff) |
interface: fix the offloads
Type: fix
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I9f3d1a8574b15f09a458baad98c815e087fd60b8
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/interface_output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c index 6d5697deac4..a19bbb867c3 100644 --- a/src/vnet/interface_output.c +++ b/src/vnet/interface_output.c @@ -170,6 +170,8 @@ vnet_interface_output_trace (vlib_main_t * vm, static_always_inline void vnet_interface_output_handle_offload (vlib_main_t *vm, vlib_buffer_t *b) { + if (b->flags & VNET_BUFFER_F_GSO) + return; vnet_calc_checksums_inline (vm, b, b->flags & VNET_BUFFER_F_IS_IP4, b->flags & VNET_BUFFER_F_IS_IP6); vnet_calc_outer_checksums_inline (vm, b); |