Ido Schimmel
0df1328eaf
netlink: specs: Add FIB rule DSCP mask attribute
Add new DSCP mask attribute to the spec. Example:
# ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_rule.yaml \
--do newrule \
--json '{"family": 2, "dscp": 10, "dscp-mask": 63, "action": 1, "table": 1}'
None
$ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_rule.yaml \
--dump getrule --json '{"family": 2}' --output-json | jq '.[]'
[...]
{
"table": 1,
"suppress-prefixlen": "0xffffffff",
"protocol": 0,
"priority": 32765,
"dscp": 10,
"dscp-mask": "0x3f",
"family": 2,
"dst-len": 0,
"src-len": 0,
"tos": 0,
"action": "to-tbl",
"flags": 0
}
[...]
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20250220080525.831924-6-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-21 16:08:48 -08:00
..
2025-01-30 12:24:20 -08:00
2024-11-22 11:40:56 -07:00
2025-01-26 17:50:53 -08:00
2025-01-28 09:01:36 -08:00
2025-02-20 10:37:30 -08:00
2025-01-28 15:02:17 -07:00
2024-11-11 08:17:48 -08:00
2025-01-26 17:50:53 -08:00
2024-12-17 13:46:53 -07:00
2025-02-21 15:07:15 -08:00
2024-11-22 10:37:40 -07:00
2025-02-13 16:58:51 +01:00
2024-11-12 12:05:33 +01:00
2024-11-11 07:33:20 -08:00
2025-02-06 22:35:11 -05:00
2025-01-16 12:45:16 +01:00
2025-01-09 10:14:14 +01:00
2025-01-22 10:16:48 -08:00
2024-11-18 08:35:47 +01:00
2024-12-28 14:28:13 +00:00
2024-11-14 18:03:23 -08:00
2025-01-31 12:07:07 -08:00
2024-11-22 10:44:25 -07:00
2025-01-09 10:30:23 +00:00
2024-11-13 10:59:01 +01:00
2025-01-26 18:36:23 -08:00
2025-02-21 16:08:48 -08:00
2025-02-21 15:59:47 -08:00
2025-01-10 19:30:49 -08:00
2025-01-25 16:03:40 -08:00
2025-01-30 10:57:19 -08:00
2025-02-17 22:40:04 -08:00
2024-11-12 21:40:24 +01:00
2024-11-26 14:00:26 -08:00
2025-01-23 18:49:43 -08:00
2025-01-10 15:15:30 -05:00
2024-12-02 11:25:14 +01:00
2025-01-20 09:25:33 +01:00
2024-11-04 12:34:59 -07:00
2025-01-21 15:30:01 -05:00
2025-01-23 17:51:16 -08:00
2025-02-17 22:40:04 -08:00
2024-12-27 13:07:22 +01:00
2025-01-28 12:25:12 -08:00
2025-01-31 12:03:52 +01:00
2024-11-05 10:04:39 +01:00
2025-01-09 13:38:39 +02:00
2025-01-09 12:53:27 -08:00
2025-01-10 19:30:49 -08:00