All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: jens@viisauksena.de
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] limit of if per batman
Date: Sat, 03 Feb 2018 08:41:24 +0100	[thread overview]
Message-ID: <1871109.rBcZyFIX0N@sven-edge> (raw)
In-Reply-To: <2280205.kRTqscCMRg@bentobox>

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

On Dienstag, 23. Januar 2018 13:33:01 CET Sven Eckelmann wrote:
> On Dienstag, 26. Dezember 2017 15:19:41 CET Sven Eckelmann wrote:
> > On Mittwoch, 25. Januar 2017 08:15:52 CET Sven Eckelmann wrote:
> > [...]
> > > > this made me curious , and i modified your script a bit - turns out
> > > > after the 127. IF you add to batman-adv you get an Error -
> > > > all 510 gretap links was succesfully build ...
> > > > # ifconfig |grep gre| wc -l
> > > > 515
> > > > # batctl if|sort|wc -l
> > > > 127
> > > > the error is mainly
> > > > *Error - can't write to file
> > > > '/sys/class/net/gre128/batman_adv/mesh_iface': Cannot allocate memory
> > > [...]
> > [...]
> > > I would guess that your system mostly fails becauseit  cannot handle the
> > > allocation of the "large" arrays which store:
> > [...]
> > 
> > Looks like their could also be a different problem when your test system uses 
> > signed characters by default. Please try the patch [1] which changes the type 
> > from char/s16 to unsigned int.
> [...]
> > [1] https://patchwork.open-mesh.org/patch/17247/
> 
> Were you able to run some tests?

Would be good to have this tested because we already missed the Linux 4.15 
release.

Kind regards,
	Sven


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

      reply	other threads:[~2018-02-03  7:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 17:26 [B.A.T.M.A.N.] limit of if per batman jens
2017-01-24 13:39 ` Sven Eckelmann
2017-01-25  2:21   ` jens
2017-01-25  3:02     ` Andrew Lunn
     [not found]   ` <ba5c036e-e34b-2b43-4df2-bc1c8883eedd@viisauksena.de>
2017-01-25  7:15     ` Sven Eckelmann
2017-12-26 14:19       ` Sven Eckelmann
2018-01-23 12:33         ` Sven Eckelmann
2018-02-03  7:41           ` 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=1871109.rBcZyFIX0N@sven-edge \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=jens@viisauksena.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.