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.] [PATCH v2 5/6] batman-adv: restructure rebroadcast counter into forw_packet API
Date: Sun, 26 Mar 2017 11:14:22 +0200	[thread overview]
Message-ID: <1842913.ZZCfD9UzWp@sven-edge> (raw)
In-Reply-To: <20170217101708.19336-6-linus.luessing@c0d3.blue>

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

On Freitag, 17. Februar 2017 11:17:07 CEST Linus Lüssing wrote:
> This patch refactors the num_packets counter of a forw_packet in the
> following three ways:
> 
> 1) Removed dual-use of forw_packet::num_packets:
>    -> now for aggregation purposes only
> 2) Using forw_packet::skb::cb::num_bcasts instead:
>    -> for easier access in aggregation code later
> 3) make access to num_bcasts private to batadv_forw_packet_*()
> 
> Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
>  net/batman-adv/distributed-arp-table.c |  2 +-
>  net/batman-adv/main.c                  |  3 ++
>  net/batman-adv/send.c                  | 50 ++++++++++++++++++++++++++++++++--
>  net/batman-adv/send.h                  |  1 +
>  net/batman-adv/soft-interface.c        |  3 ++
>  net/batman-adv/types.h                 |  4 ++-
>  6 files changed, 58 insertions(+), 5 deletions(-)

Added this patch as c5d596e8b96e97da64c8aea759ddc016bca760a1 [1]. Have added
it out of order to have at least the non-controversial "cleanup" patches
integrated. The other patches can therefore use the provided functionality
and you don't have to resent these patches anymore.

Thanks,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/c5d596e8b96e97da64c8aea759ddc016bca760a1

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

  reply	other threads:[~2017-03-26  9:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 10:17 [B.A.T.M.A.N.] [PATCH v2 0/6] batman-adv: broadcast packet aggregation Linus Lüssing
2017-02-17 10:17 ` [B.A.T.M.A.N.] [PATCH v2 1/6] batman-adv: Allow TVLVs greater than 128 bytes Linus Lüssing
2017-02-17 10:17 ` [B.A.T.M.A.N.] [PATCH v2 2/6] batman-adv: aggregation packet reception Linus Lüssing
2017-02-17 10:17 ` [B.A.T.M.A.N.] [PATCH v2 3/6] batman-adv: aggregation packet queueing and transmission Linus Lüssing
2017-02-17 10:17 ` [B.A.T.M.A.N.] [PATCH v2 4/6] batman-adv: privatize forw_packet skb assignment Linus Lüssing
2017-03-26  9:14   ` Sven Eckelmann
2017-02-17 10:17 ` [B.A.T.M.A.N.] [PATCH v2 5/6] batman-adv: restructure rebroadcast counter into forw_packet API Linus Lüssing
2017-03-26  9:14   ` Sven Eckelmann [this message]
2017-02-17 10:17 ` [B.A.T.M.A.N.] [PATCH v2 6/6] batman-adv: do not aggregate rebroadcasts in the same packet Linus Lüssing
2017-06-13 12:07 ` [B.A.T.M.A.N.] [PATCH v2 0/6] batman-adv: broadcast packet aggregation 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=1842913.ZZCfD9UzWp@sven-edge \
    --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