On 6/24/2019 12:35 PM, Ananyev, Konstantin wrote: > > >> -----Original Message----- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Malov >> Sent: Friday, May 24, 2019 3:57 PM >> To: Olivier Matz <olivier.m...@6wind.com> >> Cc: dev@dpdk.org; Kulasek, TomaszX <tomaszx.kula...@intel.com>; >> sta...@dpdk.org >> Subject: [dpdk-dev] [PATCH] net: fix encapsulation markers for inner L3 >> offset >> >> The API to prepare checksum offloads employs outer >> IP checksum flag to tell regular IPv4 packets from >> tunnel packets with outer IPv4 encapsulation. This >> flag cannot serve as a marker for the said purpose >> because a packet can have outer IPv4 encapsulation >> and may not have outer IP checksum offload request. >> >> Fix the API by changing the said criterion to test >> outer IPv4 flag rather than outer IP checksum flag. >> Use simpler spelling of the conditional expression. >> >> Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") >> Cc: Tomasz Kulasek <tomaszx.kula...@intel.com> >> Cc: sta...@dpdk.org >> >> Signed-off-by: Ivan Malov <ivan.ma...@oktetlabs.ru> >> Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>
Applied to dpdk-next-net/master, thanks.