| To: | linux-net@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | help in using eth_change_mtu |
| From: | Harsh <hanemade@xxxxxxxxx> |
| Date: | Mon, 24 Jan 2005 14:29:27 +0530 |
| Cc: | netdev@xxxxxxxxxxx |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding; b=tM7B/qNRfmxGj/tlKCz24NSsjBPF9uGXy4ruVb6+/+RrCR927HqqD3Smm8b/ANAOG6VAoFwMI5xtXAPH7PSBiXeUCSifYgE7a2HrYyxSD8RS/jy73UnTR5JSrMteqbUfycv1SjFuCiP4VI/YskYss+mXqIAuyJ7P5JU6/vJFGYA= |
| Reply-to: | Harsh <hanemade@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello,
If some extra information is required to be sent with each
packet then does that require to change Ethernet MTU 1500 to
1500-(Bytes in extra info) or its ok with 1500 value of MTU? While
checking source code of net_init.c in drivers/net dir i found one
function eth_change_mtu. I want to know does that helps? why its given
there in source code?
regards,
Harsh.
static int eth_change_mtu(struct net_device *dev, int new_mtu)
{
if ((new_mtu < 68) || (new_mtu > 1500))
return -EINVAL;
dev->mtu = new_mtu;
return 0;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: skb_checksum_help, Patrick McHardy |
|---|---|
| Next by Date: | Re: Memory leak in 2.6.11-rc1?, Russell King |
| Previous by Thread: | Re: skb_checksum_help, Thomas Graf |
| Next by Thread: | Re: help in using eth_change_mtu, Neema |
| Indexes: | [Date] [Thread] [Top] [All Lists] |