public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] Add support for seg6 tunsrc
@ 2026-03-16 16:29 Justin Iurman
  2026-03-16 16:29 ` [PATCH net-next v3 1/2] seg6: add per-route tunnel source address Justin Iurman
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Justin Iurman @ 2026-03-16 16:29 UTC (permalink / raw)
  To: netdev
  Cc: andrea.mayer, davem, edumazet, kuba, pabeni, horms, justin.iurman,
	nicolas.dichtel, stefano.salsano, paolo.lungaroni, ahabdels,
	Justin Iurman

This series adds support for the new per-route seg6 "tunsrc" parameter.
Some tests are extended to check for it.

Example:
ip -6 r a 2001:db8:1::/64 encap seg6 mode encap tunsrc 2001:db8:ab::
    segs 2001:db8:42::1,2001:db8:ffff::2 dev eth0


Justin Iurman (2):
  seg6: add per-route tunnel source address
  selftests: add check for seg6 tunsrc

 include/uapi/linux/seg6_iptunnel.h            |   1 +
 net/ipv6/seg6_iptunnel.c                      | 114 +++++++++++++-----
 .../net/srv6_hencap_red_l3vpn_test.sh         |  65 +++++++---
 3 files changed, 134 insertions(+), 46 deletions(-)

---
v3:
 - add selftest for tunsrc
 - tunsrc: forbid loopback and multicast addresses as well

v2: https://lore.kernel.org/netdev/20260311152845.278354-1-justin.iurman@6wind.com/T/#u

v1: https://lore.kernel.org/netdev/CAOY2BqxUswHYoisKjABPunMUC5QJ-B-O9aXu=wKrhTZaqSqedQ@mail.gmail.com/T/

--
2.39.2


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

end of thread, other threads:[~2026-03-19  3:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16 16:29 [PATCH net-next v3 0/2] Add support for seg6 tunsrc Justin Iurman
2026-03-16 16:29 ` [PATCH net-next v3 1/2] seg6: add per-route tunnel source address Justin Iurman
2026-03-16 16:29 ` [PATCH net-next v3 2/2] selftests: add check for seg6 tunsrc Justin Iurman
2026-03-17 10:54   ` Andrea Mayer
2026-03-17 22:07     ` Jakub Kicinski
2026-03-18 12:29     ` Justin Iurman
2026-03-19  3:50       ` Andrea Mayer
2026-03-16 20:01 ` [PATCH net-next v3 0/2] Add support " Justin Iurman
2026-03-17  0:15   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox