From: Aloys Augustin Date: Thu, 15 Apr 2021 16:12:51 +0000 (+0200) Subject: ip: fix offload flags handling X-Git-Tag: v21.10-rc0~232 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=ac6c528fb22d427d7beacd73c247ffd97389dbfe;hp=ac6c528fb22d427d7beacd73c247ffd97389dbfe;p=vpp.git ip: fix offload flags handling The per-protocol offload flags only make sense if F_OFFLOAD is set on the vlib buffer main flags. vnet_calc_checksums_inline is called from many places which should do this check and don't, moving the check to this function is less error prone and shouldn't have an impact on performance since the function is always_inline. Type: fix Change-Id: I0297f109f31e409f07bfbaea3cd8b90c659658c4 Signed-off-by: Aloys Augustin ---