ip: add support for buffer offload metadata in ip midchain 95/32695/31
authorArthur de Kerhor <arthurdekerhor@gmail.com>
Wed, 22 Sep 2021 12:53:24 +0000 (14:53 +0200)
committerBeno�t Ganne <bganne@cisco.com>
Thu, 21 Mar 2024 14:38:49 +0000 (14:38 +0000)
commit2f4586d9b3507243918c11ce99b9d151d5bde7a0
tree8fa05cae8630a0a142fc6218e4d4f5473bdde16e
parentb8cb22318cd5a3135b8a0eb121a4eff4da254f54
ip: add support for buffer offload metadata in ip midchain

The offload should be handled by gso node or by the NIC
if the latter has the relevant capabilities. But ip midchain
is missing the support for buffer offload metadata in case
of GSO packet.

This patch adds the relevant support to add the buffer metadata
if the packet is GSO/IPIP to be handled accordingly.

Type: improvement

Change-Id: I17f5d71bf4c5f43a85ca3f2fbebfa1426b42ef69
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/adj/adj_dp.h
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6_forward.c
src/vnet/ipip/ipip.c
src/vnet/ipsec/esp_encrypt.c
test/test_gso.py