From: "Linus Lüssing" <linus.luessing@c0d3.blue>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [PATCH v2 0/2] batman-adv: BATMAN_V: OGMv2 packet aggregation
Date: Sun, 4 Aug 2019 20:06:30 +0200 [thread overview]
Message-ID: <20190804180632.489-1-linus.luessing@c0d3.blue> (raw)
Hi,
This small patchset implements the transmission side for the OGMv2
packet aggregation in BATMAN_V. The receiver part was already
implemented and seems to work nicely.
The first patch implements the necessary queueing mechanism, utilizing
skb queues.
The second patch then implements the actual OGMv2 packet aggregation for
the queued packets.
Opportunities for later improvements (left out on purpose, to keep this
patchset simple):
* Reset queue timer on full queue / if flushing in batadv_v_ogm_queue_on_if():
-> to avoid sending small aggregates in the worker afterwards
* Remove BATADV_MAX_AGGREGATION_BYTES (512 bytes) limitation:
-> not needed for BATMAN_V, would break compatibility though...
(* Increase BATADV_MAX_AGGREGATION_MS (100ms):
-> BATMAN_V has less averaging, therefore could use slower OGM intervals
and therefore slightly larger aggregtion time window)
Regards, Linus
Ref./obsolete: Previous, generic aggregation patchset:
https://patchwork.open-mesh.org/patch/17013/
==
Changelog v2:
* PATCH 1/2:
* added lockdep_assert_held()
* fixed aggr_len kerneldoc in types.h
* fixed alignment in batadv_v_ogm_queue_left()
* added missing includes in bat_v_ogm.{c,h}
* fixed @hard_iface kerneldoc for batadv_v_ogm_aggr_list_free()
* removed unused bat_priv in batadv_v_ogm_aggr_work()
* PATCH 2/2:
* unchanged
next reply other threads:[~2019-08-04 18:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-04 18:06 Linus Lüssing [this message]
2019-08-04 18:06 ` [PATCH v2 1/2] batman-adv: BATMAN_V: introduce per hard-iface OGMv2 queues Linus Lüssing
2019-08-04 18:27 ` Sven Eckelmann
2019-08-04 18:29 ` Sven Eckelmann
2019-08-04 18:36 ` Sven Eckelmann
2019-08-04 18:06 ` [PATCH v2 2/2] batman-adv: BATMAN_V: aggregate OGMv2 packets Linus Lüssing
2019-08-04 18:25 ` 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=20190804180632.489-1-linus.luessing@c0d3.blue \
--to=linus.luessing@c0d3.blue \
--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;
as well as URLs for NNTP newsgroup(s).