aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_api.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-02net/sched: Load modules via their aliasMichal Koutný1-1/+1
2024-01-07net/sched: simplify tc_action_load_ops parametersPedro Tammela1-5/+5
2024-01-03net/sched: introduce ACT_P_BOUND return codePedro Tammela1-1/+1
2023-12-20net: sched: Add initial TC error skb drop reasonsVictor Nogueira1-1/+2
2023-12-20net: sched: Move drop_reason to struct tc_skb_cbVictor Nogueira1-1/+1
2023-12-13net/sched: act_api: skip idr replace on bound actionsPedro Tammela1-5/+6
2023-12-13net/sched: act_api: rely on rcu in tcf_idr_check_allocPedro Tammela1-22/+43
2023-12-11net/sched: act_api: conditional notification of eventsPedro Tammela1-23/+75
2023-12-11net/sched: act_api: don't open code max()Pedro Tammela1-6/+3
2023-12-05net/sched: act_api: use tcf_act_for_each_action in tcf_idr_insert_manyPedro Tammela1-4/+2
2023-12-05net/sched: act_api: stop loop over ops array on NULL in tcf_action_initPedro Tammela1-4/+2
2023-12-05net/sched: act_api: avoid non-contiguous action arrayPedro Tammela1-12/+21
2023-12-05net/sched: act_api: use tcf_act_for_each_actionPedro Tammela1-7/+5
2023-11-06net, sched: Fix SKB_NOT_DROPPED_YET splat under debug configJamal Hadi Salim1-1/+1
2023-07-10net: sched: Replace strlcpy with strscpyAzeem Shaikh1-1/+1
2023-03-23net/sched: act_api: use the correct TCA_ACT attributes in dumpPedro Tammela1-4/+4
2023-03-16net/sched: act_api: add specific EXT_WARN_MSG for tc actionHangbin Liu1-4/+4
2023-03-16Revert "net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"Hangbin Liu1-2/+2
2023-02-27net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchyPedro Tammela1-2/+2
2023-02-20net/sched: cls_api: Support hardware miss to tc actionPaul Blakey1-1/+1
2023-02-20net/sched: Rename user cookie and act cookiePaul Blakey1-13/+13
2023-02-14net/sched: support per action hw statsOz Shlomo1-8/+0
2023-02-14net/sched: introduce flow_offload action cookieOz Shlomo1-0/+1
2023-02-14net/sched: optimize action stats api callsOz Shlomo1-3/+2
2023-01-17sched: add new attr TCA_EXT_WARN_MSG to report tc extact messageHangbin Liu1-5/+10
2022-12-09net/sched: avoid indirect act functions on retpoline kernelsPedro Tammela1-1/+2
2022-09-09net: sched: act_api: implement generic walker and search for tc actionZhengchao Shao1-4/+29
2022-06-27net/sched: act_api: Notify user space if any actions were flushed before errorVictor Nogueira1-8/+14
2022-04-08net/sched: act_api: Add extack to offload_act_setup() callbackIdo Schimmel1-2/+2
2022-03-02flow_offload: improve extack msg for user when adding invalid filterBaowen Zheng1-0/+2
2022-02-23net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MODWan Jiabing1-1/+1
2022-02-16net: sched: limit TC_ACT_REPEAT loopsEric Dumazet1-3/+10
2021-12-23flow_offload: fix suspicious RCU usage when offloading tc actionBaowen Zheng1-2/+9
2021-12-19flow_offload: validate flags of filter and actionsBaowen Zheng1-3/+15
2021-12-19flow_offload: add reoffload process to update hw_countBaowen Zheng1-17/+235
2021-12-19net: sched: save full flags for tc actionBaowen Zheng1-3/+5
2021-12-19flow_offload: add process to update action stats from hardwareBaowen Zheng1-0/+34
2021-12-19flow_offload: add skip_hw and skip_sw to control if offload the actionBaowen Zheng1-6/+77
2021-12-19flow_offload: allow user to offload tc action to net deviceBaowen Zheng1-0/+93
2021-10-18net: sched: Remove Qdisc::running sequence counterAhmed S. Darwish1-4/+5
2021-10-18net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data typesAhmed S. Darwish1-7/+7
2021-10-18net: sched: Protect Qdisc::bstats with u64_statsAhmed S. Darwish1-0/+2
2021-08-02net_sched: refactor TC action init APICong Wang1-30/+31
2021-07-16net/sched: Remove unnecessary if statementYajun Deng1-10/+2
2021-06-17net: sched: fix error return code in tcf_del_walker()Yang Yingliang1-1/+2
2021-04-08net: sched: fix err handler in tcf_action_init()Vlad Buslov1-10/+16
2021-04-08net: sched: fix action overwrite reference countingVlad Buslov1-7/+15
2021-04-08Revert "net: sched: bump refcount for new action in ACT replace mode"Vlad Buslov1-3/+0
2021-03-30net: sched: bump refcount for new action in ACT replace modeKumar Kartikeya Dwivedi1-0/+3
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2021-02-16net: sched: fix police ext initializationVlad Buslov1-1/+1
2021-01-18net_sched: fix RTNL deadlock again caused by request_module()Cong Wang1-38/+66
2020-11-27net/sched: sch_frag: add generic packet fragment support.wenxu1-0/+16
2020-11-25net: sched: alias action flags with TCA_ACT_ prefixVlad Buslov1-5/+5
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-1/+1
2020-11-16Modify return value of nla_strlcpy to match that of strscpy.Francis Laniel1-1/+1
2020-11-10net: sched: fix misspellings using misspell-fixer toolMenglong Dong1-1/+1
2020-11-05net: sched: implement action-specific terse dumpVlad Buslov1-32/+37
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-25/+29
2020-10-04net_sched: check error pointer in tcf_dump_walker()Cong Wang1-0/+2
2020-09-28net_sched: remove a redundant goto chain checkCong Wang1-14/+0
2020-09-24net_sched: commit action insertions togetherCong Wang1-9/+23
2020-09-24net_sched: defer tcf_idr_insert() in tcf_action_init_1()Cong Wang1-18/+20
2020-09-08net: sched: skip an unnecessay checkTom Rix1-2/+3
2020-06-20Remove redundant skb null checkGaurav Singh1-1/+1
2020-06-19net: qos offload add flow status with dropped countPo Liu1-6/+4
2020-05-15net: sched: implement terse dump support in actVlad Buslov1-7/+23
2020-04-30netlink: remove type-unsafe validation_data pointerJohannes Berg1-10/+3
2020-03-30net: sched: expose HW stats types per action used by driversJiri Pirko1-0/+5
2020-03-30net: introduce nla_put_bitfield32() helper and use itJiri Pirko1-16/+8
2020-03-23net: sched: rename more stats_typesJakub Kicinski1-20/+18
2020-03-08sched: act: allow user to specify type of HW stats for a filterJiri Pirko1-0/+36
2020-02-26sched: act: count in the size of action flags bitfieldJiri Pirko1-0/+1
2019-11-26Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2019-11-12net/sched: actions: remove unused 'order'Davide Caratti1-1/+0
2019-11-05net_sched: add TCA_STATS_PKT64 attributeEric Dumazet1-0/+2
2019-10-31Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2019-10-30net: sched: update action implementations to support flagsVlad Buslov1-1/+21
2019-10-30net: sched: extend TCA_ACT space with TCA_ACT_FLAGSVlad Buslov1-2/+8
2019-10-30net: sched: modify stats helper functions to support regular statsVlad Buslov1-5/+14
2019-10-30net: sched: extract common action counters update code into functionVlad Buslov1-0/+14
2019-10-30net/sched: Replace rcu_swap_protected() with rcu_replace_pointer()Paul E. McKenney1-1/+1
2019-10-15net: avoid potential infinite loop in tc_ctl_action()Eric Dumazet1-6/+8
2019-10-08net_sched: fix backward compatibility for TCA_ACT_KINDCong Wang1-4/+5
2019-09-21net_sched: add policy validation for action attributesCong Wang1-16/+18
2019-07-01idr: fix overflow case for idr_for_each_entry_ul()Cong Wang1-3/+6
2019-05-31Merge tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-7/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-7/+1
2019-05-24net: sched: don't use tc_action->order during action dumpVlad Buslov1-2/+1
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-12/+14
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-7/+7
2019-03-21net/sched: let actions use RCU to access 'goto_chain'Davide Caratti1-8/+10
2019-03-21net/sched: prepare TC actions to properly validate the control actionDavide Caratti1-41/+56
2019-02-10net: Change TCA_ACT_* to TCA_ID_* to match that of TCA_ID_POLICEEli Cohen1-1/+1
2018-12-10net/sched: Remove egdev mechanismOz Shlomo1-221/+0
2018-10-08net: Add extack to nlmsg_parseDavid Ahern1-1/+1
2018-10-05net_sched: convert idrinfo->lock from spinlock to a mutexCong Wang1-22/+22
2018-09-24net/sched: Add hardware specific counters to TC actionsEelco Chaudron1-3/+11
2018-09-21net_sched: change tcf_del_walker() to take idrinfo->lockVlad Buslov1-1/+19
2018-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+12
2018-09-03net: sched: null actions array pointer before releasing actionVlad Buslov1-1/+1
2018-08-31Revert "net: sched: act: add extack for lookup callback"Cong Wang1-2/+4
2018-08-29net_sched: reject unknown tcfa_action valuesPaolo Abeni1-5/+11
2018-08-21net_sched: remove list_head from tc_actionCong Wang1-1/+0
2018-08-21net_sched: remove unused tcf_idr_check()Cong Wang1-19/+3
2018-08-21net_sched: remove unused parameter for tcf_action_delete()Cong Wang1-3/+2
2018-08-21net_sched: remove unnecessary ops->delete()Cong Wang1-8/+7
2018-08-21net_sched: improve and refactor tcf_action_put_many()Cong Wang1-16/+15
2018-07-30net/sched: user-space can't set unknown tcfa_action valuesPaolo Abeni1-0/+14
2018-07-27net: sched: don't dump chains only held by actionsJiri Pirko1-2/+2
2018-07-11net: sched: fix unprotected access to rcu cookie pointerVlad Buslov1-2/+7
2018-07-08net: sched: Fix warnings from xchg() on RCU'd cookie pointer.David S. Miller1-1/+1
2018-07-08net: sched: change action API to use array of pointers to actionsVlad Buslov1-39/+50
2018-07-08net: sched: atomically check-allocate actionVlad Buslov1-20/+72
2018-07-08net: sched: use reference counting action initVlad Buslov1-18/+17
2018-07-08net: sched: don't release reference on action overwriteVlad Buslov1-2/+0
2018-07-08net: sched: implement reference counted action releaseVlad Buslov1-22/+62
2018-07-08net: sched: implement action API that deletes action by indexVlad Buslov1-0/+39
2018-07-08net: sched: always take reference to actionVlad Buslov1-26/+20
2018-07-08net: sched: implement unlocked action init APIVlad Buslov1-7/+11
2018-07-08net: sched: change type of reference and bind countersVlad Buslov1-10/+22
2018-07-08net: sched: use rcu for action cookie updateVlad Buslov1-14/+30
2018-05-22net: sched: don't disable bh when accessing action idrVlad Buslov1-10/+10
2018-04-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-27net sched actions: fix dumping which requires several messages to user spaceCraig Dillabaugh1-1/+3
2018-03-23net/sched: remove tcf_idr_cleanup()Davide Caratti1-8/+0
2018-03-09net sched actions: calculate add/delete event message sizeRoman Mashak1-0/+43
2018-03-09net sched actions: update Add/Delete action API with new argumentRoman Mashak1-8/+13
2018-03-05net sched actions: corrected extack messageRoman Mashak1-1/+1
2018-02-16net: sched: act: handle extack in tcf_generic_walkerAlexander Aring1-2/+4
2018-02-16net: sched: act: add extack for walk callbackAlexander Aring1-2/+2
2018-02-16net: sched: act: add extack for lookup callbackAlexander Aring1-1/+1
2018-02-16net: sched: act: add extack to init callbackAlexander Aring1-2/+3
2018-02-16net: sched: act: handle generic action errorsAlexander Aring1-32/+61
2018-02-16net: sched: act: add extack to initAlexander Aring1-6/+11
2018-02-16net: sched: act: fix code styleAlexander Aring1-6/+6
2018-02-16net: Revert sched action extack support series.David S. Miller1-17/+12
2018-02-16net: sched: act: add extack to initAlexander Aring1-6/+11
2018-02-16net: sched: act: fix code styleAlexander Aring1-6/+6
2018-02-16net: sched: fix unbalance in the error path of tca_action_flush()Davide Caratti1-1/+3
2018-02-13net: Convert subsys_initcall() registered pernet_operations from net/schedKirill Tkhai1-0/+1
2018-02-06idr: Rename idr_for_each_entry_extMatthew Wilcox1-3/+3
2018-02-06net sched actions: Convert to use idr_alloc_u32Matthew Wilcox1-35/+25
2018-02-06idr: Delete idr_find_ext functionMatthew Wilcox1-1/+1
2018-02-06idr: Delete idr_replace_ext functionMatthew Wilcox1-1/+1
2018-02-06idr: Delete idr_remove_ext functionMatthew Wilcox1-1/+1
2017-12-05net_sched: remove unused parameter from act cleanup opsCong Wang1-1/+1
2017-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+0
2017-11-09Revert "net_sched: hold netns refcnt for each action"Cong Wang1-2/+0
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2017-11-03net_sched: hold netns refcnt for each actionCong Wang1-0/+2
2017-11-03net_sched: acquire RTNL in tc_action_net_exit()Cong Wang1-0/+2
2017-10-20net/sched: Set the net-device for egress device instanceOr Gerlitz1-0/+1
2017-10-11net: sched: introduce per-egress action device callbacksJiri Pirko1-0/+220
2017-09-13net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walkerJiri Pirko1-2/+4
2017-09-12net_sched: get rid of tcfa_rcuCong Wang1-9/+8
2017-09-05net: sched: don't use GFP_KERNEL under spin lockJakub Kicinski1-2/+6
2017-08-30net/sched: Change act_api and act_xxx modules to use IDRChris Mi1-130/+121
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-3/+3
2017-08-04net: sched: remove check for number of actions in tcf_exts_execJiri Pirko1-1/+2
2017-07-30net sched actions: add time filter for action dumpingJamal Hadi Salim1-1/+20
2017-07-30net sched actions: dump more than TCA_ACT_MAX_PRIO actions per batchJamal Hadi Salim1-10/+40
2017-07-30net sched actions: Use proper root attribute table for actionsJamal Hadi Salim1-2/+2
2017-07-14net sched actions: rename act_get_notify() to tcf_get_notify()Roman Mashak1-2/+2
2017-05-25net_sched: only create filter chains for new filters/actionsWANG Cong1-1/+1
2017-05-17net: sched: add termination action to allow goto chainJiri Pirko1-0/+40
2017-05-17net: sched: push tp down to action initJiri Pirko1-7/+8
2017-05-02net: sched: add helpers to handle extended actionsJiri Pirko1-1/+1
2017-04-25net sched actions: Complete the JUMPX opcodeJamal Hadi Salim1-0/+25
2017-04-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-23/+32
2017-04-20net sched actions: allocate act cookie earlyWolfgang Bumiller1-23/+32
2017-04-17net: rtnetlink: plumb extended ack to doit functionDavid Ahern1-2/+3
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-9/+11
2017-02-26net sched actions: do not overwrite status of action creation.Roman Mashak1-2/+2
2017-02-26net sched actions: decrement module reference count after table flush.Roman Mashak1-4/+1
2017-02-14net_sched: nla_memdup_cookie() can be staticWei Yongjun1-1/+1
2017-01-25net sched actions: Add support for user cookiesJamal Hadi Salim1-0/+45
2017-01-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+2
2017-01-16net sched actions: fix refcnt when GETing of action after bindJamal Hadi Salim1-3/+2
2017-01-08net-tc: extract skip classify bit from tc_verdWillem de Bruijn1-7/+4
2016-12-05net_sched: gen_estimator: complete rewrite of rate estimatorsEric Dumazet1-6/+3
2016-10-29net_sched actions: use nla_parse_nested()Johannes Berg1-2/+1
2016-10-13net_sched: reorder pernet ops and act ops registrationsWANG Cong1-8/+11
2016-09-20net sched actions: fix GETing actionsJamal Hadi Salim1-0/+20
2016-09-19net sched: stylistic cleanupsJamal Hadi Salim1-10/+6
2016-08-17net_sched: convert tcf_exts from list to pointer arrayWANG Cong1-5/+6
2016-08-17net_sched: remove an unnecessary list_del()WANG Cong1-1/+0
2016-08-17net_sched: remove the leftover cleanup_a()WANG Cong1-19/+3
2016-07-25net_sched: get rid of struct tcf_commonWANG Cong1-72/+67
2016-07-25net_sched: move tc_action into tcf_commonWANG Cong1-96/+53
2016-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-06-15net sched actions: bug fix dumping actions directly didnt produce NLMSG_DONEJamal Hadi Salim1-1/+1
2016-06-15net_sched: make tcf_hash_check() booleanWANG Cong1-4/+4
2016-06-07net: sched: do not acquire qdisc spinlock in qdisc/class stats dumpEric Dumazet1-2/+2
2016-06-07net sched: indentation and other OCD stylistic fixesJamal Hadi Salim1-8/+11
2016-06-07net sched actions: introduce timestamp for firsttime useJamal Hadi Salim1-0/+1
2016-04-26sched: align nlattr properly when neededNicolas Dichtel1-2/+5
2016-02-25net_sched: add network namespace support for tc actionsWANG Cong1-55/+58
2016-02-25net_sched: prepare tcf_hashinfo_destroy() for netns supportWANG Cong1-3/+29