]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/batman-adv/bat_v.c
batman-adv: BATMAN_V: introduce per hard-iface OGMv2 queues
authorLinus Lüssing <linus.luessing@c0d3.blue>
Sun, 4 Aug 2019 18:54:53 +0000 (20:54 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 4 Aug 2019 20:22:00 +0000 (22:22 +0200)
commitf89255a02f1d75d8e1b9d1c31435fcb64840cb2a
tree8d31f7696cde50b76d5710e2c90b75339a57305e
parent529a8f939a5fdbfa27d10bba728d9764212ab26f
batman-adv: BATMAN_V: introduce per hard-iface OGMv2 queues

In preparation for the OGMv2 packet aggregation, hold OGMv2 packets for
up to BATADV_MAX_AGGREGATION_MS milliseconds (100ms) on per
hard-interface queues, before transmitting.

This allows us to later squash multiple OGMs into a single frame
and transmission for reduced overhead.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v.c
net/batman-adv/bat_v_ogm.c
net/batman-adv/bat_v_ogm.h
net/batman-adv/types.h