Home
last modified time | relevance | path

Searched defs:flow (Results 1 – 25 of 143) sorted by relevance

123456

/linux/drivers/net/phy/mscc/
H A Dmscc_macsec.c371 struct macsec_flow *flow) in vsc8584_macsec_flow()
462 struct macsec_flow *flow) in vsc8584_macsec_flow_enable()
481 struct macsec_flow *flow) in vsc8584_macsec_flow_disable()
495 static u32 vsc8584_macsec_flow_context_id(struct macsec_flow *flow) in vsc8584_macsec_flow_context_id()
520 struct macsec_flow *flow, in vsc8584_macsec_transformation()
605 struct macsec_flow *flow; in vsc8584_macsec_alloc_flow() local
628 struct macsec_flow *flow) in vsc8584_macsec_free_flow()
639 struct macsec_flow *flow) in vsc8584_macsec_add_flow()
647 struct macsec_flow *flow; in vsc8584_macsec_default_flows() local
684 struct macsec_flow *flow) in vsc8584_macsec_del_flow()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dflowring.c43 brcmf_flowring_is_tdls_mac(struct brcmf_flowring *flow, u8 mac[ETH_ALEN]) in brcmf_flowring_is_tdls_mac()
59 u32 brcmf_flowring_lookup(struct brcmf_flowring *flow, u8 da[ETH_ALEN], in brcmf_flowring_lookup()
103 u32 brcmf_flowring_create(struct brcmf_flowring *flow, u8 da[ETH_ALEN], in brcmf_flowring_create()
168 u8 brcmf_flowring_tid(struct brcmf_flowring *flow, u16 flowid) in brcmf_flowring_tid()
178 static void brcmf_flowring_block(struct brcmf_flowring *flow, u16 flowid, in brcmf_flowring_block()
227 void brcmf_flowring_delete(struct brcmf_flowring *flow, u16 flowid) in brcmf_flowring_delete()
259 u32 brcmf_flowring_enqueue(struct brcmf_flowring *flow, u16 flowid, in brcmf_flowring_enqueue()
285 struct sk_buff *brcmf_flowring_dequeue(struct brcmf_flowring *flow, u16 flowid) in brcmf_flowring_dequeue()
306 void brcmf_flowring_reinsert(struct brcmf_flowring *flow, u16 flowid, in brcmf_flowring_reinsert()
317 u32 brcmf_flowring_qlen(struct brcmf_flowring *flow, u16 flowid) in brcmf_flowring_qlen()
[all …]
/linux/include/net/
H A Dfq_impl.h16 __fq_adjust_removal(struct fq *fq, struct fq_flow *flow, unsigned int packets, in __fq_adjust_removal()
41 struct fq_flow *flow, in fq_adjust_removal()
48 struct fq_flow *flow) in fq_flow_dequeue()
63 static int fq_flow_drop(struct fq *fq, struct fq_flow *flow, in fq_flow_drop()
94 struct fq_flow *flow; in fq_tin_dequeue() local
148 struct fq_flow *flow; in fq_flow_classify() local
168 struct fq_flow *flow = NULL; in fq_find_fattest_flow() local
202 struct fq_flow *flow; in fq_tin_enqueue() local
253 struct fq_flow *flow, in fq_flow_filter()
279 struct fq_flow *flow; in fq_tin_filter() local
[all …]
/linux/net/openvswitch/
H A Dflow_table.c74 struct sw_flow *flow; in ovs_flow_alloc() local
108 flow_free(struct sw_flow * flow) flow_free() argument
129 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); rcu_free_flow_callback() local
134 ovs_flow_free(struct sw_flow * flow,bool deferred) ovs_flow_free() argument
460 table_instance_flow_free(struct flow_table * table,struct table_instance * ti,struct table_instance * ufid_ti,struct sw_flow * flow) table_instance_flow_free() argument
483 struct sw_flow *flow; table_instance_flow_flush() local
526 struct sw_flow *flow; ovs_flow_tbl_dump_next() local
557 table_instance_insert(struct table_instance * ti,struct sw_flow * flow) table_instance_insert() argument
566 ufid_table_instance_insert(struct table_instance * ti,struct sw_flow * flow) ufid_table_instance_insert() argument
585 struct sw_flow *flow; flow_table_copy_flows() local
678 flow_cmp_masked_key(const struct sw_flow * flow,const struct sw_flow_key * key,const struct sw_flow_key_range * range) flow_cmp_masked_key() argument
685 ovs_flow_cmp_unmasked_key(const struct sw_flow * flow,const struct sw_flow_match * match) ovs_flow_cmp_unmasked_key() argument
701 struct sw_flow *flow; masked_flow_lookup() local
734 struct sw_flow *flow; flow_lookup() local
791 struct sw_flow *flow; ovs_flow_tbl_lookup_stats() local
852 struct sw_flow *flow; ovs_flow_tbl_lookup() local
876 struct sw_flow *flow; ovs_flow_tbl_lookup_exact() local
897 ovs_flow_cmp_ufid(const struct sw_flow * flow,const struct sw_flow_id * sfid) ovs_flow_cmp_ufid() argument
906 ovs_flow_cmp(const struct sw_flow * flow,const struct sw_flow_match * match) ovs_flow_cmp() argument
919 struct sw_flow *flow; ovs_flow_tbl_lookup_ufid() local
954 ovs_flow_tbl_remove(struct flow_table * table,struct sw_flow * flow) ovs_flow_tbl_remove() argument
1004 flow_mask_insert(struct flow_table * tbl,struct sw_flow * flow,const struct sw_flow_mask * new) flow_mask_insert() argument
1033 flow_key_insert(struct flow_table * table,struct sw_flow * flow) flow_key_insert() argument
1057 flow_ufid_insert(struct flow_table * table,struct sw_flow * flow) flow_ufid_insert() argument
1079 ovs_flow_tbl_insert(struct flow_table * table,struct sw_flow * flow,const struct sw_flow_mask * mask) ovs_flow_tbl_insert() argument
[all...]
H A Ddatapath.c250 struct sw_flow *flow; in ovs_dp_process_packet() local
617 struct sw_flow *flow; in ovs_packet_cmd_execute() local
833 ovs_flow_cmd_fill_stats(const struct sw_flow * flow,struct sk_buff * skb) ovs_flow_cmd_fill_stats() argument
861 ovs_flow_cmd_fill_actions(const struct sw_flow * flow,struct sk_buff * skb,int skb_orig_len) ovs_flow_cmd_fill_actions() argument
901 ovs_flow_cmd_fill_info(const struct sw_flow * flow,int dp_ifindex,struct sk_buff * skb,u32 portid,u32 seq,u32 flags,u8 cmd,u32 ufid_flags) ovs_flow_cmd_fill_info() argument
972 ovs_flow_cmd_build_info(const struct sw_flow * flow,int dp_ifindex,struct genl_info * info,u8 cmd,bool always,u32 ufid_flags) ovs_flow_cmd_build_info() argument
1000 struct sw_flow *flow = NULL, *new_flow; ovs_flow_cmd_new() local
1248 struct sw_flow *flow; ovs_flow_cmd_set() local
1351 struct sw_flow *flow; ovs_flow_cmd_get() local
1410 struct sw_flow *flow = NULL; ovs_flow_cmd_del() local
1507 struct sw_flow *flow; ovs_flow_cmd_dump() local
[all...]
/linux/net/netfilter/
H A Dnf_flow_table_offload.c28 struct flow_offload *flow; member
233 const struct flow_offload *flow, in flow_offload_eth_src()
283 const struct flow_offload *flow, in flow_offload_eth_dst()
343 const struct flow_offload *flow, in flow_offload_ipv4_snat()
374 const struct flow_offload *flow, in flow_offload_ipv4_dnat()
424 const struct flow_offload *flow, in flow_offload_ipv6_snat()
449 const struct flow_offload *flow, in flow_offload_ipv6_dnat()
473 static int flow_offload_l4proto(const struct flow_offload *flow) in flow_offload_l4proto()
493 const struct flow_offload *flow, in flow_offload_port_snat()
527 const struct flow_offload *flow, in flow_offload_port_dnat()
[all …]
H A Dnf_tables_offload.c12 struct nft_flow_rule *flow; in nft_flow_rule_alloc() local
31 void nft_flow_rule_set_addr_type(struct nft_flow_rule *flow, in nft_flow_rule_set_addr_type()
54 struct nft_flow_rule *flow) in nft_flow_rule_transfer_vlan()
92 struct nft_flow_rule *flow; in nft_flow_rule_create() local
146 void nft_flow_rule_destroy(struct nft_flow_rule *flow) in nft_flow_rule_destroy()
249 const struct nft_flow_rule *flow, in nft_flow_cls_offload_setup()
270 struct nft_flow_rule *flow, in nft_flow_offload_cmd()
290 struct nft_flow_rule *flow, in nft_flow_offload_rule()
H A Dnf_flow_table_ip.c25 static int nf_flow_state_check(struct flow_offload *flow, int proto, in nf_flow_state_check()
83 static void nf_flow_snat_ip(const struct flow_offload *flow, in nf_flow_snat_ip()
106 static void nf_flow_dnat_ip(const struct flow_offload *flow, in nf_flow_dnat_ip()
129 static void nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_nat_ip()
503 struct flow_offload *flow; in nf_flow_offload_forward() local
768 struct flow_offload *flow; in nf_flow_offload_ip_hook() local
878 static void nf_flow_snat_ipv6(const struct flow_offload *flow, in nf_flow_snat_ipv6()
901 static void nf_flow_dnat_ipv6(const struct flow_offload *flow, in nf_flow_dnat_ipv6()
924 static void nf_flow_nat_ipv6(const struct flow_offload *flow, in nf_flow_nat_ipv6()
1013 struct flow_offload *flow; in nf_flow_offload_ipv6_forward() local
[all …]
/linux/drivers/gpu/ipu-v3/
H A Dipu-dp.c46 u32 flow; member
64 struct ipu_flow flow[IPUV3_NUM_FLOWS]; member
82 struct ipu_flow *flow = to_flow(dp); in ipu_dp_set_global_alpha() local
117 struct ipu_flow *flow = to_flow(dp); in ipu_dp_set_window_pos() local
128 static void ipu_dp_csc_init(struct ipu_flow *flow, in ipu_dp_csc_init()
187 struct ipu_flow *flow = to_flow(dp); in ipu_dp_setup_channel() local
248 struct ipu_flow *flow = to_flow(dp); in ipu_dp_enable_channel() local
271 struct ipu_flow *flow = to_flow(dp); in ipu_dp_disable_channel() local
316 struct ipu_dp *ipu_dp_get(struct ipu_soc *ipu, unsigned int flow) in ipu_dp_get()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_priv.h147 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set()
154 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
156 static inline bool __flow_flag_test_and_set(struct mlx5e_tc_flow *flow, in __flow_flag_test_and_set()
163 #define flow_flag_test_and_set(flow, flag) \ argument
167 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear()
174 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument
177 static inline bool __flow_flag_test(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_test()
186 #define flow_flag_test(flow, flag) __flow_flag_test(flow, \ argument
/linux/net/sched/
H A Dsch_fq_codel.c116 static inline struct sk_buff *dequeue_head(struct fq_codel_flow *flow) in dequeue_head() argument
126 static inline void flow_queue_add(struct fq_codel_flow *flow, in flow_queue_add() argument
143 struct fq_codel_flow *flow; fq_codel_drop() local
190 struct fq_codel_flow *flow; fq_codel_enqueue() local
260 struct fq_codel_flow *flow; dequeue_func() local
286 struct fq_codel_flow *flow; fq_codel_dequeue() local
328 fq_codel_flow_purge(struct fq_codel_flow * flow) fq_codel_flow_purge() argument
342 struct fq_codel_flow *flow = q->flows + i; fq_codel_reset() local
510 struct fq_codel_flow *flow = q->flows + i; fq_codel_init() local
653 const struct fq_codel_flow *flow = &q->flows[idx]; fq_codel_dump_class_stats() local
[all...]
H A Dcls_flow.c67 static u32 flow_get_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_src()
77 static u32 flow_get_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_dst()
88 const struct flow_keys *flow) in flow_get_proto()
94 const struct flow_keys *flow) in flow_get_proto_src()
103 const struct flow_keys *flow) in flow_get_proto_dst()
153 const struct flow_keys *flow) in flow_get_nfct_src()
166 const struct flow_keys *flow) in flow_get_nfct_dst()
179 const struct flow_keys *flow) in flow_get_nfct_proto_src()
187 const struct flow_keys *flow) in flow_get_nfct_proto_dst()
241 static u32 flow_key_get(struct sk_buff *skb, int key, struct flow_keys *flow) in flow_key_get()
H A Dsch_fq_pie.c119 flow_queue_add(struct fq_pie_flow * flow,struct sk_buff * skb) flow_queue_add() argument
229 dequeue_head(struct fq_pie_flow * flow) dequeue_head() argument
242 struct fq_pie_flow *flow; fq_pie_qdisc_dequeue() local
457 struct fq_pie_flow *flow = q->flows + idx; fq_pie_init() local
542 struct fq_pie_flow *flow = q->flows + idx; fq_pie_reset() local
[all...]
H A Dsch_cake.c647 struct cake_flow *flow, in cake_dec_srchost_bulk_flow_count() argument
656 struct cake_flow *flow, in cake_inc_srchost_bulk_flow_count() argument
665 struct cake_flow *flow, in cake_dec_dsthost_bulk_flow_count() argument
674 cake_inc_dsthost_bulk_flow_count(struct cake_tin_data * q,struct cake_flow * flow,int flow_mode) cake_inc_dsthost_bulk_flow_count() argument
683 cake_get_flow_quantum(struct cake_tin_data * q,struct cake_flow * flow,int flow_mode) cake_get_flow_quantum() argument
912 dequeue_head(struct cake_flow * flow) dequeue_head() argument
926 flow_queue_add(struct cake_flow * flow,struct sk_buff * skb) flow_queue_add() argument
1212 cake_ack_filter(struct cake_sched_data * q,struct cake_flow * flow) cake_ack_filter() argument
1567 struct cake_flow *flow; cake_drop() local
1718 u16 flow = 0, host = 0; cake_classify() local
1761 struct cake_flow *flow; cake_enqueue() local
1972 struct cake_flow *flow = &b->flows[q->cur_flow]; cake_dequeue_one() local
2009 struct cake_flow *flow; cake_dequeue() local
2864 struct cake_flow *flow = b->flows + j; cake_init() local
3119 const struct cake_flow *flow = NULL; cake_dump_class_stats() local
[all...]
H A Dsch_hhf.c184 struct hh_flow_state *flow, *next; seek_list() local
215 struct hh_flow_state *flow; alloc_new_hh() local
252 struct hh_flow_state *flow; hhf_classify() local
485 struct hh_flow_state *flow, *next; hhf_destroy() local
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c881 static u32 tid_rdma_find_phys_blocks_4k(struct tid_rdma_flow *flow, in tid_rdma_find_phys_blocks_4k()
1020 static u32 tid_rdma_find_phys_blocks_8k(struct tid_rdma_flow *flow, in tid_rdma_find_phys_blocks_8k()
1087 static u32 kern_find_pages(struct tid_rdma_flow *flow, in kern_find_pages()
1122 static void dma_unmap_flow(struct tid_rdma_flow *flow) in dma_unmap_flow()
1141 static int dma_map_flow(struct tid_rdma_flow *flow, struct page **pages) in dma_map_flow()
1166 static inline bool dma_mapped(struct tid_rdma_flow *flow) in dma_mapped()
1175 static int kern_get_phys_blocks(struct tid_rdma_flow *flow, in kern_get_phys_blocks()
1204 static inline void kern_add_tid_node(struct tid_rdma_flow *flow, in kern_add_tid_node()
1237 static int kern_alloc_tids(struct tid_rdma_flow *flow) in kern_alloc_tids()
1300 static void kern_program_rcv_group(struct tid_rdma_flow *flow, int grp_num, in kern_program_rcv_group()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c370 struct bnxt_tc_flow *flow) in bnxt_tc_parse_flow()
589 static int bnxt_hwrm_cfa_flow_alloc(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_hwrm_cfa_flow_alloc()
794 struct bnxt_tc_flow *flow, in hwrm_cfa_decap_filter_alloc()
1005 bnxt_tc_get_ref_flow_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_ref_flow_handle()
1045 static bool bnxt_tc_can_offload(struct bnxt *bp, struct bnxt_tc_flow *flow) in bnxt_tc_can_offload()
1154 struct bnxt_tc_flow *flow, in bnxt_tc_get_ref_decap_handle()
1235 struct flowi4 flow = { {0} }; in bnxt_tc_resolve_tunnel_hdrs() local
1304 static int bnxt_tc_get_decap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_decap_handle()
1402 static int bnxt_tc_get_encap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_encap_handle()
1447 struct bnxt_tc_flow *flow, in bnxt_tc_put_tunnel_handle()
[all …]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c472 const struct mvpp2_cls_flow *flow) in mvpp2_cls_flow_prs_init()
480 const struct mvpp2_cls_flow *flow) in mvpp2_cls_flow_lkp_init()
583 const struct mvpp2_cls_flow *flow) in mvpp2_cls_flow_init()
721 const struct mvpp2_cls_flow *mvpp2_cls_flow_get(int flow) in mvpp2_cls_flow_get()
743 const struct mvpp2_cls_flow *flow; in mvpp2_port_rss_hash_opts_set() local
831 const struct mvpp2_cls_flow *flow; in mvpp2_port_rss_hash_opts_get() local
853 const struct mvpp2_cls_flow *flow; in mvpp2_cls_port_init_flows() local
1183 const struct mvpp2_cls_flow *flow; in mvpp2_port_cls_rfs_rule_remove() local
1208 const struct mvpp2_cls_flow *flow; in mvpp2_port_flt_rfs_rule_insert() local
1245 struct flow_rule *flow = rule->flow; in mvpp2_cls_c2_build_match() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dgoto.c10 struct mlx5e_tc_flow *flow, in validate_goto_chain()
66 struct mlx5e_tc_flow *flow = parse_state->flow; in tc_act_can_offload_goto() local
93 struct mlx5e_tc_flow *flow = parse_state->flow; in tc_act_post_parse_goto() local
H A Dact.c75 struct mlx5e_tc_flow *flow, in mlx5e_tc_act_init_parse_state()
118 mlx5e_tc_act_set_next_post_act(struct mlx5e_tc_flow *flow, in mlx5e_tc_act_set_next_post_act()
/linux/samples/bpf/
H A Dsockex2_kern.c63 parse_ip(struct __sk_buff * skb,__u64 nhoff,__u64 * ip_proto,struct flow_key_record * flow) parse_ip() argument
87 parse_ipv6(struct __sk_buff * skb,__u64 nhoff,__u64 * ip_proto,struct flow_key_record * flow) parse_ipv6() argument
101 flow_dissector(struct __sk_buff * skb,struct flow_key_record * flow) flow_dissector() argument
203 struct flow_key_record flow = {}; bpf_prog2() local
[all...]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c56 bool is_pre_ct_flow(struct flow_cls_offload *flow) in is_pre_ct_flow()
88 bool is_post_ct_flow(struct flow_cls_offload *flow) in is_post_ct_flow()
1481 struct flow_cls_offload *flow, in nfp_fl_ct_add_flow()
1807 struct flow_cls_offload *flow, in nfp_fl_ct_handle_pre_ct()
1882 struct flow_cls_offload *flow, in nfp_fl_ct_handle_post_ct()
2063 int nfp_fl_ct_stats(struct flow_cls_offload *flow, in nfp_fl_ct_stats()
2147 nfp_fl_ct_offload_nft_supported(struct flow_cls_offload *flow) in nfp_fl_ct_offload_nft_supported()
2168 nfp_fl_ct_offload_nft_flow(struct nfp_fl_ct_zone_entry *zt, struct flow_cls_offload *flow) in nfp_fl_ct_offload_nft_flow()
2213 struct flow_cls_offload *flow = type_data; in nfp_fl_ct_handle_nft_flow() local
H A Doffload.c589 nfp_flower_update_merge_with_actions(struct nfp_fl_payload *flow, in nfp_flower_update_merge_with_actions()
705 nfp_flower_populate_merge_match(struct nfp_fl_payload *flow, in nfp_flower_populate_merge_match()
1128 struct nfp_fl_payload *flow, in nfp_flower_validate_pre_tun_rule()
1302 static bool offload_pre_check(struct flow_cls_offload *flow) in offload_pre_check()
1333 struct flow_cls_offload *flow) in nfp_flower_add_offload()
1552 struct flow_cls_offload *flow) in nfp_flower_del_offload()
1689 struct flow_cls_offload *flow) in nfp_flower_get_stats()
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dfdir.c172 ice_vc_fdir_alloc_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_alloc_prof()
202 ice_vc_fdir_free_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_free_prof()
223 enum ice_fltr_ptype flow; in ice_vc_fdir_free_prof_all() local
336 enum ice_fltr_ptype flow = conf->input.flow_type; in ice_vc_fdir_set_flow_hdr() local
477 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) in ice_vc_fdir_rem_prof()
531 enum ice_fltr_ptype flow; in ice_vc_fdir_rem_prof_all() local
546 enum ice_fltr_ptype flow; in ice_vc_fdir_reset_cnt_all() local
635 ice_vc_fdir_write_flow_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, in ice_vc_fdir_write_flow_prof()
754 enum ice_fltr_ptype flow; in ice_vc_fdir_config_input_set() local
2319 enum ice_fltr_ptype flow; in ice_vc_del_fdir_fltr() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c137 struct mlx5e_tc_flow *flow) in mlx5_esw_ipsec_modify_flow_dests()
162 struct mlx5e_tc_flow *flow; in mlx5_esw_ipsec_restore_dest_uplink() local

123456