From: Yevhen Orlov <yevhen.orlov@plvision.eu>
To: netdev@vger.kernel.org
Cc: Volodymyr Mytnyk <volodymyr.mytnyk@plvision.eu>,
Taras Chornyi <taras.chornyi@plvision.eu>,
Mickey Rachamim <mickeyr@marvell.com>,
Serhiy Pshyk <serhiy.pshyk@plvision.eu>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Andrew Lunn <andrew@lunn.ch>,
Stephen Hemminger <stephen@networkplumber.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6 routes offloading
Date: Mon, 19 Dec 2022 00:15:40 +0200 [thread overview]
Message-ID: <Y5+RDIIGWGeKGUAo@yorlov.ow.s> (raw)
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
next reply other threads:[~2022-12-18 22:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-18 22:15 Yevhen Orlov [this message]
2022-12-20 1:46 ` [PATCH net-next v1 0/2] net: marvell: prestera: add ipv6 routes offloading Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y5+RDIIGWGeKGUAo@yorlov.ow.s \
--to=yevhen.orlov@plvision.eu \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mickeyr@marvell.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=serhiy.pshyk@plvision.eu \
--cc=stephen@networkplumber.org \
--cc=taras.chornyi@plvision.eu \
--cc=volodymyr.mytnyk@plvision.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).