OSDN Git Service

cls_u32: pass offload flags to tc_cls_common_offload_init()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 24 Jan 2018 20:54:22 +0000 (12:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 21:01:11 +0000 (16:01 -0500)
commitf40fe58d1355569472d14f2388f34d657641eed9
tree24467d9db3941986fecb4de4a65f6cf510832917
parent1b0f80375c683a3baa0bba9b6f6d89cfb180f3dc
cls_u32: pass offload flags to tc_cls_common_offload_init()

Pass offload flags to the new implementation of
tc_cls_common_offload_init().  Extack will now only
be set if user requested skip_sw.  hnodes need to
hold onto the flags now to be able to reuse them
on filter removal.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_u32.c