]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Implement-get_link_ksettings-for-VXLAN-and-bridge'
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 03:52:15 +0000 (19:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 03:52:15 +0000 (19:52 -0800)
commitdd82f425f8bb5dc849f94219ccb607f73ef66b7f
tree2107d0d97b31df0ad1a86c830199e309357e243c
parentd71973282bde741e3a21b5ca2ed8658a7913d806
parent5ac5db3afb10095ebacd3efe335d91865603b2ac
Merge branch 'Implement-get_link_ksettings-for-VXLAN-and-bridge'

Matthias Schiffer says:

====================
Implement get_link_ksettings for VXLAN and bridge

Mesh routing protocol batman-adv (in particular the new BATMAN_V algorithm)
uses the link speed reported by get_link_ksettings to determine a path
metric for wired links. In the mesh framework Gluon [1], we layer VXLAN
and sometimes bridge interfaces on our Ethernet links.

These patches implement get_link_ksettings for these two interface types.
While this is obviously not accurate for bridges with multiple active
ports, it's much better than having no estimate at all (and in the
particular setup of Gluon, bridges with a single port aren't completely
uncommon).

[1] https://github.com/freifunk-gluon/gluon
====================

Signed-off-by: David S. Miller <davem@davemloft.net>