Ok, so I'm trying to mock up a very simple network design and I'm
having trouble getting 'out of the box'
nodes
APU2C4 with 3 ethernet ports
all ports
ethx native vlan
ethx.11 mesh vlan
bat0(eth0.11, eth1.11, eth2.11) <- so I can transport the mesh only on
configured interfaces and leave the 'na
From: Antonio Quartulli
Since the conversion from kthread to queue worker it is not possible
to run more than one "sender" session at a time.
For this reason, checking if another session to the same destination
is already scheduled is not useful anymore.
Remove such check and allow the user to e
From: Antonio Quartulli
A link test is a TP session ran over a specific one-hop link,
rather than towards an originator in the mesh.
Signed-off-by: Antonio Quartulli
---
include/uapi/linux/batadv_packet.h | 2 +
net/batman-adv/netlink.c | 2 +-
net/batman-adv/routing.c
Signed-off-by: Marek Lindner
---
net/batman-adv/main.h | 6 --
net/batman-adv/tp_meter.c | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 8da3c933..89dfaf87 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/
When the ELP throughput meter fallback kicks in to trigger
a throughput meter measurement the test duration can be
configured via this attribute.
Default tp test duration: 1000ms
Signed-off-by: Marek Lindner
---
Documentation/ABI/testing/sysfs-class-net-batman-adv | 7 +++
net/batman-adv/ba
The throughput meter can be called from user space as well as from
the batman-adv kernel module itself. Add infrastructure to handle
the different callers.
Signed-off-by: Marek Lindner
---
net/batman-adv/netlink.c | 3 +-
net/batman-adv/tp_meter.c | 108 ++
From: Antonio Quartulli
To ensure that no more than one tp_meter session runs at the
same time, use an ordered workqueue instead of spawning
one kthread per session.
Signed-off-by: Antonio Quartulli
---
net/batman-adv/main.c | 10 -
net/batman-adv/tp_meter.c | 77 +++---
Under normal circumstances B.A.T.M.A.N. V retrieves the neighbor
throughput values to populate its metric tables from the various
drivers such as WiFi throughput tables and Ethernet throughput..
Whenever the interface drivers do not export link throughput
information manual overrides become necess
Signed-off-by: Marek Lindner
---
net/batman-adv/bat_v_elp.c | 63 --
net/batman-adv/bat_v_elp.h | 21 +
net/batman-adv/main.h | 1 +
net/batman-adv/tp_meter.c | 37 +-
net/batman-adv/types.h | 14 +
5 files cha