aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_bpf.c
AgeCommit message (Expand)AuthorFilesLines
2025-01-20net: sched: refine software bypass handling in tc_runXin Long1-0/+2
2024-05-23net: Rename mono_delivery_time to tstamp_type for scalabiltyAbhishek Chauhan1-2/+2
2024-02-02net/sched: Add module aliases for cls_,sch_,act_ modulesMichal Koutný1-0/+1
2023-07-17net: sched: cls_bpf: Undo tcf_bind_filter in case of an errorVictor Nogueira1-52/+47
2022-12-09net/sched: avoid indirect classify functions on retpoline kernelsPedro Tammela1-2/+4
2022-10-02net: sched: use tc_cls_bind_class() in filterZhengchao Shao1-6/+1
2022-09-20net/sched: use tc_cls_stats_dump() in filterZhengchao Shao1-7/+1
2022-03-03bpf: Keep the (rcv) timestamp behavior for the existing tc-bpf@ingressMartin KaFai Lau1-0/+2
2021-08-17bpf: Refactor BPF_PROG_RUN into a functionAndrii Nakryiko1-2/+2
2021-08-02net_sched: refactor TC action init APICong Wang1-4/+4
2021-06-24bpf, sched: Remove unneeded rcu_read_lock() around BPF program invocationToke Høiland-Jørgensen1-3/+0
2020-01-27net_sched: fix ops->bind_class() implementationsCong Wang1-3/+8
2019-11-01net: cls_bpf: fix NULL deref on offload filter removalJakub Kicinski1-2/+6
2019-08-26net: sched: refactor block offloads counter usageVlad Buslov1-20/+18
2019-07-19net: flow_offload: rename tc_setup_cb_t to flow_setup_cb_tPablo Neira Ayuso1-1/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-05-07net/sched: remove block pointer from common offload structurePieter Jansen van Vuuren1-5/+3
2019-05-05net/sched: add block pointer to tc_cls_common_offload structurePieter Jansen van Vuuren1-3/+4
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-2/+2
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-1/+1
2019-02-22net_sched: initialize net pointer inside tcf_exts_init()Cong Wang1-1/+1
2019-02-12net: sched: extend proto ops to support unlocked classifiersVlad Buslov1-5/+7
2019-02-12net: sched: track rtnl lock status when validating extensionsVlad Buslov1-1/+2
2018-12-14net_sched: fold tcf_block_cb_call() into tc_setup_cb_call()Cong Wang1-2/+2
2018-07-29cls_bpf: Use kmemdup instead of duplicating it in cls_bpf_prog_from_opsYueHaibing1-3/+1
2018-06-26net: sched: cls_bpf: implement offload tcf_proto_opJohn Hurley1-0/+39
2018-05-24net_sched: switch to rcu_workCong Wang1-16/+6
2018-02-06cls_bpf: Convert to use idr_alloc_u32Matthew Wilcox1-14/+10
2018-02-06idr: Delete idr_replace_ext functionMatthew Wilcox1-1/+1
2018-02-06idr: Delete idr_remove_ext functionMatthew Wilcox1-2/+2
2018-01-24cls_bpf: propagate extack to offload delete callbackJakub Kicinski1-6/+8
2018-01-24cls_bpf: pass offload flags to tc_cls_common_offload_init()Jakub Kicinski1-2/+3
2018-01-24cls_bpf: remove gen_flags from bpf_offloadJakub Kicinski1-2/+0
2018-01-24net: sched: prepare for reimplementation of tc_cls_common_offload_init()Jakub Kicinski1-2/+2
2018-01-24net: sched: propagate extack to cls->destroy callbacksJakub Kicinski1-1/+2
2018-01-22net: sched: add extack support for offload via tc_cls_common_offloadQuentin Monnet1-2/+2
2018-01-22net: sched: cls_bpf: plumb extack support in filter for hardware offloadQuentin Monnet1-6/+8
2018-01-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+8
2018-01-19net: sched: cls: add extack support for delete callbackAlexander Aring1-1/+2
2018-01-19net: sched: cls: add extack support for tcf_exts_validateAlexander Aring1-3/+5
2018-01-19net: sched: cls: add extack support for change callbackAlexander Aring1-1/+1
2018-01-17bpf: fix cls_bpf on filter replaceDaniel Borkmann1-1/+8
2018-01-17net: sched: keep track of offloaded filters and check tc offload featureJiri Pirko1-1/+4
2018-01-17net: sched: introduce block mechanism to handle netif_keep_dst callsJiri Pirko1-2/+2
2017-12-20cls_bpf: fix offload assumptions after callback conversionJakub Kicinski1-55/+38
2017-11-28cls_bpf: don't decrement net's refcount when offload failsJakub Kicinski1-10/+13
2017-11-21bpf: offload: move offload device validation out to the driversJakub Kicinski1-5/+3
2017-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2017-11-09cls_bpf: use tcf_exts_get_net() before call_rcu()Cong Wang1-1/+6
2017-11-05cls_bpf: allow attaching programs loaded for specific deviceJakub Kicinski1-3/+7
2017-11-03net: sched: cls_bpf: use bitwise & rather than logical && on gen_flagsColin Ian King1-1/+1
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+17
2017-10-29net_sched: use tcf_queue_work() in bpf filterCong Wang1-2/+17
2017-10-21net: sched: avoid ndo_setup_tc calls for TC_SETUP_CLS*Jiri Pirko1-14/+0
2017-10-21net: sched: cls_bpf: call block callbacks for offloadJiri Pirko1-8/+32
2017-09-28net_sched: use idr to allocate bpf filter handlesCong Wang1-29/+28
2017-09-26bpf: rename bpf_compute_data_end into bpf_compute_data_pointersDaniel Borkmann1-2/+2
2017-08-31net_sched: add reverse binding for tc classCong Wang1-0/+9
2017-08-11net: sched: remove cops->tcf_cl_offloadJiri Pirko1-2/+2
2017-08-07net_sched: use void pointer for filter handleWANG Cong1-15/+12
2017-08-07net: sched: get rid of struct tc_to_netdevJiri Pirko1-12/+9
2017-08-07net: sched: push cls related args into cls_common structureJiri Pirko1-5/+2
2017-08-07net: sched: make type an argument for ndo_setup_tcJiri Pirko1-2/+2
2017-08-04net: sched: cls_bpf: no need to call tcf_exts_change for newly allocated structJiri Pirko1-19/+6
2017-08-04net: sched: cls_bpf: rename cls_bpf_modify_existing functionJiri Pirko1-6/+4
2017-06-21bpf: expose prog id for cls_bpf and act_bpfDaniel Borkmann1-0/+3
2017-06-08net: propagate tc filter chain index down the ndo_setup_tc callJiri Pirko1-0/+1
2017-06-06net: sched: introduce a TRAP control actionJiri Pirko1-0/+1
2017-04-21net_sched: move the empty tp check from ->destroy() to ->delete()WANG Cong1-6/+5
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+2
2017-02-17net/sched: cls_bpf: Reflect HW offload statusOr Gerlitz1-2/+11
2017-01-16bpf: rework prog_digest into prog_tagDaniel Borkmann1-2/+2
2016-12-05bpf: add prog_digest and expose it via fdinfo/netlinkDaniel Borkmann1-0/+8
2016-12-05bpf, cls: consolidate prog deletion pathDaniel Borkmann1-17/+13
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+0
2016-11-28net, sched: respect rcu grace period on cls destructionDaniel Borkmann1-4/+0
2016-11-27bpf: drop useless bpf_fd member from cls/actDaniel Borkmann1-8/+1
2016-10-29netlink: Add nla_memdup() to wrap kmemdup() use on nlattrThomas Graf1-3/+1
2016-09-21net: cls_bpf: allow offloaded filters to update statsJakub Kicinski1-0/+11
2016-09-21net: cls_bpf: add support for marking filters as hardware-onlyJakub Kicinski1-9/+25
2016-09-21net: cls_bpf: limit hardware offload by software-only flagJakub Kicinski1-2/+20
2016-09-21net: cls_bpf: add hardware offloadJakub Kicinski1-0/+70
2016-09-19net sched: stylistic cleanupsJamal Hadi Salim1-2/+4
2016-09-15bpf: drop unnecessary test in cls_bpf_classify and tcf_bpfDaniel Borkmann1-3/+0
2016-08-22net_sched: properly handle failure case of tcf_exts_init()WANG Cong1-10/+17
2016-07-01bpf: refactor bpf_prog_get and type check into helperDaniel Borkmann1-6/+1
2016-05-06bpf: wire in data and data_end for cls_act_bpfAlexei Starovoitov1-0/+2
2016-03-18cls_bpf: reset class and reuse major in daDaniel Borkmann1-5/+8
2016-01-10net, sched: add clsact qdiscDaniel Borkmann1-1/+1
2016-01-10net, sched: add skb_at_tc_ingress helperDaniel Borkmann1-5/+1
2015-10-03sched, bpf: add helper for retrieving routing realmsDaniel Borkmann1-2/+6
2015-09-23cls_bpf: further limit exec opcodes subsetDaniel Borkmann1-3/+0
2015-09-23cls_bpf: make binding to classid optionalDaniel Borkmann1-9/+8
2015-09-23cls_bpf: also dump TCA_BPF_FLAGSDaniel Borkmann1-3/+8
2015-09-17bpf: add bpf_redirect() helperAlexei Starovoitov1-0/+1
2015-09-17cls_bpf: introduce integrated actionsDaniel Borkmann1-11/+49
2015-07-21sched: cls_bpf: fix panic on filter replaceDaniel Borkmann1-1/+1
2015-06-07bpf: make programs see skb->data == L2 for ingress and egressAlexei Starovoitov1-1/+15
2015-04-16bpf: fix bpf helpers to use skb->mac_header relative offsetsAlexei Starovoitov1-0/+3
2015-03-12cls_bpf: do eBPF invocation under non-bh RCU lock variant for mapsDaniel Borkmann1-3/+6
2015-03-09net_sched: destroy proto tp when all filters are goneCong Wang1-1/+5
2015-03-01cls_bpf: add initial eBPF support for programmable classifiersDaniel Borkmann1-52/+154
2015-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+13
2015-01-26net: cls_bpf: fix auto generation of per list handlesDaniel Borkmann1-2/+8
2015-01-26net: cls_bpf: fix size mismatch on filter preparationDaniel Borkmann1-0/+5
2015-01-17tc: cls_bpf: rename bpf_len to bpf_num_opsJiri Pirko1-9/+9
2014-12-09net: sched: cls: remove unused op put from tcf_proto_opsJiri Pirko1-5/+0
2014-12-08net_sched: cls_bpf: remove faulty use of list_for_each_entry_rcuJiri Pirko1-2/+2
2014-12-08net_sched: cls_bpf: remove unnecessary iteration and use passed argJiri Pirko1-12/+5
2014-10-06net: sched: do not use tcf_proto 'tp' argument from call_rcuJohn Fastabend1-1/+3
2014-09-28net_sched: remove the first parameter from tcf_exts_destroy()WANG Cong1-2/+2
2014-09-15net_sched: fix suspicious RCU usage in cls_bpf_classify()WANG Cong1-1/+1
2014-09-13net: sched: rcu'ify cls_bpfJohn Fastabend1-47/+47
2014-08-02net: filter: split 'struct sk_filter' into socket and bpf partsAlexei Starovoitov1-6/+6
2014-05-23net: filter: let unattached filters use sock_fprog_kernDaniel Borkmann1-2/+2
2014-04-27sched, cls: check if we could overwrite actions when changing a filterCong Wang1-5/+5
2014-01-13net_sched: add struct net pointer to tcf_proto_ops->dumpWANG Cong1-1/+1
2013-12-18net_sched: cls: refactor out struct tcf_ext_mapWANG Cong1-9/+5
2013-12-18net_sched: act: use standard struct list_headWANG Cong1-0/+1
2013-12-10net_sched: cls_bpf: use tabs to do indentYang Yingliang1-1/+1
2013-10-29net: sched: cls_bpf: add BPF-based classifierDaniel Borkmann1-0/+385