aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_flower.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-01pfcp: always set pfcp metadataMichal Swiatkowski1-0/+107
2024-04-01ip_tunnel: convert __be16 tunnel flags to bitmapsAlexander Lobakin1-13/+14
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2024-02-21net/sched: flower: Add lock protection when remove filter handleJianbo Liu1-1/+4
2024-02-02net/sched: Add module aliases for cls_,sch_,act_ modulesMichal Koutný1-0/+1
2024-01-24net/sched: flower: Fix chain template offloadIdo Schimmel1-0/+23
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2023-08-02tc: flower: support for SPIRatheesh Kannoth1-0/+35
2023-07-27net: flower: fix stack-out-of-bounds in fl_set_key_cfm()Eric Dumazet1-2/+3
2023-07-17net: sched: cls_flower: Undo tcf_bind_filter in case of an errorVictor Nogueira1-52/+47
2023-07-12net/sched: flower: Ensure both minimum and maximum ports are specifiedIdo Schimmel1-0/+10
2023-06-12net: flower: add support for matching cfm fieldsZahari Doychev1-0/+102
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2023-06-01net/sched: flower: fix possible OOB write in fl_set_geneve_opt()Hangyu Hua1-0/+3
2023-05-30net/sched: flower: Allow matching on layer 2 missIdo Schimmel1-2/+28
2023-05-05net/sched: flower: fix error handler on replaceVlad Buslov1-1/+2
2023-05-05Revert "net/sched: flower: Fix wrong handle assignment during filter change"Vlad Buslov1-1/+1
2023-05-05net/sched: flower: fix filter idr initializationVlad Buslov1-3/+3
2023-04-27net/sched: flower: Fix wrong handle assignment during filter changeIvan Vecera1-1/+1
2023-03-24fix typos in net/sched/* filesTaichi Nishimura1-1/+1
2023-03-01net/sched: flower: fix fl_change() error recovery pathEric Dumazet1-4/+6
2023-02-20net/sched: flower: Support hardware miss to tc actionPaul Blakey1-1/+12
2023-02-20net/sched: flower: Move filter handle initialization earlierPaul Blakey1-27/+35
2023-02-14net/sched: support per action hw statsOz Shlomo1-1/+1
2023-02-14net/sched: pass flow_stats instead of multiple stats argsOz Shlomo1-6/+1
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: flower: Add L2TPv3 filterWojciech Drewek1-0/+16
2022-07-26net/sched: flower: Add PPPoE filterWojciech Drewek1-0/+64
2022-07-13net: extract port range fields from fl_flow_keyMaksym Glubokiy1-7/+1
2022-04-20net/sched: flower: Consider the number of tags for vlan filtersBoris Sukholitko1-8/+16
2022-04-20net/sched: flower: Add number of vlan tags filterBoris Sukholitko1-0/+14
2022-04-20net/sched: flower: Reduce identation after is_key_vlan refactoringBoris Sukholitko1-17/+17
2022-04-20net/sched: flower: Helper function for vlan ethtype checksBoris Sukholitko1-15/+17
2022-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-5/+13
2022-04-08net/sched: flower: Avoid overwriting error messagesIdo Schimmel1-4/+0
2022-04-08net/sched: act_api: Add extack to offload_act_setup() callbackIdo Schimmel1-2/+4
2022-04-08net/sched: flower: Take verbose flag into account when logging error messagesIdo Schimmel1-6/+6
2022-04-08net/sched: flower: fix parsing of ethertype following VLAN headerVlad Buslov1-5/+13
2022-03-11net/sched: Allow flower to match on GTP optionsWojciech Drewek1-0/+116
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+4
2021-12-19flow_offload: validate flags of filter and actionsBaowen Zheng1-3/+6
2021-12-19flow_offload: rename exts stats update functions with hwBaowen Zheng1-6/+6
2021-12-19flow_offload: rename offload functions with offload instead of flowBaowen Zheng1-4/+4
2021-12-17net/sched: flow_dissector: Fix matching on zone id for invalid connsPaul Blakey1-1/+2
2021-12-17net/sched: Extend qdisc control block with tc control blockPaul Blakey1-1/+2
2021-10-29cls_flower: Fix inability to match GRE/IPIP packetsYoshiki Komachi1-1/+2
2021-09-30net: sched: flower: protect fl_walk() with rcuVlad Buslov1-0/+6
2021-08-02net_sched: refactor TC action init APICong Wang1-9/+9
2021-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2021-03-22net/sched: cls_flower: use nla_get_be32 for TCA_FLOWER_KEY_FLAGSVladimir Oltean1-2/+2
2021-03-22net/sched: cls_flower: use ntohs for struct flow_dissector_key_portsVladimir Oltean1-18/+18
2021-03-17net/sched: cls_flower: fix only mask bit check in the validate_ct_statewenxu1-1/+1
2021-02-23net/sched: cls_flower: validate ct_state for invalid and reply flagswenxu1-0/+15
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+37
2021-02-10net/sched: cls_flower: Reject invalid ct_state flags ruleswenxu1-2/+37
2021-01-29net/sched: cls_flower: Add match on the ct_state reply flagPaul Blakey1-2/+4
2021-01-20net/sched: cls_flower add CT_FLAGS_INVALID flag supportwenxu1-1/+3
2021-01-15cls_flower: call nla_ok() before nla_next()Cong Wang1-9/+13
2020-12-09net: sched: Fix dump of MPLS_OPT_LSE_LABEL attribute in cls_flowerGuillaume Nault1-2/+2
2020-09-14net: sched: initialize with 0 before setting erspan md->uXin Long1-0/+1
2020-09-14net: sched: only keep the available bits when setting vxlan md->gbpXin Long1-1/+3
2020-07-24net/sched: cls_flower: Add hash info to flow classificationAriel Levkovich1-0/+16
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-07-03sched: consistently handle layer3 header accesses in the presence of VLANsToke Høiland-Jørgensen1-1/+1
2020-06-19net: qos offload add flow status with dropped countPo Liu1-0/+1
2020-06-01cls_flower: remove mpls_opts_policyGuillaume Nault1-5/+0
2020-06-01flow_dissector: work around stack frame size warningArnd Bergmann1-9/+8
2020-05-26cls_flower: Support filtering on multiple MPLS Label Stack EntriesGuillaume Nault1-1/+242
2020-05-26flow_dissector: Parse multiple MPLS Label Stack EntriesGuillaume Nault1-16/+36
2020-05-15net: sched: cls_flower: implement terse dump supportVlad Buslov1-0/+43
2020-03-30net: sched: expose HW stats types per action used by driversJiri Pirko1-1/+3
2020-03-26cls_flower: Add extack support for flags keyGuillaume Nault1-4/+7
2020-03-26cls_flower: Add extack support for src and dst port range optionsGuillaume Nault1-8/+18
2020-03-26cls_flower: Add extack support for mpls optionsGuillaume Nault1-5/+18
2020-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-02-17net: sched: correct flower port blockingJason Baron1-0/+1
2020-02-17net: sched: don't take rtnl lock during flow_action setupVlad Buslov1-4/+2
2020-02-13net/sched: flower: add missing validation of TCA_FLOWER_FLAGSDavide Caratti1-0/+1
2020-01-27net_sched: fix ops->bind_class() implementationsCong Wang1-3/+8
2019-12-30net/sched: add delete_empty() to filters and use it in cls_flowerDavide Caratti1-0/+12
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-12-03cls_flower: Fix the behavior using port ranges with hw-offloadYoshiki Komachi1-52/+66
2019-11-21net: sched: allow flower to match erspan optionsXin Long1-0/+145
2019-11-21net: sched: allow flower to match vxlan optionsXin Long1-0/+109
2019-08-26net: sched: flower: don't take rtnl lock for cls hw offloads APIVlad Buslov1-37/+16
2019-08-26net: sched: take reference to action dev before calling offloadsVlad Buslov1-0/+2
2019-08-26net: sched: take rtnl lock in tc_setup_flow_action()Vlad Buslov1-2/+4
2019-08-26net: sched: notify classifier on successful offload add/deleteVlad Buslov1-7/+26
2019-08-26net: sched: refactor block offloads counter usageVlad Buslov1-24/+14
2019-07-19net: flow_offload: rename tc_setup_cb_t to flow_setup_cb_tPablo Neira Ayuso1-1/+1
2019-07-09net: flow_offload: rename tc_cls_flower_offload to flow_cls_offloadPablo Neira Ayuso1-12/+12
2019-07-09net/sched: cls_flower: Add matching on conntrack infoPaul Blakey1-5/+122
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-20/+7
2019-07-01idr: introduce idr_for_each_entry_continue_ul()Cong Wang1-20/+7
2019-06-19net: sched: cls_flower: use flow_dissector for ingress ifindexJiri Pirko1-6/+8
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-16/+18
2019-06-15net: sched: remove NET_CLS_IND config optionJiri Pirko1-2/+1
2019-06-14net: sched: flower: don't call synchronize_rcu() on mask creationVlad Buslov1-16/+18
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-07net/sched: remove block pointer from common offload structurePieter Jansen van Vuuren1-7/+4
2019-05-05net/sched: add block pointer to tc_cls_common_offload structurePieter Jansen van Vuuren1-4/+7
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-12/+13
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-4/+4
2019-04-24net: sched: flower: refactor reoffload for concurrent accessVlad Buslov1-22/+57
2019-04-11net: sched: flower: fix filter net reference countingVlad Buslov1-11/+6
2019-04-11net: sched: flower: use correct ht function to prevent duplicatesVlad Buslov1-3/+3
2019-04-07net: sched: flower: insert filter to ht before offloading it to hwVlad Buslov1-20/+44
2019-04-04net: sched: ensure tc flower reoffload takes filter refJohn Hurley1-42/+46
2019-03-21net: sched: flower: set unlocked flag for flower proto opsVlad Buslov1-2/+1
2019-03-21net: sched: flower: track rtnl lock stateVlad Buslov1-26/+56
2019-03-21net: sched: flower: protect flower classifier state with spinlockVlad Buslov1-7/+32
2019-03-21net: sched: flower: handle concurrent tcf proto deletionVlad Buslov1-0/+8
2019-03-21net: sched: flower: handle concurrent filter insertion in fl_changeVlad Buslov1-0/+9
2019-03-21net: sched: flower: protect masks list with spinlockVlad Buslov1-0/+8
2019-03-21net: sched: flower: handle concurrent mask insertionVlad Buslov1-7/+34
2019-03-21net: sched: flower: add reference counter to flower maskVlad Buslov1-5/+17
2019-03-21net: sched: flower: track filter deletion with flagVlad Buslov1-10/+29
2019-03-21net: sched: flower: introduce reference counting for filtersVlad Buslov1-14/+82
2019-03-21net: sched: flower: refactor fl_changeVlad Buslov1-39/+41
2019-03-21net: sched: flower: don't check for rtnl on head dereferenceVlad Buslov1-7/+17
2019-03-06net: sched: flower: insert new filter to idr after setting its maskVlad Buslov1-21/+22
2019-02-22net_sched: initialize net pointer inside tcf_exts_init()Cong Wang1-1/+1
2019-02-13net: sched: flower: only return error from hw offload if skip_swVlad Buslov1-2/+10
2019-02-12net: sched: extend proto ops to support unlocked classifiersVlad Buslov1-5/+8
2019-02-12net: sched: track rtnl lock status when validating extensionsVlad Buslov1-1/+2
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+5
2019-02-06cls_flower: don't expose TC actions to drivers anymorePablo Neira Ayuso1-5/+0
2019-02-06flow_offload: add statistics retrieval infrastructure and use itPablo Neira Ayuso1-0/+4
2019-02-06cls_api: add translator to flow_action representationPablo Neira Ayuso1-0/+14
2019-02-06flow_offload: add flow action infrastructurePablo Neira Ayuso1-3/+4
2019-02-06flow_offload: add flow_rule and flow_match structures and use themPablo Neira Ayuso1-13/+34
2019-02-04net: cls_flower: Remove filter from mask before freeing itPetr Machata1-1/+5
2019-01-17net/sched: cls_flower: allocate mask dynamically in fl_change()Ivan Vecera1-5/+14
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+3
2018-12-19net/sched: cls_flower: Remove old entries from rhashtableRoi Dayan1-4/+3
2018-12-14net_sched: fold tcf_block_cb_call() into tc_setup_cb_call()Cong Wang1-10/+5
2018-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-13/+10
2018-12-09net/sched: cls_flower: Reject duplicated rules also under skip_swOr Gerlitz1-13/+10
2018-11-15net: sched: cls_flower: Classify packets using port rangesAmritha Nambiar1-6/+149
2018-11-10net: sched: cls_flower: validate nested enc_opts_policy to avoid warningJakub Kicinski1-1/+13
2018-10-05net_sched: convert idrinfo->lock from spinlock to a mutexCong Wang1-11/+2
2018-09-21net_sched: change tcf_del_walker() to take idrinfo->lockVlad Buslov1-2/+11
2018-09-19net: sched: Use FIELD_SIZEOF directly instead of reimplementing its functionzhong jiang1-1/+1
2018-09-10net: sched: cls_flower: dump offload count valueVlad Buslov1-1/+4
2018-08-07net: sched: cls_flower: set correct offload data in fl_reoffloadVlad Buslov1-2/+2
2018-08-07net/sched: allow flower to match tunnel optionsPieter Jansen van Vuuren1-1/+243
2018-08-05net: sched: cls_flower: Fix an error code in fl_tmplt_create()Dan Carpenter1-1/+3
2018-07-25net/sched: cls_flower: Use correct inline function for assignment of vlan tpidJianbo Liu1-2/+2
2018-07-23net: sched: cls_flower: propagate chain teplate creation and destruction to d...Jiri Pirko1-0/+39
2018-07-23net: sched: cls_flower: implement chain templatesJiri Pirko1-1/+105
2018-07-23net: sched: cls_flower: change fl_init_dissector to accept mask and dissectorJiri Pirko1-21/+22
2018-07-23net: sched: cls_flower: move key/mask dumping into a separate functionJiri Pirko1-25/+37
2018-07-19net/sched: cls_flower: Support matching on ip tos and ttl for tunnelsOr Gerlitz1-15/+28
2018-07-13net: sched: refactor flower walk to iterate over idrVlad Buslov1-11/+9
2018-07-11net/sched: flower: Fix null pointer dereference when run tc vlan commandJianbo Liu1-22/+26
2018-07-07net/sched: flower: Add supprt for matching on QinQ vlan headersJianbo Liu1-14/+51
2018-07-07net/sched: flower: Dump the ethertype encapsulated in vlanJianbo Liu1-0/+4
2018-07-07net/sched: flower: Add support for matching on vlan ethertypeJianbo Liu1-2/+5
2018-06-26net: sched: cls_flower: implement offload tcf_proto_opJohn Hurley1-0/+44
2018-06-22cls_flower: fix use after free in flower S/W pathPaolo Abeni1-4/+17
2018-06-04cls_flower: Fix comparing of old filter mask with new filterPaul Blakey1-1/+1
2018-06-04cls_flower: Fix missing free of rhashtablePaul Blakey1-0/+2
2018-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-05-31cls_flower: Fix incorrect idr release when failing to modify rulePaul Blakey1-1/+1
2018-05-24net_sched: switch to rcu_workCong Wang1-30/+10
2018-05-01cls_flower: Support multiple masks per priorityPaul Blakey1-101/+174
2018-03-08net/sched: cls_flower: Add support to handle first frag as match fieldPieter Jansen van Vuuren1-0/+6
2018-02-06cls_flower: Convert to idr_alloc_u32Matthew Wilcox1-16/+10
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-2/+2
2018-01-24cls_flower: propagate extack to delete callbackJakub Kicinski1-8/+10
2018-01-24cls_flower: pass offload flags to tc_cls_common_offload_init()Jakub Kicinski1-3/+3
2018-01-24net: sched: prepare for reimplementation of tc_cls_common_offload_init()Jakub Kicinski1-3/+3
2018-01-24net: sched: propagate extack to cls->destroy callbacksJakub Kicinski1-1/+1
2018-01-22net: sched: add extack support for offload via tc_cls_common_offloadQuentin Monnet1-3/+3
2018-01-22net: sched: cls_flower: propagate extack support for filter offloadQuentin Monnet1-2/+4
2018-01-19net: sched: cls: add extack support for tcf_change_indevAlexander Aring1-3/+4
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-17net: sched: keep track of offloaded filters and check tc offload featureJiri Pirko1-1/+2
2017-12-05flow_dissector: dissect tunnel info outside __skb_flow_dissect()Simon Horman1-0/+1
2017-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+13
2017-11-09cls_flower: use tcf_exts_get_net() before call_rcu()Cong Wang1-3/+13
2017-10-31net: sched: Identify hardware traffic classes using classidAmritha Nambiar1-0/+2
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+17
2017-10-29net_sched: use tcf_queue_work() in flower filterCong Wang1-3/+16
2017-10-21net: sched: avoid ndo_setup_tc calls for TC_SETUP_CLS*Jiri Pirko1-20/+0
2017-10-21net: sched: use tc_setup_cb_call to call per-block callbacksJiri Pirko1-3/+6
2017-10-16net/sched: cls_flower: Set egress_dev mark when calling into the HW driverOr Gerlitz1-0/+2
2017-10-11net: sched: convert cls_flower->egress_dev users to tc_setup_cb_egdev infraJiri Pirko1-29/+34
2017-10-02flow_dissector: dissect tunnel infoSimon Horman1-25/+0
2017-09-21net_sched: remove cls_flower idr on failureCong Wang1-6/+9
2017-08-31net_sched: add reverse binding for tc classCong Wang1-0/+9
2017-08-30net/sched: Change cls_flower to use IDRChris Mi1-32/+23
2017-08-16net: sched: cls_flower: fix ndo_setup_tc type for stats callJiri Pirko1-1/+1
2017-08-11net: sched: remove cops->tcf_cl_offloadJiri Pirko1-4/+4
2017-08-07net_sched: use void pointer for filter handleWANG Cong1-11/+11