Re: [dpdk-dev] question regarding rx checksum offload flags

2020-12-18 Thread Olivier Matz
Hi Lance, On Mon, Dec 14, 2020 at 12:41:34PM -0500, Lance Richardson wrote: > On Thu, Sep 17, 2020 at 10:05 AM Olivier Matz wrote: > > > > Hi Lance, > > > > On Mon, Aug 24, 2020 at 04:11:45PM -0400, Lance Richardson wrote: > > > I was looking for some clarification regarding how rx checksum > > >

Re: [dpdk-dev] question regarding rx checksum offload flags

2020-12-15 Thread Lance Richardson
On Mon, Dec 14, 2020 at 12:41 PM Lance Richardson wrote: > > On Thu, Sep 17, 2020 at 10:05 AM Olivier Matz wrote: > > > > Hi Lance, > > > > On Mon, Aug 24, 2020 at 04:11:45PM -0400, Lance Richardson wrote: > > > I was looking for some clarification regarding how rx checksum > > > flags should be

Re: [dpdk-dev] question regarding rx checksum offload flags

2020-12-14 Thread Lance Richardson
On Thu, Sep 17, 2020 at 10:05 AM Olivier Matz wrote: > > Hi Lance, > > On Mon, Aug 24, 2020 at 04:11:45PM -0400, Lance Richardson wrote: > > I was looking for some clarification regarding how rx checksum > > flags should be set for tunnel packets having both inner and outer > > IP/L4 headers. > >

Re: [dpdk-dev] question regarding rx checksum offload flags

2020-09-17 Thread Olivier Matz
Hi Lance, On Mon, Aug 24, 2020 at 04:11:45PM -0400, Lance Richardson wrote: > I was looking for some clarification regarding how rx checksum > flags should be set for tunnel packets having both inner and outer > IP/L4 headers. > > Based on comments in rte_mbuf_core.h, it seems to me. that the > i

Re: [dpdk-dev] question regarding rx checksum offload flags

2020-08-26 Thread Lance Richardson
On Tue, Aug 25, 2020 at 10:39 AM Lance Richardson wrote: > > On Mon, Aug 24, 2020 at 4:11 PM Lance Richardson > wrote: > > > The IP header checksum status for the outer IP header should determine > > whether this flag is set in ol_flags: > > PKT_RX_EIP_CKSUM_BAD > > A simpler question might

Re: [dpdk-dev] question regarding rx checksum offload flags

2020-08-25 Thread Lance Richardson
On Mon, Aug 24, 2020 at 4:11 PM Lance Richardson wrote: > The IP header checksum status for the outer IP header should determine > whether this flag is set in ol_flags: > PKT_RX_EIP_CKSUM_BAD A simpler question might be simply "how is PKT_RX_EIP_CKSUM_BAD" intended to be used? It seems to be

[dpdk-dev] question regarding rx checksum offload flags

2020-08-24 Thread Lance Richardson
I was looking for some clarification regarding how rx checksum flags should be set for tunnel packets having both inner and outer IP/L4 headers. Based on comments in rte_mbuf_core.h, it seems to me. that the inner (encapsulated) IP header checksum status should determine which of these goes into o