Re: dhcp-based netboot over jumbo-frame network?

From: Rick Jones
Date: Wed Apr 08 2009 - 15:16:10 EST


Chris Friesen wrote:

Hi all,

We have an existing system that loads a bare kernel using tftp, then mounts a rootfs via NFS. The wrinkle is that this is on a jumbo-frame enabled network, so somehow the MTU needs to be set before mounting the rootfs.

Why? Is the NFS mount not TCP? If it is TCP, then the TCP MSS exchange will provide you cover as it will (should) cause TCP in the NFS server to segment to the MSS option your system with the then-smaller MTU sends.

I would think that only if the NFS mount is UDP that you would have a problem with the system initially booting with a small MTU.

In a previous version we patched ipconfig.c to support the DHCP option to specify the MTU value, but I'm wondering about the "proper" way to do this on current kernels.

Was the change submitted to upstream and rejected?

rick jones
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/