On Sun, Aug 20, 2017 at 8:05 AM, Andrew Lunn <andrew(a)lunn.ch> wrote:
> And there is currently no special batman-adv support for the
> dissector  in the kernel. This could be also a reason why multiple flows
> are not distributed well to different cores when you enable RPS/XPS. It is not
> yet know whether this will actually be helpful but at least someone interested
> could do same research and implement a proof-of-concept patches for further
DSA just added a patch to help with flow dissectors. Maybe it can be
generalized and made to work for BATMAN as well?
Author: John Crispin <john(a)phrozen.org>
Date: Wed Aug 9 14:41:19 2017 +0200
net-next: dsa: fix flow dissection
RPS and probably other kernel features are currently broken on some if not
all DSA devices. The root cause of this is that skb_hash will call the
flow_dissector. At this point the skb still contains the magic switch
header and the skb->protocol field is not set up to the correct 802.3
value yet. By the time the tag specific code is called, removing the header
and properly setting the protocol an invalid hash is already set. In the
case of the mt7530 this will result in all flows always having the same
Ok, maybe virtualbox specific slowness then. I'm running batman-adv
2015.2 on ubuntu kernel 4.4.0, so a little out of date.
I'm actually wanting to target something embedded, like a pc-engines
APU2c4. It has 3 onboard ethernets and I can add up to 8 more via
pci-e. But that has a 1Ghz CPU (quad core) and being stuck on 1 core
1/4ers the potential.
The test network I'm designing is handling wireless PtP backhauls and
having batman-adv make all tower sites look like a single switch,
almost list a replacement for shortest path bridging. 1Gbps would be
the real base line performance here.
I have another question on the list about running on top of vlans,
specifically do to something like router-on-a-stick with a wisp
specific PoE switch and running a vlan across backhaul links and
putting those vlans in batman-adv. That way I don't have issue
accessing the ptp link interfaces themselves.