linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Implement get_link_ksettings for VXLAN and bridge
@ 2019-11-09 17:54 Matthias Schiffer
  2019-11-09 17:54 ` [PATCH net-next 1/2] vxlan: implement get_link_ksettings ethtool method Matthias Schiffer
  2019-11-09 17:54 ` [PATCH net-next 2/2] bridge: " Matthias Schiffer
  0 siblings, 2 replies; 5+ messages in thread
From: Matthias Schiffer @ 2019-11-09 17:54 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel, davem, roopa, nikolay, Matthias Schiffer

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

Matthias Schiffer (2):
  vxlan: implement get_link_ksettings ethtool method
  bridge: implement get_link_ksettings ethtool method

 drivers/net/vxlan.c    | 24 ++++++++++++++++++++++--
 net/bridge/br_device.c | 37 +++++++++++++++++++++++++++++++++++--
 2 files changed, 57 insertions(+), 4 deletions(-)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-12 20:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-09 17:54 [PATCH net-next 0/2] Implement get_link_ksettings for VXLAN and bridge Matthias Schiffer
2019-11-09 17:54 ` [PATCH net-next 1/2] vxlan: implement get_link_ksettings ethtool method Matthias Schiffer
2019-11-09 17:54 ` [PATCH net-next 2/2] bridge: " Matthias Schiffer
2019-11-11 22:15   ` Nikolay Aleksandrov
2019-11-11 22:41   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).