[dpdk-dev] [PATCH] Request for comments on ixgbe TSO support

Venkatesan, Venky venky.venkatesan at intel.com
Fri Oct 4 20:38:49 CEST 2013


Stephen, 

Agree on the checksum flag definition. I'm presuming that we should do this on the L3 and L4 checksums separately (that ol_flags field is another one that needs extension in the mbuf). 

Regards, 
-Venky


-----Original Message-----
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger
Sent: Friday, October 04, 2013 11:23 AM
To: jigsaw
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support

On Fri, 4 Oct 2013 20:54:31 +0300
jigsaw <jigsaw at gmail.com> wrote:

> Hi Stephen,
> 
> 
> >>This will work for local generated packets but overlapping existing field won't work well for forwarding.
> So adding a new mss field in mbuf could be the way out? or I 
> misunderstand something.
> 
> >> What we want to be able to do is to take offload (jumbo) packets in 
> >> with from virtio
> Sorry I don't understand why TSO is connected to virtio. Could you 
> give more details here?
> Are you suggesting this TSO patch overlaps your work, or it should be 
> based on your work?

I am working on a better virtio driver. Already have lots more features working, and doing better offload support is planned.

TSO is a subset of the more generic segment offload (GSO) on Linux.
With virtio is possible to receive GSO packets as well as send them.
This feature is negotiated between guest and host.

The idea is that between guests they can exchange jumbo (64K) packets even with a smaller MTU. This helps in many ways. One example is only a single route lookup is needed.

Another issue is that the current DPDK model of offload flags for checksum is problematic.
It matches what is available in Intel hardware and is not easily generalizable to other devices.

Current DPDK flag is checksum bad. I would like to change it to checksum known good. Then drivers which dont' do checksum would leave it 0, but if receive checksum is known good set it to 1.  Basically 1 means known good, and
0 means unknown (or bad).  Higher level software can then do sw checksum if necessary.


More information about the dev mailing list