b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman-adv: is it possible to increase mtu size for batman-adv interfaces?
@ 2017-06-20  5:49 Andreas Pape
  2017-06-20  6:33 ` Sven Eckelmann
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Pape @ 2017-06-20  5:49 UTC (permalink / raw)
  To: b.a.t.m.a.n

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?

Kind regards,
Andreas



..................................................................
PHOENIX CONTACT ELECTRONICS GmbH

Sitz der Gesellschaft / registered office of the company: 31812 Bad Pyrmont
USt-Id-Nr.: DE811742156
Amtsgericht Hannover HRB 100528 / district court Hannover HRB 100528
Geschäftsführer / Executive Board: Ulrich Leidecker, Christoph Leifer
__________________________________________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren, jegliche anderweitige Verwendung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
----------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden.
___________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv: is it possible to increase mtu size for batman-adv interfaces?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Eckelmann @ 2017-06-20  6:33 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-20  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).