OSDN Git Service

net/sched: flower: Move filter handle initialization earlier
authorPaul Blakey <paulb@nvidia.com>
Fri, 17 Feb 2023 22:36:15 +0000 (00:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Feb 2023 00:46:10 +0000 (16:46 -0800)
commit08a0063df3aed8d76a4034279117db12dbc1050f
tree669bec635c692e22d0e0c11af84d33098fea9e38
parent80cd22c35c9001fe72bf614d29439de41933deca
net/sched: flower: Move filter handle initialization earlier

To support miss to action during hardware offload the filter's
handle is needed when setting up the actions (tcf_exts_init()),
and before offloading.

Move filter handle initialization earlier.

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/cls_flower.c