Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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-v5.4/include/net/
Dfq_impl.h15 struct fq_flow *flow, in fq_adjust_removal()
27 static void fq_rejigger_backlog(struct fq *fq, struct fq_flow *flow) in fq_rejigger_backlog()
46 struct fq_flow *flow) in fq_flow_dequeue()
66 struct fq_flow *flow; in fq_tin_dequeue() local
121 struct fq_flow *flow; in fq_flow_classify() local
140 struct fq_flow *flow) in fq_recalc_backlog()
162 struct fq_flow *flow; in fq_tin_enqueue() local
209 struct fq_flow *flow, in fq_flow_filter()
237 struct fq_flow *flow; in fq_tin_filter() local
248 struct fq_flow *flow, in fq_flow_reset()
[all …]
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c13 struct flow_cls_offload *flow, u8 key_type) in nfp_flower_compile_meta_tci()
81 struct flow_cls_offload *flow) in nfp_flower_compile_mac()
133 struct flow_cls_offload *flow) in nfp_flower_compile_tport()
154 struct flow_cls_offload *flow) in nfp_flower_compile_ip_ext()
228 struct flow_cls_offload *flow) in nfp_flower_compile_ipv4()
250 struct flow_cls_offload *flow) in nfp_flower_compile_ipv6()
272 struct flow_cls_offload *flow) in nfp_flower_compile_geneve_opt()
286 struct flow_cls_offload *flow) in nfp_flower_compile_tun_ipv4_addrs()
304 struct flow_cls_offload *flow) in nfp_flower_compile_tun_ip_ext()
322 struct flow_cls_offload *flow) in nfp_flower_compile_ipv4_gre_tun()
[all …]
Dqos_conf.c62 struct tc_cls_matchall_offload *flow, in nfp_flower_install_rate_limiter()
138 struct tc_cls_matchall_offload *flow, in nfp_flower_remove_rate_limiter()
291 struct tc_cls_matchall_offload *flow, in nfp_flower_stats_rate_limiter()
343 struct tc_cls_matchall_offload *flow) in nfp_flower_setup_qos_offload()
Daction.c264 nfp_flower_tun_is_gre(struct flow_cls_offload *flow, int start_idx) in nfp_flower_tun_is_gre()
281 struct flow_cls_offload *flow, in nfp_fl_get_tun_from_act()
435 struct flowi4 flow = {}; in nfp_fl_set_ipv4_tun() local
762 nfp_fl_commit_mangle(struct flow_cls_offload *flow, char *nfp_action, in nfp_fl_commit_mangle()
864 struct flow_cls_offload *flow, char *nfp_action, int *a_len, in nfp_fl_pedit()
951 struct flow_cls_offload *flow, in nfp_flower_loop_action()
1169 struct flow_cls_offload *flow, in nfp_flower_compile_action()
Doffload.c220 struct flow_cls_offload *flow, in nfp_flower_calculate_key_layers()
511 nfp_flower_update_merge_with_actions(struct nfp_fl_payload *flow, in nfp_flower_update_merge_with_actions()
617 nfp_flower_populate_merge_match(struct nfp_fl_payload *flow, in nfp_flower_populate_merge_match()
1017 struct nfp_fl_payload *flow, in nfp_flower_validate_pre_tun_rule()
1117 struct flow_cls_offload *flow) in nfp_flower_add_offload()
1289 struct flow_cls_offload *flow) in nfp_flower_del_offload()
1399 struct flow_cls_offload *flow) in nfp_flower_get_stats()
/Linux-v5.4/net/openvswitch/
Dflow_table.c68 struct sw_flow *flow; in ovs_flow_alloc() local
101 static void flow_free(struct sw_flow *flow) in flow_free()
119 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback() local
124 void ovs_flow_free(struct sw_flow *flow, bool deferred) in ovs_flow_free()
214 struct sw_flow *flow; in table_instance_destroy() local
252 struct sw_flow *flow; in ovs_flow_tbl_dump_next() local
283 struct sw_flow *flow) in table_instance_insert()
292 struct sw_flow *flow) in ufid_table_instance_insert()
311 struct sw_flow *flow; in flow_table_copy_flows() local
408 static bool flow_cmp_masked_key(const struct sw_flow *flow, in flow_cmp_masked_key()
[all …]
Ddatapath.c220 struct sw_flow *flow; in ovs_dp_process_packet() local
540 struct sw_flow *flow; in ovs_packet_cmd_execute() local
730 static int ovs_flow_cmd_fill_stats(const struct sw_flow *flow, in ovs_flow_cmd_fill_stats()
758 static int ovs_flow_cmd_fill_actions(const struct sw_flow *flow, in ovs_flow_cmd_fill_actions()
798 static int ovs_flow_cmd_fill_info(const struct sw_flow *flow, int dp_ifindex, in ovs_flow_cmd_fill_info()
869 static struct sk_buff *ovs_flow_cmd_build_info(const struct sw_flow *flow, in ovs_flow_cmd_build_info()
894 struct sw_flow *flow = NULL, *new_flow; in ovs_flow_cmd_new() local
1134 struct sw_flow *flow; in ovs_flow_cmd_set() local
1237 struct sw_flow *flow; in ovs_flow_cmd_get() local
1296 struct sw_flow *flow = NULL; in ovs_flow_cmd_del() local
[all …]
/Linux-v5.4/net/netfilter/
Dnf_flow_table_core.c18 struct flow_offload flow; member
27 flow_offload_fill_dir(struct flow_offload *flow, struct nf_conn *ct, in flow_offload_fill_dir()
64 struct flow_offload *flow; in flow_offload_alloc() local
153 void flow_offload_free(struct flow_offload *flow) in flow_offload_free()
201 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow) in flow_offload_add()
227 static inline bool nf_flow_has_expired(const struct flow_offload *flow) in nf_flow_has_expired()
233 struct flow_offload *flow) in flow_offload_del()
255 void flow_offload_teardown(struct flow_offload *flow) in flow_offload_teardown()
271 struct flow_offload *flow; in flow_offload_lookup() local
295 void (*iter)(struct flow_offload *flow, void *data), in nf_flow_table_iterate()
[all …]
Dnf_flow_table_ip.c19 static int nf_flow_state_check(struct flow_offload *flow, int proto, in nf_flow_state_check()
92 static int nf_flow_snat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_snat_ip()
117 static int nf_flow_dnat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_dnat_ip()
142 static int nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_nat_ip()
243 struct flow_offload *flow; in nf_flow_offload_ip_hook() local
360 static int nf_flow_snat_ipv6(const struct flow_offload *flow, in nf_flow_snat_ipv6()
385 static int nf_flow_dnat_ipv6(const struct flow_offload *flow, in nf_flow_dnat_ipv6()
410 static int nf_flow_nat_ipv6(const struct flow_offload *flow, in nf_flow_nat_ipv6()
474 struct flow_offload *flow; in nf_flow_offload_ipv6_hook() local
Dnft_payload.c157 struct nft_flow_rule *flow, in nft_payload_offload_ll()
185 struct nft_flow_rule *flow, in nft_payload_offload_ip()
221 struct nft_flow_rule *flow, in nft_payload_offload_ip6()
257 struct nft_flow_rule *flow, in nft_payload_offload_nh()
277 struct nft_flow_rule *flow, in nft_payload_offload_tcp()
305 struct nft_flow_rule *flow, in nft_payload_offload_udp()
333 struct nft_flow_rule *flow, in nft_payload_offload_th()
353 struct nft_flow_rule *flow, in nft_payload_offload()
Dnft_cmp.c112 struct nft_flow_rule *flow, in __nft_cmp_offload()
134 struct nft_flow_rule *flow, in nft_cmp_offload()
180 struct nft_flow_rule *flow, in nft_cmp_fast_offload()
Dnf_tables_offload.c12 struct nft_flow_rule *flow; in nft_flow_rule_alloc() local
35 struct nft_flow_rule *flow; in nft_flow_rule_create() local
83 void nft_flow_rule_destroy(struct nft_flow_rule *flow) in nft_flow_rule_destroy()
160 struct nft_flow_rule *flow, in nft_flow_offload_rule()
Dnft_immediate.c129 struct nft_flow_rule *flow, in nft_immediate_offload_verdict()
153 struct nft_flow_rule *flow, in nft_immediate_offload()
/Linux-v5.4/net/sched/
Dsch_atm.c76 struct atm_flow_data *flow; in lookup_flow() local
90 struct atm_flow_data *flow = (struct atm_flow_data *)arg; in atm_tc_graft() local
107 struct atm_flow_data *flow = (struct atm_flow_data *)cl; in atm_tc_leaf() local
116 struct atm_flow_data *flow; in atm_tc_find() local
128 struct atm_flow_data *flow; in atm_tc_bind_filter() local
146 struct atm_flow_data *flow = (struct atm_flow_data *)cl; in atm_tc_put() local
200 struct atm_flow_data *flow = (struct atm_flow_data *)*arg; in atm_tc_change() local
326 struct atm_flow_data *flow = (struct atm_flow_data *)arg; in atm_tc_delete() local
350 struct atm_flow_data *flow; in atm_tc_walk() local
369 struct atm_flow_data *flow = (struct atm_flow_data *)cl; in atm_tc_tcf_block() local
[all …]
Dsch_fq_codel.c117 static inline struct sk_buff *dequeue_head(struct fq_codel_flow *flow) in dequeue_head()
127 static inline void flow_queue_add(struct fq_codel_flow *flow, in flow_queue_add()
144 struct fq_codel_flow *flow; in fq_codel_drop() local
190 struct fq_codel_flow *flow; in fq_codel_enqueue() local
260 struct fq_codel_flow *flow; in dequeue_func() local
286 struct fq_codel_flow *flow; in fq_codel_dequeue() local
330 static void fq_codel_flow_purge(struct fq_codel_flow *flow) in fq_codel_flow_purge()
344 struct fq_codel_flow *flow = q->flows + i; in fq_codel_reset() local
493 struct fq_codel_flow *flow = q->flows + i; in fq_codel_init() local
624 const struct fq_codel_flow *flow = &q->flows[idx]; in fq_codel_dump_class_stats() local
Dcls_flow.c66 static u32 flow_get_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_src()
76 static u32 flow_get_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_dst()
87 const struct flow_keys *flow) in flow_get_proto()
93 const struct flow_keys *flow) in flow_get_proto_src()
102 const struct flow_keys *flow) in flow_get_proto_dst()
152 const struct flow_keys *flow) in flow_get_nfct_src()
165 const struct flow_keys *flow) in flow_get_nfct_dst()
178 const struct flow_keys *flow) in flow_get_nfct_proto_src()
186 const struct flow_keys *flow) in flow_get_nfct_proto_dst()
240 static u32 flow_key_get(struct sk_buff *skb, int key, struct flow_keys *flow) in flow_key_get()
/Linux-v5.4/drivers/gpu/ipu-v3/
Dipu-dp.c45 u32 flow; member
63 struct ipu_flow flow[IPUV3_NUM_FLOWS]; member
81 struct ipu_flow *flow = to_flow(dp); in ipu_dp_set_global_alpha() local
116 struct ipu_flow *flow = to_flow(dp); in ipu_dp_set_window_pos() local
127 static void ipu_dp_csc_init(struct ipu_flow *flow, in ipu_dp_csc_init()
171 struct ipu_flow *flow = to_flow(dp); in ipu_dp_setup_channel() local
229 struct ipu_flow *flow = to_flow(dp); in ipu_dp_enable_channel() local
252 struct ipu_flow *flow = to_flow(dp); in ipu_dp_disable_channel() local
297 struct ipu_dp *ipu_dp_get(struct ipu_soc *ipu, unsigned int flow) in ipu_dp_get()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c216 static struct mlx5e_tc_flow *mlx5e_flow_get(struct mlx5e_tc_flow *flow) in mlx5e_flow_get()
224 struct mlx5e_tc_flow *flow) in mlx5e_flow_put()
232 static void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set()
239 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
241 static bool __flow_flag_test_and_set(struct mlx5e_tc_flow *flow, in __flow_flag_test_and_set()
248 #define flow_flag_test_and_set(flow, flag) \ argument
252 static void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear()
259 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument
262 static bool __flow_flag_test(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_test()
271 #define flow_flag_test(flow, flag) __flow_flag_test(flow, \ argument
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c39 static void mlx5e_tls_set_ipv4_flow(void *flow, struct sock *sk) in mlx5e_tls_set_ipv4_flow()
51 static void mlx5e_tls_set_ipv6_flow(void *flow, struct sock *sk) in mlx5e_tls_set_ipv6_flow()
63 static void mlx5e_tls_set_flow_tcp_ports(void *flow, struct sock *sk) in mlx5e_tls_set_flow_tcp_ports()
73 static int mlx5e_tls_set_flow(void *flow, struct sock *sk, u32 caps) in mlx5e_tls_set_flow()
112 void *flow; in mlx5e_tls_add() local
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c174 struct bnxt_tc_flow *flow) in bnxt_tc_parse_flow()
386 static int bnxt_hwrm_cfa_flow_alloc(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_hwrm_cfa_flow_alloc()
520 struct bnxt_tc_flow *flow, in hwrm_cfa_decap_filter_alloc()
727 bnxt_tc_get_ref_flow_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_ref_flow_handle()
767 static bool bnxt_tc_can_offload(struct bnxt *bp, struct bnxt_tc_flow *flow) in bnxt_tc_can_offload()
876 struct bnxt_tc_flow *flow, in bnxt_tc_get_ref_decap_handle()
957 struct flowi4 flow = { {0} }; in bnxt_tc_resolve_tunnel_hdrs() local
1026 static int bnxt_tc_get_decap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_decap_handle()
1124 static int bnxt_tc_get_encap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_encap_handle()
1169 struct bnxt_tc_flow *flow, in bnxt_tc_put_tunnel_handle()
[all …]
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dtid_rdma.c875 static u32 tid_rdma_find_phys_blocks_4k(struct tid_rdma_flow *flow, in tid_rdma_find_phys_blocks_4k()
1013 static u32 tid_rdma_find_phys_blocks_8k(struct tid_rdma_flow *flow, in tid_rdma_find_phys_blocks_8k()
1080 static u32 kern_find_pages(struct tid_rdma_flow *flow, in kern_find_pages()
1115 static void dma_unmap_flow(struct tid_rdma_flow *flow) in dma_unmap_flow()
1134 static int dma_map_flow(struct tid_rdma_flow *flow, struct page **pages) in dma_map_flow()
1159 static inline bool dma_mapped(struct tid_rdma_flow *flow) in dma_mapped()
1168 static int kern_get_phys_blocks(struct tid_rdma_flow *flow, in kern_get_phys_blocks()
1197 static inline void kern_add_tid_node(struct tid_rdma_flow *flow, in kern_add_tid_node()
1230 static int kern_alloc_tids(struct tid_rdma_flow *flow) in kern_alloc_tids()
1293 static void kern_program_rcv_group(struct tid_rdma_flow *flow, int grp_num, in kern_program_rcv_group()
[all …]
/Linux-v5.4/samples/bpf/
Dsockex2_kern.c62 struct flow_key_record *flow) in parse_ip()
86 struct flow_key_record *flow) in parse_ipv6()
100 struct flow_key_record *flow) in flow_dissector()
202 struct flow_key_record flow = {}; in bpf_prog2() local
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c466 const struct mvpp2_cls_flow *flow) in mvpp2_cls_flow_prs_init()
474 const struct mvpp2_cls_flow *flow) in mvpp2_cls_flow_lkp_init()
577 const struct mvpp2_cls_flow *flow) in mvpp2_cls_flow_init()
715 const struct mvpp2_cls_flow *mvpp2_cls_flow_get(int flow) in mvpp2_cls_flow_get()
737 const struct mvpp2_cls_flow *flow; in mvpp2_port_rss_hash_opts_set() local
825 const struct mvpp2_cls_flow *flow; in mvpp2_port_rss_hash_opts_get() local
847 const struct mvpp2_cls_flow *flow; in mvpp2_cls_port_init_flows() local
1174 const struct mvpp2_cls_flow *flow; in mvpp2_port_cls_rfs_rule_remove() local
1199 const struct mvpp2_cls_flow *flow; in mvpp2_port_flt_rfs_rule_insert() local
1236 struct flow_rule *flow = rule->flow; in mvpp2_cls_c2_build_match() local
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dtls.c187 static void mlx5_fpga_tls_flow_to_cmd(void *flow, void *cmd) in mlx5_fpga_tls_flow_to_cmd()
202 void *flow; in mlx5_fpga_tls_resync_rx() local
240 void *flow, u32 swid, gfp_t flags) in mlx5_fpga_tls_send_teardown_cmd()
269 void *flow; in mlx5_fpga_tls_del_flow() local
551 static int _mlx5_fpga_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in _mlx5_fpga_tls_add_flow()
584 int mlx5_fpga_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in mlx5_fpga_tls_add_flow()

1234567