Go to file
Olivier Matz 1224decaa4 ixgbe: support TCP segmentation offload
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 in the TCP
pseudo header checksum. A new function ixgbe_fix_tcp_phdr_cksum() is
used to fix the pseudo header checksum of the packet before giving it to
the hardware.

In the patch, the tx_desc_cksum_flags_to_olinfo() and
tx_desc_ol_flags_to_cmdtype() functions have been reworked to make them
clearer. This should not impact performance as gcc (version 4.8 in my
case) is smart enough to convert the tests into a code that does not
contain any branch instruction.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2014-11-26 19:35:56 +01:00
app mbuf: generic support for TCP segmentation offload 2014-11-26 19:35:56 +01:00
config config: support 128 cores 2014-11-25 14:06:40 +01:00
doc bond: support link status polling 2014-11-24 21:44:02 +01:00
examples mbuf: generic support for TCP segmentation offload 2014-11-26 19:35:56 +01:00
lib ixgbe: support TCP segmentation offload 2014-11-26 19:35:56 +01:00
mk af_packet: add PMD for AF_PACKET-based virtual devices 2014-11-24 16:39:49 +01:00
pkg version: 1.7.1 2014-09-03 13:28:26 +02:00
scripts scripts: fix filtering of config comments on bsd 2014-06-19 00:57:50 +02:00
tools tools: fix setup script for Fedora 21 2014-10-10 17:50:31 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00