[lkml]   [2008]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: time for TCP ECN defaulting to on?
David Miller wrote:

> From: "Michael Chan" <>
> Date: Tue, 04 Nov 2008 17:16:03 -0800
> > I think this is no longer a limitation. The GSO code will take care
> > of ECN properly if the hardware does not support it when doing TSO.
> Hmm, good point, but if that is what happens I don't know if I agree
> with it.
> If "take care of ECN" means doing TSO in software, that's in my
> opinion the wrong thing to do.
Right, it means TSO will be done in software by the GSO code if
ECE or CWR is set in a TSO frame and the driver indicates that
the hardware cannot segment such packets properly.

This allows TSO and ECN to coexist. Before this, ECN was always
disabled when TSO was enabled.

Assuming ECE and CWR are set infrequently on TSO frames, we still
benefit from hardware TSO most of the time. Why is it the wrong
thing to do?

 \ /
  Last update: 2008-11-05 07:35    [W:0.070 / U:5.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site