Skip to contentSkip to conversation

tcp offload with ip or tcp options

DISCUSSION James Harper 2 participants 3 messages May 12, 2011

lore
Share & tools
lore
#0 lore raw

Is TCP LSO and/or checksum offload supported when IP or TCP options are present in the packet? Or is that dependent on the underlying hardware (for which there is no way to indicate to DomU I think)

Thanks

James

#1 lore raw
Quoted 3 lines · James Harper

Is TCP LSO and/or checksum offload supported when IP or TCP options are present in the packet? Or is that dependent on the underlying hardware (for which there is no way to indicate to DomU I think)

I think it ought to work.

Until recently Linux netback might not have included enough bytes in the Linux part of an SKB to cover TCP/IP headers including options. That's fixed in xen/stable-2.6.32.x though via 0cbb2dd6d518 and it was fixed already in the version which went upstream in 2.6.39. I don't know how versions before that actually behave in practice though.

Ian.

#2 lore raw
Quoted 5 lines · James Harper
Quoted 3 lines

Is TCP LSO and/or checksum offload supported when IP or TCP options are present in the packet? Or is that dependent on the underlying hardware (for which there is no way to indicate to DomU I think)

Quoted 8 lines

I think it ought to work.

Until recently Linux netback might not have included enough bytes in the Linux part of an SKB to cover TCP/IP headers including options. That's fixed in xen/stable-2.6.32.x though via 0cbb2dd6d518 and it was fixed already in the version which went upstream in 2.6.39. I don't know how versions before that actually behave in practice though.

Thanks. I guess I'll find out shortly :)

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel