diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-24 21:54:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-24 22:01:10 +0100 |
commit | f558fdea03bf70f23a3ac63d8c7cdd9755797f80 (patch) | |
tree | 424317af2229c78ba040808a8f71eb7404b2401c /include/net/pkt_cls.h | |
parent | net: sched: prepare for reimplementation of tc_cls_common_offload_init() (diff) | |
download | linux-f558fdea03bf70f23a3ac63d8c7cdd9755797f80.tar.xz linux-f558fdea03bf70f23a3ac63d8c7cdd9755797f80.zip |
cls_bpf: remove gen_flags from bpf_offload
cls_bpf now guarantees that only device-bound programs are
allowed with skip_sw. The drivers no longer pay attention to
flags on filter load, therefore the bpf_offload member can be
removed. If flags are needed again they should probably be
added to struct tc_cls_common_offload instead.
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>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r-- | include/net/pkt_cls.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 08815fe9314d..85cee929b9ce 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -748,7 +748,6 @@ struct tc_cls_bpf_offload { struct bpf_prog *oldprog; const char *name; bool exts_integrated; - u32 gen_flags; }; struct tc_mqprio_qopt_offload { |