gso: remove the ip checksum flag in case of ipv6

Type: fix
Ticket: VPP-1727

Change-Id: Icfee35c5ab5e1c65079d1ca7bb514162319113e5
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
(cherry picked from commit 7dfcf7f1f504f5e8283c54a428805cc3a4aa8da9)
This commit is contained in:
Mohsin Kazmi 2019-08-14 16:23:17 +02:00 committed by Andrew Yourtchenko
parent 4222fb1835
commit 62e4d84220
2 changed files with 0 additions and 2 deletions

View File

@ -176,7 +176,6 @@ fill_gso_buffer_flags (vlib_buffer_t * b0, struct virtio_net_hdr_v1 *hdr)
(VNET_BUFFER_F_IS_IP6 | VNET_BUFFER_F_L2_HDR_OFFSET_VALID
| VNET_BUFFER_F_L3_HDR_OFFSET_VALID |
VNET_BUFFER_F_L4_HDR_OFFSET_VALID);
b0->flags |= VNET_BUFFER_F_OFFLOAD_IP_CKSUM;
}
if (l4_proto == IP_PROTOCOL_TCP)
{

View File

@ -1564,7 +1564,6 @@ fill_gso_buffer_flags (vlib_main_t * vm, u32 * buffers, u32 n_buffers,
(VNET_BUFFER_F_IS_IP6 | VNET_BUFFER_F_L2_HDR_OFFSET_VALID
| VNET_BUFFER_F_L3_HDR_OFFSET_VALID |
VNET_BUFFER_F_L4_HDR_OFFSET_VALID);
b0->flags |= VNET_BUFFER_F_OFFLOAD_IP_CKSUM;
}
if (l4_proto == IP_PROTOCOL_TCP)
{