tcp: custom checksum calculations for Ipv4/Ipv6 54/22654/1
authorSrikanth A <srakula@cisco.com>
Thu, 3 Oct 2019 00:48:58 +0000 (17:48 -0700)
committerJohn Lo <loj@cisco.com>
Thu, 10 Oct 2019 16:37:40 +0000 (16:37 +0000)
commit02833ff3294f4abbd8e3d52b38446e0f8f533ffc
treee2e9de14d3939938e502347723006f7bb374a02d
parent8a047ed741072bdb8d93b0841473eae06ae3c9d0
tcp: custom checksum calculations for Ipv4/Ipv6

Type: feature

Based on the configuration, we can disable checksum offload capability
and calculate checksum while pushing the TCP & IP header.
This saves some cycles when VPP stack is used in legacy hardware devices.

Signed-off-by: Srikanth A <srakula@cisco.com>
Change-Id: Ic1b3fcf3040917e47ee65263694ebf7437ac5668
(cherry picked from commit 3642782a2748503f5b5ccf89d1575c1d489948ef)
src/vnet/ip/ip.h
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6.h
src/vnet/ip/ip6_forward.c
src/vnet/tcp/tcp.h
src/vnet/tcp/tcp_output.c