[LibreQoS] Fwd: [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6 routes offloading
Dave Taht
dave.taht at gmail.com
Sun Dec 18 18:45:19 EST 2022
maybe there's a smarter switch
---------- Forwarded message ---------
From: Yevhen Orlov <yevhen.orlov at plvision.eu>
Date: Sun, Dec 18, 2022 at 2:18 PM
Subject: [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6
routes offloading
To: <netdev at vger.kernel.org>
Cc: Volodymyr Mytnyk <volodymyr.mytnyk at plvision.eu>, Taras Chornyi
<taras.chornyi at plvision.eu>, Mickey Rachamim <mickeyr at marvell.com>,
Serhiy Pshyk <serhiy.pshyk at plvision.eu>, David S. Miller
<davem at davemloft.net>, Eric Dumazet <edumazet at google.com>, Jakub
Kicinski <kuba at kernel.org>, Paolo Abeni <pabeni at redhat.com>, Andrew
Lunn <andrew at lunn.ch>, Stephen Hemminger <stephen at networkplumber.org>,
<linux-kernel at vger.kernel.org>
Add support for IPv6 nexthop/blackhole/connected routes for Marvell
Prestera driver.
Handle AF_INET6 neigbours, fib entries.
Add features:
- IPv6:
- Support "offload", "offload_failed", "trap" flags
- Support blackhole, nexthop, local/connected/unreachable/etc (trap)
e.g.: "ip addr add 2001:1::1/64 dev sw1p2"
e.g.: "ip route add 2002:2::/64 via 2001:2::2"
e.g.: "ip route add blachole 2003:2::/64 dev lo"
Limitations:
- ipv6 ECMP is not supported
- Only "local" and "main" tables supported
- Only generic interfaces supported for router (no bridges or vlans)
Yevhen Orlov (2):
net: marvell: prestera: Add router ipv6 ABI
net: marvell: prestera: Handle ipv6 lpm/neigh events
.../ethernet/marvell/prestera/prestera_hw.c | 34 +++++
.../ethernet/marvell/prestera/prestera_hw.h | 4 +
.../marvell/prestera/prestera_router.c | 138 +++++++++++++-----
.../marvell/prestera/prestera_router_hw.c | 33 ++++-
4 files changed, 166 insertions(+), 43 deletions(-)
--
2.17.1
--
This song goes out to all the folk that thought Stadia would work:
https://www.linkedin.com/posts/dtaht_the-mushroom-song-activity-6981366665607352320-FXtz
Dave Täht CEO, TekLibre, LLC
More information about the LibreQoS
mailing list