Home
last modified time | relevance | path

Searched refs:flow_type (Results 1 – 25 of 34) sorted by relevance

12

/f-stack/dpdk/drivers/net/enic/
H A Denic_clsf.c91 if (input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV4_TCP) in copy_fltr_v1()
111 if (input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV4_UDP) { in copy_fltr_v2()
170 if (input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV4_UDP || in copy_fltr_v2()
171 input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV4_TCP || in copy_fltr_v2()
172 input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV4_SCTP || in copy_fltr_v2()
173 input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV4_OTHER) { in copy_fltr_v2()
207 if (input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV6_UDP) { in copy_fltr_v2()
259 if (input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV6_UDP || in copy_fltr_v2()
260 input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV6_TCP || in copy_fltr_v2()
261 input->flow_type == RTE_ETH_FLOW_NONFRAG_IPV6_SCTP || in copy_fltr_v2()
[all …]
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_flow_db.c43 enum bnxt_ulp_fdb_type flow_type, in ulp_flow_db_active_flows_bit_set() argument
51 if (flow_type == BNXT_ULP_FDB_TYPE_REGULAR) in ulp_flow_db_active_flows_bit_set()
58 if (flow_type == BNXT_ULP_FDB_TYPE_REGULAR) in ulp_flow_db_active_flows_bit_set()
79 enum bnxt_ulp_fdb_type flow_type, in ulp_flow_db_active_flows_bit_is_set() argument
85 if (flow_type == BNXT_ULP_FDB_TYPE_REGULAR) in ulp_flow_db_active_flows_bit_is_set()
662 enum bnxt_ulp_fdb_type flow_type, in ulp_flow_db_resource_add() argument
754 enum bnxt_ulp_fdb_type flow_type, in ulp_flow_db_resource_del() argument
935 enum bnxt_ulp_fdb_type flow_type, in ulp_flow_db_resource_get() argument
997 enum bnxt_ulp_fdb_type flow_type, in ulp_flow_db_next_entry_get() argument
1054 enum bnxt_ulp_fdb_type flow_type) in ulp_flow_db_flush_flows() argument
[all …]
H A Dulp_mapper.h74 enum bnxt_ulp_fdb_type flow_type; member
95 enum bnxt_ulp_fdb_type flow_type; member
124 enum bnxt_ulp_fdb_type flow_type,
133 enum bnxt_ulp_fdb_type flow_type,
H A Dulp_flow_db.h127 enum bnxt_ulp_fdb_type flow_type,
144 enum bnxt_ulp_fdb_type flow_type,
162 enum bnxt_ulp_fdb_type flow_type,
193 enum bnxt_ulp_fdb_type flow_type,
341 enum bnxt_ulp_fdb_type flow_type,
H A Dulp_def_rules.c320 mapper_params.flow_type = BNXT_ULP_FDB_TYPE_DEFAULT; in ulp_default_flow_create()
479 bnxt_create_port_app_df_rule(struct bnxt *bp, uint8_t flow_type, in bnxt_create_port_app_df_rule() argument
496 return ulp_default_flow_create(bp->eth_dev, param_list, flow_type, in bnxt_create_port_app_df_rule()
550 uint8_t flow_type, in bnxt_create_port_vfr_default_rule() argument
566 return ulp_default_flow_create(bp->eth_dev, param_list, flow_type, in bnxt_create_port_vfr_default_rule()
H A Dulp_mapper.c655 parms->flow_type, in ulp_mapper_ident_process()
752 parms->flow_type, in ulp_mapper_ident_extract()
1237 parms->flow_type, in ulp_mapper_mark_gfid_process()
1286 parms->flow_type, in ulp_mapper_mark_act_ptr_process()
1335 parms->flow_type, in ulp_mapper_mark_vfr_idx_process()
1891 parms->flow_type, in ulp_mapper_em_tbl_process()
2119 parms->flow_type, in ulp_mapper_index_tbl_process()
2282 parms->flow_type, in ulp_mapper_cache_tbl_process()
2655 flow_type, fid, rc); in ulp_mapper_resources_free()
2676 flow_type, in ulp_mapper_resources_free()
[all …]
H A Dbnxt_ulp_flow.c80 enum bnxt_ulp_fdb_type flow_type) in bnxt_ulp_init_mapper_params() argument
82 mapper_cparms->flow_type = flow_type; in bnxt_ulp_init_mapper_params()
H A Dulp_rte_parser.h42 enum bnxt_ulp_fdb_type flow_type);
/f-stack/freebsd/netgraph/netflow/
H A Dnetflow_v9.c247 uint16_t flow_type; in export9_add() local
263 flow_type = fed->r.flow_type; in export9_add()
265 switch (flow_type) { in export9_add()
330 CTR1(KTR_NET, "export9_add(): Don't know what to do with %d flow type!", flow_type); in export9_add()
336 if (flow_type != t->flow_type) { in export9_add()
338 if (t->flow_type != 0) in export9_add()
341 t->flow_type = flow_type; in export9_add()
345 fsh.id = htons(NETFLOW_V9_MAX_RESERVED_FLOWSET + flow_type); in export9_add()
H A Dnetflow_v9.h147 uint16_t flow_type; /* current flowset */ member
H A Dng_netflow.h192 uint16_t flow_type; member
215 uint16_t flow_type; member
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_fdir.c1016 flow = input->flow_type; in ice_fdir_get_gen_prgm_pkt()
1378 enum ice_fltr_ptype flow_type = a->flow_type; in ice_fdir_comp_rules() local
1384 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV4_TCP || in ice_fdir_comp_rules()
1385 flow_type == ICE_FLTR_PTYPE_NONF_IPV4_UDP || in ice_fdir_comp_rules()
1402 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV6_UDP || in ice_fdir_comp_rules()
1403 flow_type == ICE_FLTR_PTYPE_NONF_IPV6_TCP || in ice_fdir_comp_rules()
1436 enum ice_fltr_ptype flow_type; in ice_fdir_is_dup_fltr() local
1438 if (rule->flow_type != input->flow_type) in ice_fdir_is_dup_fltr()
1441 flow_type = input->flow_type; in ice_fdir_is_dup_fltr()
1442 if (flow_type == ICE_FLTR_PTYPE_NONF_IPV4_TCP || in ice_fdir_is_dup_fltr()
[all …]
H A Dice_fdir.h177 enum ice_fltr_ptype flow_type; member
/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_ext_flow_handle.h31 flow_type, \ argument
40 (flow_type) = (((flow_handle) & TF_FLOW_TYPE_FLOW_HANDLE_MASK) >> \
54 flow_type, \ argument
64 (flow_handle) |= (((flow_type) << TF_FLOW_TYPE_FLOW_HANDLE_SFT) & \
/f-stack/dpdk/drivers/net/ice/
H A Dice_acl_filter.c47 enum ice_fltr_ptype flow_type; member
322 input->flow_type = filter->input.flow_type; in ice_acl_set_input_set()
324 switch (input->flow_type) { in ice_acl_set_input_set()
435 ret = ice_flow_add_entry(hw, blk, flow_type, in ice_acl_hw_set_conf()
476 enum ice_fltr_ptype flow_type = filter->input.flow_type; in ice_acl_create_filter() local
541 rule->flow_type = flow_type; in ice_acl_create_filter()
569 switch (rule->flow_type) { in ice_acl_destroy_filter()
656 uint8_t flow_type = ICE_FLTR_PTYPE_NONF_NONE; in ice_acl_parse_pattern() local
756 flow_type = ICE_FLTR_PTYPE_NONF_IPV4_TCP; in ice_acl_parse_pattern()
807 flow_type = ICE_FLTR_PTYPE_NONF_IPV4_UDP; in ice_acl_parse_pattern()
[all …]
H A Dice_fdir_filter.c1188 key->flow_type = input->flow_type; in ice_fdir_extract_fltr_key()
1708 flow_type = ICE_FLTR_PTYPE_NON_IP_L2; in ice_fdir_parse_pattern()
1815 flow_type = ICE_FLTR_PTYPE_NONF_IPV4_TCP; in ice_fdir_parse_pattern()
1817 flow_type = ICE_FLTR_PTYPE_NONF_IPV6_TCP; in ice_fdir_parse_pattern()
1863 flow_type = ICE_FLTR_PTYPE_NONF_IPV4_UDP; in ice_fdir_parse_pattern()
1865 flow_type = ICE_FLTR_PTYPE_NONF_IPV6_UDP; in ice_fdir_parse_pattern()
2007 flow_type == ICE_FLTR_PTYPE_NONF_IPV4_UDP) in ice_fdir_parse_pattern()
2010 flow_type == ICE_FLTR_PTYPE_NONF_IPV4_UDP) in ice_fdir_parse_pattern()
2013 flow_type == ICE_FLTR_PTYPE_NONF_IPV6_UDP) in ice_fdir_parse_pattern()
2016 flow_type == ICE_FLTR_PTYPE_NONF_IPV6_UDP) in ice_fdir_parse_pattern()
[all …]
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.h1367 uint16_t flow_type);
1559 #define I40E_VALID_FLOW(flow_type) \ argument
1560 ((flow_type) == RTE_ETH_FLOW_FRAG_IPV4 || \
1561 (flow_type) == RTE_ETH_FLOW_NONFRAG_IPV4_TCP || \
1562 (flow_type) == RTE_ETH_FLOW_NONFRAG_IPV4_UDP || \
1563 (flow_type) == RTE_ETH_FLOW_NONFRAG_IPV4_SCTP || \
1565 (flow_type) == RTE_ETH_FLOW_FRAG_IPV6 || \
1566 (flow_type) == RTE_ETH_FLOW_NONFRAG_IPV6_TCP || \
1567 (flow_type) == RTE_ETH_FLOW_NONFRAG_IPV6_UDP || \
1568 (flow_type) == RTE_ETH_FLOW_NONFRAG_IPV6_SCTP || \
[all …]
H A Di40e_fdir.c341 uint16_t flow_type; in i40e_init_flx_pld() local
363 flow_type = i40e_pctype_to_flowtype(pf->adapter, pctype); in i40e_init_flx_pld()
365 if (flow_type == RTE_ETH_FLOW_UNKNOWN) in i40e_init_flx_pld()
503 pctype = i40e_flowtype_to_pctype(adapter, flex_mask->flow_type); in i40e_check_fdir_flex_conf()
711 conf->flex_mask[i].flow_type))); in i40e_fdir_configure()
714 conf->flex_mask[i].flow_type); in i40e_fdir_configure()
2039 uint16_t flow_type; in i40e_fdir_info_get_flex_mask() local
2047 flow_type = i40e_pctype_to_flowtype(pf->adapter, in i40e_fdir_info_get_flex_mask()
2049 if (flow_type == RTE_ETH_FLOW_UNKNOWN) in i40e_fdir_info_get_flex_mask()
2067 ptr->flow_type = flow_type; in i40e_fdir_info_get_flex_mask()
H A Drte_pmd_i40e.h869 uint16_t flow_type; /**< software defined flow type*/ member
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_eth_ctrl.h149 uint16_t flow_type; member
300 uint16_t flow_type; member
403 uint16_t flow_type; member
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_82599.c1510 u8 flow_type; in ixgbe_fdir_add_signature_filter_82599() local
1521 tunnel = !!(input.formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK); in ixgbe_fdir_add_signature_filter_82599()
1522 flow_type = input.formatted.flow_type & in ixgbe_fdir_add_signature_filter_82599()
1524 switch (flow_type) { in ixgbe_fdir_add_signature_filter_82599()
1540 fdircmd |= (u32)flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_add_signature_filter_82599()
1698 switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { in ixgbe_fdir_set_input_mask_82599()
1914 if (input->formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK) in ixgbe_fdir_write_perfect_filter_82599()
1916 fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_write_perfect_filter_82599()
1992 switch (input->formatted.flow_type) { in ixgbe_fdir_add_perfect_filter_82599()
1995 input_mask->formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK; in ixgbe_fdir_add_perfect_filter_82599()
[all …]
/f-stack/freebsd/netinet/
H A Dip_input.c1304 uint32_t flowid, flow_type; in ip_savecontrol() local
1307 flow_type = M_HASHTYPE_GET(m); in ip_savecontrol()
1317 *mp = sbcreatecontrol((caddr_t) &flow_type, in ip_savecontrol()
1325 uint32_t flowid, flow_type; in ip_savecontrol() local
1329 flow_type = M_HASHTYPE_GET(m); in ip_savecontrol()
1331 if (rss_hash2bucket(flowid, flow_type, &rss_bucketid) == 0) { in ip_savecontrol()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_fdir.c584 if (flex_mask->flow_type != RTE_ETH_FLOW_UNKNOWN) { in ixgbe_set_fdir_flex_conf()
926 fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in fdir_write_perfect_filter_82599()
968 fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in fdir_add_signature_filter_82599()
1113 (rule->ixgbe_fdir.formatted.flow_type == in ixgbe_fdir_filter_program()
1115 rule->ixgbe_fdir.formatted.flow_type == in ixgbe_fdir_filter_program()
1132 if (rule->ixgbe_fdir.formatted.flow_type & in ixgbe_fdir_filter_program()
1301 fdir_info->flex_conf.flex_mask[0].flow_type = RTE_ETH_FLOW_UNKNOWN; in ixgbe_fdir_info_get()
/f-stack/tools/compat/include/netgraph/netflow/
H A Dng_netflow.h192 uint16_t flow_type; member
215 uint16_t flow_type; member
/f-stack/freebsd/netinet6/
H A Dip6_input.c1507 uint32_t flowid, flow_type; in ip6_savecontrol() local
1510 flow_type = M_HASHTYPE_GET(m); in ip6_savecontrol()
1520 *mp = sbcreatecontrol((caddr_t) &flow_type, in ip6_savecontrol()
1528 uint32_t flowid, flow_type; in ip6_savecontrol() local
1532 flow_type = M_HASHTYPE_GET(m); in ip6_savecontrol()
1534 if (rss_hash2bucket(flowid, flow_type, &rss_bucketid) == 0) { in ip6_savecontrol()

12