[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y5+RDIIGWGeKGUAo@yorlov.ow.s>
Date: Mon, 19 Dec 2022 00:15:40 +0200
From: Yevhen Orlov <yevhen.orlov@...ision.eu>
To: netdev@...r.kernel.org
Cc: Volodymyr Mytnyk <volodymyr.mytnyk@...ision.eu>,
Taras Chornyi <taras.chornyi@...ision.eu>,
Mickey Rachamim <mickeyr@...vell.com>,
Serhiy Pshyk <serhiy.pshyk@...ision.eu>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Andrew Lunn <andrew@...n.ch>,
Stephen Hemminger <stephen@...workplumber.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6 routes
offloading
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
Powered by blists - more mailing lists