Skip to content

Add support for per-route seg6 tunsrc

Justin Iurman linux-kselftest netdev 5 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyApplied 2/2
  2. v42 patches 3 repliesSuperseded
  3. v32 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch7 repliesSuperseded
v11 patch1 replySuperseded

v4 from the cover letter

Patches in v5 All 2 applied

#Subject and filesSizeRepliesApplied
1/2seg6: add per-route tunnel source addressinclude/uapi/linux/seg6_iptunnel.h net/ipv6/seg6_iptunnel.c+84 -310 repliesApplied
2/2selftests: add check for seg6 tunsrctools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh+96 -131 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrea Mayer
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH net-next v5 0/2] Add support for per-route seg6 tunsrc

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/[email protected]/

v3:
https://lore.kernel.org/netdev/[email protected]/

v2:
https://lore.kernel.org/netdev/[email protected]/

v1:
https://lore.kernel.org/netdev/[email protected]/

Signature · 1 line
2.39.2