]> git.baikalelectronics.ru Git - kernel.git/commit
net: Move all TC actions identifiers to one place
authorEli Cohen <eli@mellanox.com>
Sun, 10 Feb 2019 12:24:59 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2019 17:28:43 +0000 (09:28 -0800)
commitfa517b4bd7698a3d6cd817402124898dd195ff7e
treebc1a7320b23e8d31fc643e3ce76059ea1cd11932
parente928368fa30ed3f2ecbbf49277c4d2d35cc1d4d5
net: Move all TC actions identifiers to one place

Move all the TC identifiers to one place, to the same enum that defines
the identifier of police action. This makes it easier choose numbers for
new actions since they are now defined in one place. We preserve the
original values for binary compatibility. New IDs should be added inside
the enum.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
include/uapi/linux/pkt_cls.h
include/uapi/linux/tc_act/tc_bpf.h
include/uapi/linux/tc_act/tc_connmark.h
include/uapi/linux/tc_act/tc_csum.h
include/uapi/linux/tc_act/tc_gact.h
include/uapi/linux/tc_act/tc_ife.h
include/uapi/linux/tc_act/tc_ipt.h
include/uapi/linux/tc_act/tc_mirred.h
include/uapi/linux/tc_act/tc_nat.h
include/uapi/linux/tc_act/tc_pedit.h
include/uapi/linux/tc_act/tc_sample.h
include/uapi/linux/tc_act/tc_skbedit.h
include/uapi/linux/tc_act/tc_skbmod.h
include/uapi/linux/tc_act/tc_tunnel_key.h
include/uapi/linux/tc_act/tc_vlan.h
net/sched/act_simple.c
tools/include/uapi/linux/tc_act/tc_bpf.h