tcp mss MCLBYTES restriction

Andrew Gallatin gallatin at cs.duke.edu
Tue Jan 20 12:53:02 PST 2004


Andre Oppermann writes:
 > When I was implementing the tcp_hostcache I reorganized/redid the
 > tcp_mss() function and wondered about that too.  I don't know if
 > this rounding to MCLBYTES is still the right thing to do.

I have the feeling its something from ancient days on vaxes. ;)

 > > Would it be OK if I made this code optional via a sysctl?
 > 
 > Could you run some bechmarks with the current MCLBYTES rounding
 > and without it on 100Mbit 1.5kMTU and GigE with 9k MTU?

1.5k MTU won't matter -- it doesn't hit the rounding case anyway.
But I can certainly run some tests with 9k.

Drew





More information about the freebsd-net mailing list