From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <a@unstable.cc>
Subject: Re: [B.A.T.M.A.N.] [PATCH v6 1/4] batman-adv: make the GW selection class algorithm specific
Date: Tue, 05 Jul 2016 15:54:16 +0800 [thread overview]
Message-ID: <8896655.T0Eh5ejtFM@voltaire> (raw)
In-Reply-To: <1467542795-29647-2-git-send-email-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
On Sunday, July 03, 2016 12:46:32 Sven Eckelmann wrote:
> From: Antonio Quartulli <a@unstable.cc>
>
> The B.A.T.M.A.N. V algorithm uses a different metric compared to its
> predecessor and for this reason the logic used to compute the best
> Gateway is also changed. This means that the GW selection class
> fed to this logic has a semantics that depends on the algorithm being
> used.
>
> Make the parsing and printing routine of the GW selection class
> routing algorithm specific. Each algorithm can now parse (and print)
> this value independently.
>
> If no API is provided by any algorithm, the default is to use the
> current mechanism of considering such value like an integer between
> 1 and 255.
>
> Signed-off-by: Antonio Quartulli <a@unstable.cc>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> v6:
> - added "(optional)" to the kerneldoc of store_sel_class and
> show_sel_class
> ---
> net/batman-adv/bat_v.c | 34 ++++++++++++++++++++++++++++++++++
> net/batman-adv/sysfs.c | 34 ++++++++++++++++++++++++++++++++--
> net/batman-adv/types.h | 13 +++++++++++++
> 3 files changed, 79 insertions(+), 2 deletions(-)
Applied in revision 707355a.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-07-05 7:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-03 10:46 [B.A.T.M.A.N.] [PATCH v6 0/4] GW code: make it algorithm-agnostic and add B.A.T.M.A.N. V support Sven Eckelmann
2016-07-03 10:46 ` [B.A.T.M.A.N.] [PATCH v6 1/4] batman-adv: make the GW selection class algorithm specific Sven Eckelmann
2016-07-05 7:54 ` Marek Lindner [this message]
2016-07-03 10:46 ` [B.A.T.M.A.N.] [PATCH v6 2/4] batman-adv: make GW election code protocol specific Sven Eckelmann
2016-07-05 7:54 ` Marek Lindner
2016-07-03 10:46 ` [B.A.T.M.A.N.] [PATCH v6 3/4] batman-adv: B.A.T.M.A.N. V - implement GW selection logic Sven Eckelmann
2016-07-05 7:55 ` Marek Lindner
2016-07-03 10:46 ` [B.A.T.M.A.N.] [PATCH v6 4/4] batman-adv: disable sysfs knobs when GW-mode is not implemented Sven Eckelmann
2016-07-05 7:56 ` Marek Lindner
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=8896655.T0Eh5ejtFM@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=a@unstable.cc \
--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