public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] batman-adv: is it possible to increase mtu size for batman-adv interfaces?
Date: Tue, 20 Jun 2017 08:33:33 +0200	[thread overview]
Message-ID: <4541231.cHCCYZPiDH@bentobox> (raw)
In-Reply-To: <OF851B1547.E69BF39C-ONC1258145.001F7A29-C1258145.001FFF17@phoenixcontact.com>

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

On Dienstag, 20. Juni 2017 07:49:28 CEST Andreas Pape wrote:
> Hi,
> 
> currently the mtu size of batman-adv soft-interfaces is limited to
> ETH_DATA_LEN (1500 bytes) in function batadv_hardif_min_mtu as far as I
> understand.
> 
> A comment in this function states that batman-adv "does not support MTUs
> bigger than ETH_DATA_LEN". Is there a specific reason for this or would it
> be possible to increase the MTU size to something like 1518 by simply
> replacing all limitations to ETH_DATA_LEN with a higher value?

There is no protocol specific reason why it is limited to 1500 bytes. But I 
think there is more needed than just changing all appearances of ETH_DATA_LEN. 
For example, at the moment we don't use more than 1500 and thus we didn't had 
to overwrite some of the special netdev variables for the maximum mtu. Maybe 
someone remebers the patches which wanted to touch this part of batman-adv but 
which were then dropped because batman-adv was only using an MTU of 1500 or 
less. Here is the revert of the change which tried that: https://
patchwork.kernel.org/patch/9390379/

There is most likely a lot more which will cause some kind of problem.

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2017-06-20  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20  5:49 [B.A.T.M.A.N.] batman-adv: is it possible to increase mtu size for batman-adv interfaces? Andreas Pape
2017-06-20  6:33 ` Sven Eckelmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4541231.cHCCYZPiDH@bentobox \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox