net: sched: uapi: add more sanely named duplicate defines
authorJakub Kicinski <kuba@kernel.org>
Tue, 13 May 2025 22:17:52 +0000 (15:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 15 May 2025 18:44:29 +0000 (11:44 -0700)
commit1119e5519dcdb7b3527f5d85accf9c7aa02b2b28
treecb0d82244f35f66d89ecbe1ca32c5da2c5d91bf5
parent2da35e4b4df99d3dd29bacf0c054e6988013d4ec
net: sched: uapi: add more sanely named duplicate defines

The TCA_FLOWER_KEY_CFM enum has a UNSPEC and MAX with _OPT
in the name, but the real attributes don't. Add a MAX that
more reasonably matches the attrs.

The PAD in TCA_TAPRIO is the only attr which doesn't have
_ATTR in it, perhaps signifying that it's not a real attr?
If so interesting idea in abstract but it makes codegen painful.

Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250513221752.843102-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/pkt_cls.h
include/uapi/linux/pkt_sched.h