This series adds End.X PSP flavor handling in seg6local and extends the
SRv6 selftests to cover it.
Patch 1 splits the final forwarding step out of end_flv8986_core() so
RFC8986 flavor logic can be reused outside the End path.
Patch 2 uses that to add End.X PSP support through the same
end_flv8986_core() path.
Patches 3-4 refactor the PSP selftest setup/cleanup so flavor tests can
be added more cleanly.
Patch 5 adds End.X PSP connectivity coverage and updates the selftest
policy parser to accept an explicit action field.
The goal is to make End.X PSP behavior consistent with End PSP, while
keeping the selftest structure easier to extend for later flavors.
Run all srv6 selftests on debug kernel. All passed without error.
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
---
Hangbin Liu (5):
seg6: split final End process out of flavor processing
seg6: add RFC8986 flavor support for End.X
selftests: seg6: move SRv6 End PSP setup into its own helper
selftest: seg6: add explicit cleanup for SRv6 End PSP test
selftests: seg6: add End.X PSP selftest
net/ipv6/seg6_local.c | 20 ++-
.../testing/selftests/net/srv6_end_flavors_test.sh | 168 +++++++++++++++++++--
2 files changed, 172 insertions(+), 16 deletions(-)
---
base-commit: 10cfa109c880092df32e396647b4afdca9be8350
change-id: 20260922-srv6_flavors_endx-9489116d50c4
Best regards,
--
Hangbin Liu <liuhangbin@kylinos.cn>