cls_bpf: pass offload flags to tc_cls_common_offload_init()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 24 Jan 2018 20:54:16 +0000 (12:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 21:01:10 +0000 (16:01 -0500)
commita6ffd6b5d6ffc1915f599e93bbf87c1cedd6abfc
tree349b6d66440c58d4de90e41b03e7efa3d491b921
parentf558fdea03bf70f23a3ac63d8c7cdd9755797f80
cls_bpf: 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.

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_bpf.c