interface: fix offload flag check 82/32482/9
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Thu, 27 May 2021 17:34:59 +0000 (19:34 +0200)
committerDamjan Marion <dmarion@me.com>
Sat, 16 Oct 2021 08:34:09 +0000 (08:34 +0000)
commit2e55823af6c1cc6856e4a1f2cea659170bd76fb7
treec0a45d5af21b8864462061a07dcaa4f3cd65b496
parent27c56681d81c814be15f69bd41f98ef7b3606564
interface: fix offload flag check

We should compute offloads in interface_ouput.c
in the case when any of the UDP, TCP or IP
offload flags is not present in the interface
capabilities.

e.g. if the interface supports IP cksum offload
but not tcp/udp we should still compute cksums
here.

Type: fix

Change-Id: Ibaa3a56dbc92938dca45311c38f079d040052194
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/vnet/interface_output.c