Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-13 Thread Ferruh Yigit
On 11/11/2020 9:31 AM, Ferruh Yigit wrote: On 11/11/2020 7:23 AM, Michael Pfeiffer wrote: Hi, On Tue, 2020-11-10 at 15:59 +, Ferruh Yigit wrote: On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-11 Thread Ferruh Yigit
On 11/11/2020 7:23 AM, Michael Pfeiffer wrote: Hi, On Tue, 2020-11-10 at 15:59 +, Ferruh Yigit wrote: On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for IPv6, where this prohibited [RFC 8200]). Ad

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Michael Pfeiffer
Hi, On Tue, 2020-11-10 at 15:59 +, Ferruh Yigit wrote: > On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: > > Unlike TCP, UDP checksums are optional and may be zero to indicate "not > > set" [RFC 768] (except for IPv6, where this prohibited [RFC 8200]). Add > > this special case to the checksum o

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Morten Brørup
> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Tuesday, November 10, 2020 6:43 PM > > On 11/10/2020 4:01 PM, Morten Brørup wrote: > >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > >> Sent: Tuesday, November 10, 2020 3:47 PM > >> > >> On 11/9/2020 2:22 PM, Micha

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Ferruh Yigit
On 11/10/2020 4:01 PM, Morten Brørup wrote: From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit Sent: Tuesday, November 10, 2020 3:47 PM On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Tuesday, November 10, 2020 3:47 PM > > On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: > > Unlike TCP, UDP checksums are optional and may be zero to indicate "not > > set" [RFC 768] (except for IPv6, where this prohibited [R

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Ferruh Yigit
On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for IPv6, where this prohibited [RFC 8200]). Add this special case to the checksum offload emulation in net/tap. Signed-off-by: Michael Pfeiffer --- dri

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Ferruh Yigit
On 11/10/2020 2:46 PM, Ferruh Yigit wrote: On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for IPv6, where this prohibited [RFC 8200]). Add this special case to the checksum offload emulation in net/tap.

Re: [dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-10 Thread Ferruh Yigit
On 11/9/2020 2:22 PM, Michael Pfeiffer wrote: Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for IPv6, where this prohibited [RFC 8200]). Add this special case to the checksum offload emulation in net/tap. Signed-off-by: Michael Pfeiffer --- dri

[dpdk-dev] [PATCH] net/tap: Allow all-zero checksum for UDP over IPv4

2020-11-09 Thread Michael Pfeiffer
Unlike TCP, UDP checksums are optional and may be zero to indicate "not set" [RFC 768] (except for IPv6, where this prohibited [RFC 8200]). Add this special case to the checksum offload emulation in net/tap. Signed-off-by: Michael Pfeiffer --- drivers/net/tap/rte_eth_tap.c | 13 +++-- 1