lkml.org 
[lkml]   [2022]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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

\
 
 \ /
  Last update: 2022-12-18 23:17    [W:0.047 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site