Skip to content

add network wide multi interface optimization

Simon Wunderlich batman 2 versions – Applied

Status from this message: Applied in revision dc5b9ca.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 9 repliesApplied
  2. v28 patches 7 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8batman-adv: remove bonding and interface alternatingbat_iv_ogm.c originator.c routing.c +2 more+12 -3271 reply
2/8batman-adv: split tq information in neigh_node structbat_iv_ogm.c compat.c compat.h +7 more+562 -1191 reply
3/8batman-adv: split out router from orig_nodebat_iv_ogm.c distributed-arp-table.c gateway_client.c +8 more+590 -2161 reply
4/8batman-adv: add WiFi penaltybat_iv_ogm.c hard-interface.h soft-interface.c+24 -61 reply
5/8batman-adv: consider outgoing interface in OGM sendingbat_iv_ogm.c send.c types.h+115 -571 reply
6/8batman-adv: add bonding againoriginator.c routing.c routing.h +1 more+117 -41 reply
7/8batman-adv: add debugfs structure for information per interfacedebugfs.c debugfs.h hard-interface.c +1 more+92 -02 replies
8/8batman-adv: add debugfs support to view multiif tablesbat_iv_ogm.c debugfs.c originator.c +2 more+73 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [B.A.T.M.A.N.] [PATCHv3 0/8] add network wide multi interface optimization

This patchset adds the network wide multi interface optimization as proposed in our wiki [1] for BATMAN IV. The main purpose is to do interface alternating and bonding by considering multi interface capabilities globally and not just for the (next) link, otherwise non-optimal links may be chosen.

This patchset needs to change a lot of core data structures and routing, please review it carefully. A local development branch exists on the public git repo [2].

Changes from PATCHv2 (thanks Linus and Marek for suggestions) are:
* fix many rcu,reference and kerneldoc issues
* remove some TODOs which are fixed in the series
* rename debugfs file hardif/$IF/originators_multiif -> hardif/$IF/originators
* rebase on Antonios extended isolation patches
* ... check for more in the changelog of the individual patches

I've tested the patchset in my VMs to confirm that bonding and alternating works as expected. Patches should be checkpatch and sparse clean.

As always, any comments are appreciated!

Thanks,
Simon

[1] http://www.open-mesh.org/projects/batman-adv/wiki/network-wide-multi-link-optimization
[2] http://git.open-mesh.org/batman-adv.git/shortlog/refs/heads/simon/network-wide-multiif

Simon Wunderlich (8):
batman-adv: remove bonding and interface alternating
batman-adv: split tq information in neigh_node struct
batman-adv: split out router from orig_node
batman-adv: add WiFi penalty
batman-adv: consider outgoing interface in OGM sending
batman-adv: add bonding again
batman-adv: add debugfs structure for information per interface
batman-adv: add debugfs support to view multiif tables

 bat_iv_ogm.c            |  871 +++++++++++++++++++++++++++++++----------------
 compat.c                |    8 -
 compat.h                |    1 -
 debugfs.c               |   94 +++++
 debugfs.h               |    3 +
 distributed-arp-table.c |    3 +-
 gateway_client.c        |   86 ++++-
 hard-interface.c        |    9 +
 hard-interface.h        |   18 +
 icmp_socket.c           |    3 +-
 main.h                  |    5 +
 network-coding.c        |    9 +-
 originator.c            |  529 +++++++++++++++++++++++++---
 originator.h            |   20 +-
 routing.c               |  429 ++++++++---------------
 routing.h               |   12 +-
 send.c                  |   19 +-
 soft-interface.c        |    2 +-
 translation-table.c     |    6 +-
 types.h                 |  130 ++++---
 20 files changed, 1553 insertions(+), 704 deletions(-)
Signature · 1 line
1.7.10.4