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

This series adds support for the new per-route seg6 "tunsrc" parameter.
Selftests are extended to make sure it works as expected.

Example with the iproute2-next companion patch:

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         | 109 +++++++++++++++--
 3 files changed, 180 insertions(+), 44 deletions(-)

---
v5: tunsrc support detection for non-backward compatible kernels, fix two nits

v4:
https://lore.kernel.org/netdev/20260320135909.1729313-1-justin.iurman@6wind.com/

v3:
https://lore.kernel.org/netdev/20260316162955.1253225-1-justin.iurman@6wind.com/

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

v1:
https://lore.kernel.org/netdev/20260310141057.3353333-1-justin.iurman@6wind.com/

-- 
2.39.2


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

end of thread, other threads:[~2026-03-27  1:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24  9:14 [PATCH net-next v5 0/2] Add support for per-route seg6 tunsrc Justin Iurman
2026-03-24  9:14 ` [PATCH net-next v5 1/2] seg6: add per-route tunnel source address Justin Iurman
2026-03-24  9:14 ` [PATCH net-next v5 2/2] selftests: add check for seg6 tunsrc Justin Iurman
2026-03-25  1:55   ` Andrea Mayer
2026-03-27  1:50 ` [PATCH net-next v5 0/2] Add support for per-route " patchwork-bot+netdevbpf

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