[dpdk-dev] [PATCH RFC 11/11] ixgbe/mbuf: add TSO support
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon May 12 16:30:02 CEST 2014
2014-05-09 16:50, Olivier Matz:
> Implement TSO (TCP segmentation offload) in ixgbe driver. To delegate
> the TCP segmentation to the hardware, the user has to:
>
> - set the PKT_TX_TCP_SEG flag in mbuf->ol_flags (this flag implies
> PKT_TX_IP_CKSUM and PKT_TX_TCP_CKSUM)
> - fill the mbuf->hw_offload information: l2_len, l3_len, l4_len, mss
> - calculate the pseudo header checksum and set it in the TCP header,
> as required when doing hardware TCP checksum offload
> - set the IP checksum to 0
>
> This approach seems generic enough to be used for other hw/drivers
> in the future.
Minor note: it would be nice to separate ixgbe support in another patch.
Thanks
--
Thomas
More information about the dev
mailing list