tcp: custom checksum calculations for Ipv4/Ipv6 94/22494/8
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 15:46:18 +0000 (15:46 +0000)
commit3642782a2748503f5b5ccf89d1575c1d489948ef
tree6305f4017d34ef73873d600f8aa0ec083c2bf755
parent43b36af1fca4298d6c40f139aaf2462dd4747957
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
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