Minxi Hou
d6f6d71233
selftests: openvswitch: add dec_ttl action support and test
...
Add dec_ttl action support to the OVS kernel datapath selftest
framework:
- Add dec_ttl nested NLA class to ovs-dpctl.py with proper
OVS_DEC_TTL_ATTR_ACTION sub-attribute handling
- Add parse support for dec_ttl(le_1(<inner_actions>)) action
string, consistent with the odp-util.c format where le_1()
holds the actions taken when TTL reaches 1
- Add dpstr output formatting for dec_ttl actions
- Add test_dec_ttl() to openvswitch.sh that verifies:
* Normal TTL packets are forwarded after decrement
* TTL=1 packets are dropped (TTL expiry)
* Graceful skip via ksft_skip if kernel lacks dec_ttl support
The dec_ttl class uses late-binding type resolution to reference
ovsactions for its inner action list, avoiding circular references
at class definition time.
Signed-off-by: Minxi Hou <houminxi@gmail.com >
Reviewed-by: Aaron Conole <aconole@redhat.com >
Link: https://patch.msgid.link/20260530021443.1734484-1-houminxi@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2026-06-02 14:23:59 -07:00
..
2025-11-27 14:24:31 -08:00
2026-03-27 14:40:18 +01:00
2026-05-01 15:17:59 +01:00
2026-05-24 09:53:17 -07:00
2026-03-27 21:19:44 -07:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2026-05-13 08:40:52 -10:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2026-03-23 16:29:15 +01:00
2026-03-31 16:07:19 -06:00
2025-05-09 12:43:39 -06:00
2026-04-05 13:53:26 -07:00
2024-10-02 14:30:58 -06:00
2026-01-19 15:21:26 +01:00
2025-11-27 14:24:31 -08:00
2026-06-02 12:14:14 -07:00
2024-09-05 07:54:16 -05:00
2025-01-21 16:34:41 +01:00
2025-11-27 14:24:31 -08:00
2026-03-27 21:19:37 -07:00
2025-11-27 14:24:31 -08:00
2026-04-14 19:59:25 -07:00
2026-04-22 09:26:46 +09:00
2026-03-24 22:59:59 +01:00
2026-02-27 10:05:22 +01:00
2026-03-16 16:21:06 +01:00
2025-11-27 14:24:31 -08:00
2026-04-02 09:26:05 +02:00
2026-03-27 21:19:44 -07:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2025-09-25 13:43:28 -06:00
2026-04-05 13:53:04 -07:00
2025-05-11 17:54:09 -07:00
2026-04-17 11:29:03 -06:00
2026-03-31 13:48:34 -06:00
2026-05-29 19:28:16 +02:00
2026-04-07 18:51:10 +02:00
2025-04-15 13:50:43 -07:00
2026-04-16 10:33:43 +02:00
2026-04-18 00:10:49 -07:00
2026-03-31 16:53:47 -07:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2026-02-12 15:45:57 -08:00
2025-11-27 14:24:31 -08:00
2026-05-13 17:40:03 -07:00
2024-11-28 11:17:38 -08:00
2026-03-17 16:59:45 +01:00
2025-11-27 14:24:31 -08:00
2026-03-31 15:01:51 -06:00
2025-11-27 14:24:31 -08:00
2026-04-14 09:31:18 +02:00
2025-11-27 14:24:31 -08:00
2026-06-02 14:23:59 -07:00
2026-04-09 23:25:45 +02:00
2025-11-27 14:24:31 -08:00
2026-04-08 14:41:39 -05:00
2025-04-18 08:23:22 -05:00
2025-11-27 14:24:31 -08:00
2026-03-20 14:44:26 +01:00
2026-03-23 16:29:15 +01:00
2026-04-01 09:21:04 +05:30
2026-03-27 21:19:44 -07:00
2025-11-27 14:24:31 -08:00
2026-01-27 17:57:28 -08:00
2025-11-27 14:24:31 -08:00
2026-03-30 15:48:14 -04:00
2026-05-13 14:28:59 -04:00
2026-01-09 16:49:01 -07:00
2025-11-27 14:24:31 -08:00
2026-04-04 18:42:41 -06:00
2026-05-06 17:41:08 +02:00
2025-11-27 14:24:31 -08:00
2024-08-11 17:32:55 -06:00
2025-03-19 22:23:24 +01:00
2026-05-10 16:03:05 -10:00
2026-04-03 08:41:38 -07:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2026-03-27 21:19:44 -07:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2025-07-23 11:56:02 +02:00
2026-05-28 14:02:21 -07:00
2025-11-27 14:24:31 -08:00
2026-03-27 21:19:44 -07:00
2025-11-27 14:24:31 -08:00
2025-12-06 14:01:20 -08:00
2025-11-27 14:24:31 -08:00
2025-12-03 22:55:27 +02:00
2025-12-06 18:38:19 -08:00
2024-07-26 13:51:25 -04:00
2026-05-13 07:55:39 -06:00
2025-11-27 14:24:31 -08:00
2025-11-27 14:24:31 -08:00
2026-03-11 15:23:24 +01:00
2025-11-11 13:18:55 +01:00
2026-03-20 13:54:51 -06:00
2026-03-20 18:34:48 -07:00
2025-09-16 16:55:04 -06:00
2026-01-20 19:44:20 -08:00
2026-01-19 12:06:11 +01:00
2025-09-21 14:21:59 -07:00
2025-04-08 14:56:13 -06:00
2026-04-27 10:48:35 -06:00
2026-04-27 10:48:24 -06:00
2025-11-27 14:24:31 -08:00
2026-04-20 17:19:30 -07:00
2026-04-13 11:05:39 -06:00