| /linux/drivers/net/phy/mscc/ |
| H A D | mscc_macsec.c | 371 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/net/netfilter/ |
| H A D | nf_flow_table_core.c | 21 flow_offload_fill_dir(struct flow_offload * flow,enum flow_offload_tuple_dir dir) flow_offload_fill_dir() argument 54 struct flow_offload *flow; flow_offload_alloc() local 96 flow_offload_fill_route(struct flow_offload * flow,struct nf_flow_route * route,enum flow_offload_tuple_dir dir) flow_offload_fill_route() argument 147 nft_flow_dst_release(struct flow_offload * flow,enum flow_offload_tuple_dir dir) nft_flow_dst_release() argument 155 flow_offload_route_init(struct flow_offload * flow,struct nf_flow_route * route) flow_offload_route_init() argument 164 nf_flow_has_expired(const struct flow_offload * flow) nf_flow_has_expired() argument 192 flow_offload_fixup_ct(struct flow_offload * flow) flow_offload_fixup_ct() argument 246 flow_offload_route_release(struct flow_offload * flow) flow_offload_route_release() argument 252 flow_offload_free(struct flow_offload * flow) flow_offload_free() argument 300 flow_offload_get_timeout(struct flow_offload * flow) flow_offload_get_timeout() argument 319 flow_offload_add(struct nf_flowtable * flow_table,struct flow_offload * flow) flow_offload_add() argument 353 flow_offload_refresh(struct nf_flowtable * flow_table,struct flow_offload * flow,bool force) flow_offload_refresh() argument 372 flow_offload_del(struct nf_flowtable * flow_table,struct flow_offload * flow) flow_offload_del() argument 383 flow_offload_teardown(struct flow_offload * flow) flow_offload_teardown() argument 396 struct flow_offload *flow; flow_offload_lookup() local 419 nf_flow_table_iterate(struct nf_flowtable * flow_table,void (* iter)(struct nf_flowtable * flowtable,struct flow_offload * flow,void * data),void * data) nf_flow_table_iterate() argument 424 struct flow_offload *flow; nf_flow_table_iterate() local 452 nf_flow_custom_gc(struct nf_flowtable * flow_table,const struct flow_offload * flow) nf_flow_custom_gc() argument 555 nf_flow_offload_gc_step(struct nf_flowtable * flow_table,struct flow_offload * flow,void * data) nf_flow_offload_gc_step() argument 636 nf_flow_snat_port(const struct flow_offload * flow,struct sk_buff * skb,unsigned int thoff,u8 protocol,enum flow_offload_tuple_dir dir) nf_flow_snat_port() argument 662 nf_flow_dnat_port(const struct flow_offload * flow,struct sk_buff * skb,unsigned int thoff,u8 protocol,enum flow_offload_tuple_dir dir) nf_flow_dnat_port() argument 713 nf_flow_table_do_cleanup(struct nf_flowtable * flow_table,struct flow_offload * flow,void * data) nf_flow_table_do_cleanup() argument [all...] |
| H A D | nf_flow_table_offload.c | 25 struct flow_offload *flow; member 225 const struct flow_offload *flow, in flow_offload_eth_src() 272 const struct flow_offload *flow, in flow_offload_eth_dst() 329 const struct flow_offload *flow, in flow_offload_ipv4_snat() 356 const struct flow_offload *flow, in flow_offload_ipv4_dnat() 397 const struct flow_offload *flow, in flow_offload_ipv6_snat() 422 const struct flow_offload *flow, in flow_offload_ipv6_dnat() 446 static int flow_offload_l4proto(const struct flow_offload *flow) in flow_offload_l4proto() 466 const struct flow_offload *flow, in flow_offload_port_snat() 496 const struct flow_offload *flow, in flow_offload_port_dnat() [all …]
|
| H A D | nf_tables_offload.c | 12 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 D | nf_flow_table_ip.c | 25 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 …]
|
| H A D | nft_cmp.c | 140 struct nft_flow_rule *flow, in __nft_cmp_offload() 179 struct nft_flow_rule *flow, in nft_cmp_offload() 239 struct nft_flow_rule *flow, in nft_cmp_fast_offload() 338 struct nft_flow_rule *flow, in nft_cmp16_fast_offload()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | flowring.c | 43 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 D | fq_impl.h | 16 __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 D | flow_table.c | 74 struct sw_flow *flow; in ovs_flow_alloc() local 108 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() 460 struct sw_flow *flow) in table_instance_flow_free() 483 struct sw_flow *flow; in table_instance_flow_flush() local 526 struct sw_flow *flow; in ovs_flow_tbl_dump_next() local 557 struct sw_flow *flow) in table_instance_insert() 566 struct sw_flow *flow) in ufid_table_instance_insert() 585 struct sw_flow *flow; in flow_table_copy_flows() local [all …]
|
| /linux/drivers/gpu/ipu-v3/ |
| H A D | ipu-dp.c | 46 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/ |
| H A D | en_tc.c | 606 struct mlx5e_tc_flow *mlx5e_flow_get(struct mlx5e_tc_flow *flow) in mlx5e_flow_get() 613 void mlx5e_flow_put(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow) in mlx5e_flow_put() 621 bool mlx5e_is_eswitch_flow(struct mlx5e_tc_flow *flow) in mlx5e_is_eswitch_flow() 626 bool mlx5e_is_ft_flow(struct mlx5e_tc_flow *flow) in mlx5e_is_ft_flow() 631 bool mlx5e_is_offloaded_flow(struct mlx5e_tc_flow *flow) in mlx5e_is_offloaded_flow() 636 int mlx5e_get_flow_namespace(struct mlx5e_tc_flow *flow) in mlx5e_get_flow_namespace() 643 get_flow_counter_dev(struct mlx5e_tc_flow *flow) in get_flow_counter_dev() 649 get_mod_hdr_table(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow) in get_mod_hdr_table() 660 struct mlx5e_tc_flow *flow, in mlx5e_tc_attach_mod_hdr() 679 struct mlx5e_tc_flow *flow, in mlx5e_tc_detach_mod_hdr() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_priv.h | 147 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
|
| H A D | tc_tun_encap.c | 82 int mlx5e_tc_set_attr_rx_tun(struct mlx5e_tc_flow *flow, in mlx5e_tc_set_attr_rx_tun() 161 struct mlx5e_tc_flow *flow; in mlx5e_tc_encap_flows_add() local 230 struct mlx5e_tc_flow *flow; in mlx5e_tc_encap_flows_del() local 274 static void mlx5e_take_tmp_flow(struct mlx5e_tc_flow *flow, in mlx5e_take_tmp_flow() 298 struct mlx5e_tc_flow *flow; in mlx5e_take_all_encap_flows() local 312 struct mlx5e_tc_flow *flow; in mlx5e_take_all_route_decap_flows() local 394 struct mlx5e_tc_flow *flow; in mlx5e_tc_update_neigh_used_value() local 534 struct mlx5e_tc_flow *flow, in mlx5e_detach_encap() 567 struct mlx5e_tc_flow *flow) in mlx5e_detach_decap() 700 struct mlx5e_tc_flow *flow, in is_duplicated_encap_entry() [all …]
|
| /linux/net/sched/ |
| H A D | sch_fq_codel.c | 116 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 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 328 static void fq_codel_flow_purge(struct fq_codel_flow *flow) in fq_codel_flow_purge() 342 struct fq_codel_flow *flow = q->flows + i; in fq_codel_reset() local 510 struct fq_codel_flow *flow = q->flows + i; in fq_codel_init() local 653 const struct fq_codel_flow *flow = &q->flows[idx]; in fq_codel_dump_class_stats() local
|
| H A D | cls_flow.c | 67 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 D | sch_fq_pie.c | 119 static inline void flow_queue_add(struct fq_pie_flow *flow, in flow_queue_add() 229 static inline struct sk_buff *dequeue_head(struct fq_pie_flow *flow) in dequeue_head() 242 struct fq_pie_flow *flow; in fq_pie_qdisc_dequeue() local 457 struct fq_pie_flow *flow = q->flows + idx; in fq_pie_init() local 542 struct fq_pie_flow *flow = q->flows + idx; in fq_pie_reset() local
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | tid_rdma.c | 881 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 D | bnxt_tc.c | 370 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 D | mvpp2_cls.c | 472 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 D | goto.c | 10 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 D | act.c | 75 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 D | sockex2_kern.c | 63 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 D | conntrack.c | 56 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
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | fdir.c | 172 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/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 469 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list() 974 static int otx2_add_flow_msg(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_msg() 1061 struct otx2_flow *flow) in otx2_add_flow_with_pfmac() 1095 struct otx2_flow *flow; in otx2_add_flow() local 1270 struct otx2_flow *flow; in otx2_remove_flow() local 1320 struct otx2_flow *flow, *tmp; in otx2_rss_ctx_flow_del() local
|