net/sched: Rename user cookie and act cookie
authorPaul Blakey <paulb@nvidia.com>
Fri, 17 Feb 2023 22:36:13 +0000 (00:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Feb 2023 00:46:10 +0000 (16:46 -0800)
commitdb4b49025c0c7116f1d2dfe8d5bbfc983ac054de
tree80a16930c1e9f34eda2c728f571d3e61d78dbbaa
parent871489dd01b67483248edc8873c389a66e469f30
net/sched: Rename user cookie and act cookie

struct tc_action->act_cookie is a user defined cookie,
and the related struct flow_action_entry->act_cookie is
used as an handle similar to struct flow_cls_offload->cookie.

Rename tc_action->act_cookie to user_cookie, and
flow_action_entry->act_cookie to cookie so their names
would better fit their usage.

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c
include/net/act_api.h
include/net/flow_offload.h
net/sched/act_api.c
net/sched/cls_api.c