Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles

2017-06-22 Thread Dave Barach (dbarach)
intel.com] Sent: Thursday, June 22, 2017 2:56 PM To: Dave Barach (dbarach) ; vpp-dev Subject: Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles I have to admit that I did not know about this API until I saw your email and had a chat with some folks about it. >From my understan

Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles

2017-06-22 Thread Sergio Gonzalez Monroy
nzalez Monroy [mailto:sergio.gonzalez.mon...@intel.com] *Sent:* Thursday, June 22, 2017 1:08 PM *To:* Dave Barach (dbarach) ; vpp-dev *Subject:* Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles On 22/06/2017 16:11, Dave Barach (dbarach) wrote: Folks, I’m having a hard time trying to convince an In

Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles

2017-06-22 Thread Dave Barach (dbarach)
nzalez Monroy [mailto:sergio.gonzalez.mon...@intel.com] Sent: Thursday, June 22, 2017 1:08 PM To: Dave Barach (dbarach) ; vpp-dev Subject: Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles On 22/06/2017 16:11, Dave Barach (dbarach) wrote: Folks, I'm having a hard time trying to

Re: [vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles

2017-06-22 Thread Sergio Gonzalez Monroy
On 22/06/2017 16:11, Dave Barach (dbarach) wrote: Folks, I’m having a hard time trying to convince an Intel Fortville (i40e) PMD / NIC to compute and insert TCP correct TCP checksums. In addition to the typical struct rte_mbuf setup, I add the following: if (b->flags & VLIB_BUFFER_TCP_CHE

[vpp-dev] Fortville DPDK PMD: TCP checksum offload hassles

2017-06-22 Thread Dave Barach (dbarach)
Folks, I'm having a hard time trying to convince an Intel Fortville (i40e) PMD / NIC to compute and insert TCP correct TCP checksums. In addition to the typical struct rte_mbuf setup, I add the following: if (b->flags & VLIB_BUFFER_TCP_CHECKSUM_OFFLOAD) { mb->packet_type =