netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6 routes offloading
@ 2022-12-18 22:15 Yevhen Orlov
  2022-12-20  1:46 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: Yevhen Orlov @ 2022-12-18 22:15 UTC (permalink / raw)
  To: netdev
  Cc: Volodymyr Mytnyk, Taras Chornyi, Mickey Rachamim, Serhiy Pshyk,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrew Lunn, Stephen Hemminger, linux-kernel

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

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

end of thread, other threads:[~2022-12-20  1:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-18 22:15 [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6 routes offloading Yevhen Orlov
2022-12-20  1:46 ` Jakub Kicinski

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).