From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: layer2 unicast packet fragmentation
Date: Wed, 7 Jul 2010 12:40:27 +0200 [thread overview]
Message-ID: <201007071240.27837.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1278431960-4636-2-git-send-email-an.langer@gmx.de>
On Tuesday, July 06, 2010 17:59:20 Andreas Langer wrote:
> + if (atomic_read(&bat_priv->frag_enabled) && batman_if->net_dev->mtu
> < + ETH_DATA_LEN + BAT_HEADER_LEN)
> + bat_info(soft_device,
> + "The MTU of interface %s is too small (%zi) to handle "
> + "the transport of batman-adv packets. Packets going "
> + "over this interface will be fragmented on layer2 "
> + "which could impact the performance. Setting the MTU "
> + "to %zi would solve the problem.\n",
> + batman_if->dev, ETH_DATA_LEN + BAT_HEADER_LEN,
> + ETH_DATA_LEN + BAT_HEADER_LEN);
The required MTU gets printed twice here. I guess you wanted to print this:
batman_if->dev, batman_if->net_dev->mtu,
ETH_DATA_LEN + BAT_HEADER_LEN
> + if (!atomic_read(&bat_priv->frag_enabled) &&
> batman_if->net_dev->mtu < + ETH_DATA_LEN + BAT_HEADER_LEN)
> + bat_info(soft_device,
> + "The MTU of interface %s is too small (%zi) to handle "
> + "the transport of batman-adv packets. If you experience"
> + " problems getting traffic through try increasing the "
> + "MTU to %zi.\n",
> + batman_if->dev, ETH_DATA_LEN + BAT_HEADER_LEN,
> + ETH_DATA_LEN + BAT_HEADER_LEN);
Here we have the same issue.
Regards,
Marek
next prev parent reply other threads:[~2010-07-07 10:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 15:58 [B.A.T.M.A.N.] batman adv unicast fragmentation (version 4) Andreas Langer
2010-07-06 15:59 ` [B.A.T.M.A.N.] [PATCH 1/2] batctl: layer2 unicast packet fragmentation Andreas Langer
2010-07-06 15:59 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: " Andreas Langer
2010-07-06 17:07 ` Andrew Lunn
2010-07-06 18:06 ` Andreas Langer
2010-07-06 17:39 ` Antonio Quartulli
2010-07-06 18:17 ` Andreas Langer
2010-07-06 18:57 ` Andrew Lunn
2010-07-06 19:13 ` Sven Eckelmann
2010-07-06 19:50 ` Marek Lindner
2010-07-07 10:40 ` Marek Lindner [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-07-07 17:30 [B.A.T.M.A.N.] batman adv unicast fragmentation (version 5) Andreas Langer
2010-07-07 17:32 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: layer2 unicast packet fragmentation Andreas Langer
2010-07-09 14:51 ` Sven Eckelmann
2010-07-05 21:42 [B.A.T.M.A.N.] batman adv unicast fragmentation (version 3) Andreas Langer
2010-07-05 21:44 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: layer2 unicast packet fragmentation Andreas Langer
2010-06-30 18:58 [B.A.T.M.A.N.] batman adv unicast fragmentation Andreas Langer
2010-06-30 19:00 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: layer2 unicast packet fragmentation Andreas Langer
2010-07-05 0:37 ` Sven Eckelmann
2010-07-05 12:53 ` Sven Eckelmann
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=201007071240.27837.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--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