Home
last modified time | relevance | path

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

123456789

/Linux-v5.15/net/netfilter/
Dnf_flow_table_core.c21 flow_offload_fill_dir(struct flow_offload *flow, in flow_offload_fill_dir()
48 struct flow_offload *flow; in flow_offload_alloc() local
89 static int flow_offload_fill_route(struct flow_offload *flow, in flow_offload_fill_route()
142 static void nft_flow_dst_release(struct flow_offload *flow, in nft_flow_dst_release()
150 int flow_offload_route_init(struct flow_offload *flow, in flow_offload_route_init()
220 static void flow_offload_route_release(struct flow_offload *flow) in flow_offload_route_release()
226 void flow_offload_free(struct flow_offload *flow) in flow_offload_free()
274 unsigned long flow_offload_get_timeout(struct flow_offload *flow) in flow_offload_get_timeout()
293 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow) in flow_offload_add()
327 struct flow_offload *flow) in flow_offload_refresh()
[all …]
Dnf_flow_table_offload.c25 struct flow_offload *flow; member
213 const struct flow_offload *flow, in flow_offload_eth_src()
260 const struct flow_offload *flow, in flow_offload_eth_dst()
317 const struct flow_offload *flow, in flow_offload_ipv4_snat()
344 const struct flow_offload *flow, in flow_offload_ipv4_dnat()
385 const struct flow_offload *flow, in flow_offload_ipv6_snat()
410 const struct flow_offload *flow, in flow_offload_ipv6_dnat()
434 static int flow_offload_l4proto(const struct flow_offload *flow) in flow_offload_l4proto()
454 const struct flow_offload *flow, in flow_offload_port_snat()
484 const struct flow_offload *flow, in flow_offload_port_dnat()
[all …]
Dnf_flow_table_ip.c23 static int nf_flow_state_check(struct flow_offload *flow, int proto, in nf_flow_state_check()
77 static void nf_flow_snat_ip(const struct flow_offload *flow, in nf_flow_snat_ip()
100 static void nf_flow_dnat_ip(const struct flow_offload *flow, in nf_flow_dnat_ip()
123 static void nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, in nf_flow_nat_ip()
335 struct flow_offload *flow; in nf_flow_offload_ip_hook() local
454 static void nf_flow_snat_ipv6(const struct flow_offload *flow, in nf_flow_snat_ipv6()
477 static void nf_flow_dnat_ipv6(const struct flow_offload *flow, in nf_flow_dnat_ipv6()
500 static void nf_flow_nat_ipv6(const struct flow_offload *flow, in nf_flow_nat_ipv6()
572 struct flow_offload *flow; in nf_flow_offload_ipv6_hook() local
Dnft_payload.c197 struct nft_flow_rule *flow, in nft_payload_offload_ll()
266 struct nft_flow_rule *flow, in nft_payload_offload_ip()
306 struct nft_flow_rule *flow, in nft_payload_offload_ip6()
346 struct nft_flow_rule *flow, in nft_payload_offload_nh()
366 struct nft_flow_rule *flow, in nft_payload_offload_tcp()
394 struct nft_flow_rule *flow, in nft_payload_offload_udp()
422 struct nft_flow_rule *flow, in nft_payload_offload_th()
442 struct nft_flow_rule *flow, in nft_payload_offload()
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()
91 struct nft_flow_rule *flow; in nft_flow_rule_create() local
144 void nft_flow_rule_destroy(struct nft_flow_rule *flow) in nft_flow_rule_destroy()
222 const struct nft_flow_rule *flow, in nft_flow_cls_offload_setup()
243 struct nft_flow_rule *flow, in nft_flow_offload_cmd()
263 struct nft_flow_rule *flow, in nft_flow_offload_rule()
/Linux-v5.15/drivers/net/phy/mscc/
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()
521 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, bool update) in vsc8584_macsec_add_flow()
660 struct macsec_flow *flow; in vsc8584_macsec_default_flows() local
697 struct macsec_flow *flow) in vsc8584_macsec_del_flow()
[all …]
/Linux-v5.15/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.15/include/net/
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
249 struct fq_flow *flow, in fq_flow_filter()
275 struct fq_flow *flow; in fq_tin_filter() local
[all …]
/Linux-v5.15/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
327 struct atm_flow_data *flow = (struct atm_flow_data *)arg; in atm_tc_delete() local
351 struct atm_flow_data *flow; in atm_tc_walk() local
370 struct atm_flow_data *flow = (struct atm_flow_data *)cl; in atm_tc_tcf_block() local
[all …]
Dsch_fq_codel.c116 static inline struct sk_buff *dequeue_head(struct fq_codel_flow *flow) in dequeue_head()
126 static inline void flow_queue_add(struct fq_codel_flow *flow, in flow_queue_add()
143 struct fq_codel_flow *flow; in fq_codel_drop() local
189 struct fq_codel_flow *flow; in fq_codel_enqueue() local
259 struct fq_codel_flow *flow; in dequeue_func() local
285 struct fq_codel_flow *flow; in fq_codel_dequeue() local
329 static void fq_codel_flow_purge(struct fq_codel_flow *flow) in fq_codel_flow_purge()
343 struct fq_codel_flow *flow = q->flows + i; in fq_codel_reset() local
500 struct fq_codel_flow *flow = q->flows + i; in fq_codel_init() local
631 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()
Dsch_fq_pie.c117 static inline void flow_queue_add(struct fq_pie_flow *flow, in flow_queue_add()
219 static inline struct sk_buff *dequeue_head(struct fq_pie_flow *flow) in dequeue_head()
232 struct fq_pie_flow *flow; in fq_pie_qdisc_dequeue() local
431 struct fq_pie_flow *flow = q->flows + idx; in fq_pie_init() local
515 struct fq_pie_flow *flow = q->flows + idx; in fq_pie_reset() local
/Linux-v5.15/net/openvswitch/
Dflow_table.c74 struct sw_flow *flow; in ovs_flow_alloc() local
107 static void flow_free(struct sw_flow *flow) in flow_free()
129 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback() local
134 void ovs_flow_free(struct sw_flow *flow, bool deferred) in ovs_flow_free()
464 struct sw_flow *flow) in table_instance_flow_free()
487 struct sw_flow *flow; in table_instance_flow_flush() local
530 struct sw_flow *flow; in ovs_flow_tbl_dump_next() local
561 struct sw_flow *flow) in table_instance_insert()
570 struct sw_flow *flow) in ufid_table_instance_insert()
589 struct sw_flow *flow; in flow_table_copy_flows() local
[all …]
/Linux-v5.15/drivers/gpu/ipu-v3/
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-v5.15/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.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h119 static inline void __flow_flag_set(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_set()
126 #define flow_flag_set(flow, flag) __flow_flag_set(flow, MLX5E_TC_FLOW_FLAG_##flag) argument
128 static inline bool __flow_flag_test_and_set(struct mlx5e_tc_flow *flow, in __flow_flag_test_and_set()
135 #define flow_flag_test_and_set(flow, flag) \ argument
139 static inline void __flow_flag_clear(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_clear()
146 #define flow_flag_clear(flow, flag) __flow_flag_clear(flow, \ argument
149 static inline bool __flow_flag_test(struct mlx5e_tc_flow *flow, unsigned long flag) in __flow_flag_test()
158 #define flow_flag_test(flow, flag) __flow_flag_test(flow, \ argument
Dtc_tun_encap.c48 int mlx5e_tc_set_attr_rx_tun(struct mlx5e_tc_flow *flow, in mlx5e_tc_set_attr_rx_tun()
128 struct mlx5e_tc_flow *flow; in mlx5e_tc_encap_flows_add() local
187 struct mlx5e_tc_flow *flow; in mlx5e_tc_encap_flows_del() local
220 static void mlx5e_take_tmp_flow(struct mlx5e_tc_flow *flow, in mlx5e_take_tmp_flow()
238 struct mlx5e_tc_flow *flow; in mlx5e_take_all_encap_flows() local
252 struct mlx5e_tc_flow *flow; in mlx5e_take_all_route_decap_flows() local
334 struct mlx5e_tc_flow *flow; in mlx5e_tc_update_neigh_used_value() local
461 struct mlx5e_tc_flow *flow, int out_index) in mlx5e_detach_encap()
489 struct mlx5e_tc_flow *flow) in mlx5e_detach_decap()
591 struct mlx5e_tc_flow *flow, in is_duplicated_encap_entry()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c371 struct mlx5e_tc_flow *mlx5e_flow_get(struct mlx5e_tc_flow *flow) in mlx5e_flow_get()
378 void mlx5e_flow_put(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow) in mlx5e_flow_put()
386 bool mlx5e_is_eswitch_flow(struct mlx5e_tc_flow *flow) in mlx5e_is_eswitch_flow()
391 static bool mlx5e_is_ft_flow(struct mlx5e_tc_flow *flow) in mlx5e_is_ft_flow()
396 bool mlx5e_is_offloaded_flow(struct mlx5e_tc_flow *flow) in mlx5e_is_offloaded_flow()
401 static int get_flow_name_space(struct mlx5e_tc_flow *flow) in get_flow_name_space()
408 get_mod_hdr_table(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow) in get_mod_hdr_table()
418 struct mlx5e_tc_flow *flow, in mlx5e_attach_mod_hdr()
438 struct mlx5e_tc_flow *flow) in mlx5e_detach_mod_hdr()
792 struct mlx5e_tc_flow *flow, in mlx5e_hairpin_flow_add()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c40 static int ice_fltr_to_ethtool_flow(enum ice_fltr_ptype flow) in ice_fltr_to_ethtool_flow()
266 ice_fdir_get_hw_prof(struct ice_hw *hw, enum ice_block blk, int flow) in ice_fdir_get_hw_prof()
281 ice_fdir_erase_flow_from_hw(struct ice_hw *hw, enum ice_block blk, int flow) in ice_fdir_erase_flow_from_hw()
318 int flow = (int)flow_type & ~FLOW_EXT; in ice_fdir_rem_flow() local
344 int flow; in ice_fdir_release_flows() local
357 int flow; in ice_fdir_replay_flows() local
491 ice_fdir_alloc_flow_prof(struct ice_hw *hw, enum ice_fltr_ptype flow) in ice_fdir_alloc_flow_prof()
525 enum ice_fltr_ptype flow, enum ice_fd_hw_seg tun) in ice_fdir_set_hw_fltr_rule()
693 ice_create_init_fdir_rule(struct ice_pf *pf, enum ice_fltr_ptype flow) in ice_create_init_fdir_rule()
1336 enum ice_fltr_ptype flow; in ice_vsi_manage_fdir() local
/Linux-v5.15/drivers/infiniband/hw/hfi1/
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-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c370 struct bnxt_tc_flow *flow) in bnxt_tc_parse_flow()
585 static int bnxt_hwrm_cfa_flow_alloc(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_hwrm_cfa_flow_alloc()
790 struct bnxt_tc_flow *flow, in hwrm_cfa_decap_filter_alloc()
1001 bnxt_tc_get_ref_flow_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_ref_flow_handle()
1041 static bool bnxt_tc_can_offload(struct bnxt *bp, struct bnxt_tc_flow *flow) in bnxt_tc_can_offload()
1150 struct bnxt_tc_flow *flow, in bnxt_tc_get_ref_decap_handle()
1231 struct flowi4 flow = { {0} }; in bnxt_tc_resolve_tunnel_hdrs() local
1300 static int bnxt_tc_get_decap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_decap_handle()
1398 static int bnxt_tc_get_encap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_tc_get_encap_handle()
1443 struct bnxt_tc_flow *flow, in bnxt_tc_put_tunnel_handle()
[all …]
/Linux-v5.15/samples/bpf/
Dsockex2_kern.c63 struct flow_key_record *flow) in parse_ip()
87 struct flow_key_record *flow) in parse_ipv6()
101 struct flow_key_record *flow) in flow_dissector()
203 struct flow_key_record flow = {}; in bpf_prog2() local
/Linux-v5.15/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
1177 const struct mvpp2_cls_flow *flow; in mvpp2_port_cls_rfs_rule_remove() local
1202 const struct mvpp2_cls_flow *flow; in mvpp2_port_flt_rfs_rule_insert() local
1239 struct flow_rule *flow = rule->flow; in mvpp2_cls_c2_build_match() local
[all …]
/Linux-v5.15/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()
/Linux-v5.15/drivers/dma/ti/
Dk3-udma-glue.c640 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_num]; in k3_udma_glue_release_rx_flow() local
660 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_idx]; in k3_udma_glue_cfg_rx_flow() local
1136 struct k3_udma_glue_rx_flow *flow; in k3_udma_glue_rx_flow_get_fdq_id() local
1156 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_idx]; in k3_udma_glue_rx_flow_enable() local
1199 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_idx]; in k3_udma_glue_rx_flow_disable() local
1322 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_num]; in k3_udma_glue_reset_rx_chn() local
1366 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_num]; in k3_udma_glue_push_rx_chn() local
1375 struct k3_udma_glue_rx_flow *flow = &rx_chn->flows[flow_num]; in k3_udma_glue_pop_rx_chn() local
1384 struct k3_udma_glue_rx_flow *flow; in k3_udma_glue_rx_get_irq() local

123456789