[dpdk-dev] [PATCH v2 11/13] ixgbe: support TCP segmentation offload

2014-11-18 Thread Olivier MATZ
Hi Konstantin, On 11/17/2014 07:26 PM, Ananyev, Konstantin wrote: > Just one thing - double semicolon - looks like a typo: >> +/* check if TCP segmentation required for this packet */ >> +if (ol_flags & PKT_TX_TCP_SEG) { >> +/* implies IP cksum and TCP cksum */ >> +

[dpdk-dev] [PATCH v2 11/13] ixgbe: support TCP segmentation offload

2014-11-17 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz > Sent: Friday, November 14, 2014 5:03 PM > To: dev at dpdk.org > Cc: jigsaw at gmail.com > Subject: [dpdk-dev] [PATCH v2 11/13] ixgbe: support TCP segmentation offload >

[dpdk-dev] [PATCH v2 11/13] ixgbe: support TCP segmentation offload

2014-11-14 Thread Olivier Matz
Implement TSO (TCP segmentation offload) in ixgbe driver. The driver is now able to use PKT_TX_TCP_SEG mbuf flag and mbuf hardware offload infos (l2_len, l3_len, l4_len, tso_segsz) to configure the hardware support of TCP segmentation. In ixgbe, when doing TSO, the IP length must not be included i