net/sched: Add helper macros with module names
authorMichal Koutný <mkoutny@suse.com>
Thu, 1 Feb 2024 13:09:40 +0000 (14:09 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 2 Feb 2024 18:57:55 +0000 (10:57 -0800)
commitb26577001af49a20f09770fd6e6cfd10d5daac93
tree5a01fb04203fd98a79b304315761377a52dcddab
parentd81c0792e640586c8639cf10ac6d0a0e79da6466
net/sched: Add helper macros with module names

The macros are preparation for adding module aliases en mass in a
separate commit.
Although it would be tempting to create aliases like cls-foo for name
cls_foo, this could not be used because modprobe utilities treat '-' and
'_' interchangeably.
In the end, the naming follows pattern of proto modules in linux/net.h.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240201130943.19536-2-mkoutny@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/act_api.h
include/net/pkt_cls.h
include/net/pkt_sched.h