Re: [ovs-dev] [PATCH v1] odp-util: calc checksum of ip hdr for tunnel encap

2019-09-25 Thread Ben Pfaff
On Tue, Sep 24, 2019 at 08:38:53AM +0800, martinbj2...@gmail.com wrote: > From: Martin Zhang > > When parse tnl_push, if IPv4 is used, > we forget to fill the ipv4 checksum fields. > > In the patch: > csum has been used as a variable, > so we neeed rename it to udp_csum. > > Signed-off-by: Mart

[ovs-dev] [PATCH v1] odp-util: calc checksum of ip hdr for tunnel encap

2019-09-24 Thread martinbj2008
From: Martin Zhang When parse tnl_push, if IPv4 is used, we forget to fill the ipv4 checksum fields. In the patch: csum has been used as a variable, so we neeed rename it to udp_csum. Signed-off-by: Martin Zhang Signed-off-by: Dujie --- lib/odp-util.c | 9 ++--- 1 file changed, 6 inserti