b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] batman-adv: BATMAN_V: OGMv2 packet aggregation
@ 2019-08-04 18:06 Linus Lüssing
  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:06 ` [PATCH v2 2/2] batman-adv: BATMAN_V: aggregate OGMv2 packets Linus Lüssing
  0 siblings, 2 replies; 7+ messages in thread
From: Linus Lüssing @ 2019-08-04 18:06 UTC (permalink / raw)
  To: b.a.t.m.a.n

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-08-04 18:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-04 18:06 [PATCH v2 0/2] batman-adv: BATMAN_V: OGMv2 packet aggregation Linus Lüssing
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

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).