Home
last modified time | relevance | path

Searched refs:tunnel_type (Results 1 – 25 of 27) sorted by relevance

12

/dpdk/drivers/net/ice/
H A Dice_fdir_filter.c1184 if (tunnel_type == ICE_FDIR_TUNNEL_TYPE_VXLAN) in ice_fdir_is_tunnel_profile()
1253 key->tunnel_type = filter->tunnel_type; in ice_fdir_extract_fltr_key()
1407 filter->tunnel_type); in ice_fdir_create_filter()
1833 tunnel_type = ICE_FDIR_TUNNEL_TYPE_VXLAN; in ice_fdir_parse_pattern()
1858 input_set = (tunnel_type && !is_outer) ? in ice_fdir_parse_pattern()
1996 p_ext_data = (tunnel_type && is_outer) ? in ice_fdir_parse_pattern()
2012 p_v4 = (tunnel_type && is_outer) ? in ice_fdir_parse_pattern()
2097 p_v6 = (tunnel_type && is_outer) ? in ice_fdir_parse_pattern()
2337 tunnel_type = ICE_FDIR_TUNNEL_TYPE_GTPU; in ice_fdir_parse_pattern()
2360 tunnel_type = ICE_FDIR_TUNNEL_TYPE_GTPU_EH; in ice_fdir_parse_pattern()
[all …]
H A Dice_ethdev.h336 enum ice_fdir_tunnel_type tunnel_type; member
367 enum ice_fdir_tunnel_type tunnel_type; member
/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c565 filter->tunnel_type = in bnxt_validate_and_parse_flow_type()
600 filter->tunnel_type = in bnxt_validate_and_parse_flow_type()
622 filter->tunnel_type = in bnxt_validate_and_parse_flow_type()
654 filter->tunnel_type = in bnxt_validate_and_parse_flow_type()
677 filter->tunnel_type = in bnxt_validate_and_parse_flow_type()
1447 if (filter->tunnel_type == in bnxt_validate_and_parse_flow()
1449 filter->tunnel_type == in bnxt_validate_and_parse_flow()
1463 filter->enables |= filter->tunnel_type; in bnxt_validate_and_parse_flow()
1857 mf->tunnel_type == nf->tunnel_type && in bnxt_match_filter()
2030 filter->tunnel_type); in bnxt_flow_create()
[all …]
H A Dbnxt_filter.h67 uint8_t tunnel_type; member
H A Dbnxt_hwrm.h236 uint8_t tunnel_type);
238 uint8_t tunnel_type);
H A Dbnxt_ethdev.c2351 uint16_t tunnel_type = 0; in bnxt_udp_tunnel_port_add_op() local
2370 tunnel_type = in bnxt_udp_tunnel_port_add_op()
2384 tunnel_type = in bnxt_udp_tunnel_port_add_op()
2392 tunnel_type); in bnxt_udp_tunnel_port_add_op()
2397 if (tunnel_type == in bnxt_udp_tunnel_port_add_op()
2401 if (tunnel_type == in bnxt_udp_tunnel_port_add_op()
2413 uint16_t tunnel_type = 0; in bnxt_udp_tunnel_port_del_op() local
2435 tunnel_type = in bnxt_udp_tunnel_port_del_op()
2452 tunnel_type = in bnxt_udp_tunnel_port_del_op()
2461 rc = bnxt_hwrm_tunnel_dst_port_free(bp, port, tunnel_type); in bnxt_udp_tunnel_port_del_op()
H A Dbnxt_hwrm.c3985 uint8_t tunnel_type) in bnxt_hwrm_tunnel_dst_port_alloc() argument
3992 req.tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_alloc()
3997 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_alloc()
4018 uint8_t tunnel_type) in bnxt_hwrm_tunnel_dst_port_free() argument
4026 req.tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_free()
4033 if (tunnel_type == in bnxt_hwrm_tunnel_dst_port_free()
4039 if (tunnel_type == in bnxt_hwrm_tunnel_dst_port_free()
5556 req.tunnel_type = type; in bnxt_hwrm_tunnel_redirect()
5575 req.tunnel_type = type; in bnxt_hwrm_tunnel_redirect_free()
5615 req.tunnel_type = tun_type; in bnxt_hwrm_tunnel_redirect_info()
H A Dhsi_struct_def_dpdk.h40328 uint8_t tunnel_type; member
41196 uint8_t tunnel_type; member
41464 uint8_t tunnel_type; member
41586 uint8_t tunnel_type; member
41700 uint8_t tunnel_type; member
42345 uint8_t tunnel_type; member
42936 uint8_t tunnel_type; member
44401 uint8_t tunnel_type; member
44886 uint8_t tunnel_type; member
45195 uint8_t tunnel_type; member
[all …]
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.h38 u8 tunnel_type; member
H A Dhinic_pmd_tx.c525 if (poff_info->tunnel_type == TUNNEL_UDP_CSUM || in hinic_set_l4_csum_info()
526 poff_info->tunnel_type == TUNNEL_UDP_NO_CSUM) { in hinic_set_l4_csum_info()
533 SQ_TASK_INFO2_SET(poff_info->tunnel_type, TUNNEL_L4TYPE) | in hinic_set_l4_csum_info()
983 off_info->tunnel_type = TUNNEL_UDP_NO_CSUM; in hinic_tx_offload_pkt_prepare()
1023 off_info->tunnel_type = NOT_TUNNEL; in hinic_tx_offload_pkt_prepare()
/dpdk/drivers/net/hns3/
H A Dhns3_fdir.h95 uint16_t tunnel_type; member
H A Dhns3_fdir.c505 key = rule->key_conf.spec.tunnel_type; in hns3_fd_convert_int16()
506 mask = rule->key_conf.mask.tunnel_type; in hns3_fd_convert_int16()
671 rule->key_conf.spec.tunnel_type ? 1 : 0); in hns3_fd_convert_meta_data()
676 if (rule->key_conf.spec.tunnel_type == 0) in hns3_fd_convert_meta_data()
H A Dhns3_flow.c933 rule->key_conf.mask.tunnel_type = TUNNEL_TYPE_MASK; in hns3_parse_vxlan()
935 rule->key_conf.spec.tunnel_type = HNS3_TUNNEL_TYPE_VXLAN; in hns3_parse_vxlan()
937 rule->key_conf.spec.tunnel_type = HNS3_TUNNEL_TYPE_VXLAN_GPE; in hns3_parse_vxlan()
979 rule->key_conf.spec.tunnel_type = HNS3_TUNNEL_TYPE_NVGRE; in hns3_parse_nvgre()
980 rule->key_conf.mask.tunnel_type = ~HNS3_TUNNEL_TYPE_NVGRE; in hns3_parse_nvgre()
1024 rule->key_conf.spec.tunnel_type = HNS3_TUNNEL_TYPE_GENEVE; in hns3_parse_geneve()
1025 rule->key_conf.mask.tunnel_type = TUNNEL_TYPE_MASK; in hns3_parse_geneve()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_fdir.c890 u32 tunnel_type = 0; in fdir_write_perfect_filter_82599() local
924 if (input->formatted.tunnel_type) in fdir_write_perfect_filter_82599()
925 tunnel_type = 0x80000000; in fdir_write_perfect_filter_82599()
926 tunnel_type |= addr_high; in fdir_write_perfect_filter_82599()
928 IXGBE_WRITE_REG(hw, IXGBE_FDIRSIPv6(1), tunnel_type); in fdir_write_perfect_filter_82599()
H A Dixgbe_flow.c2460 rule->ixgbe_fdir.formatted.tunnel_type = in ixgbe_parse_fdir_filter_tunnel()
2518 rule->ixgbe_fdir.formatted.tunnel_type = in ixgbe_parse_fdir_filter_tunnel()
/dpdk/lib/ethdev/
H A Drte_eth_ctrl.h262 enum rte_eth_fdir_tunnel_type tunnel_type; /**< Tunnel type to match. */ member
H A Dethdev_driver.h1888 enum rte_eth_tunnel_type tunnel_type; /**< Tunnel Type */ member
/dpdk/drivers/net/i40e/
H A Di40e_flow.c3493 filter->tunnel_type = I40E_CLOUD_TYPE_UDP; in i40e_flow_parse_l4_pattern()
3531 filter->tunnel_type = I40E_CLOUD_TYPE_TCP; in i40e_flow_parse_l4_pattern()
3569 filter->tunnel_type = I40E_CLOUD_TYPE_SCTP; in i40e_flow_parse_l4_pattern()
3827 filter->tunnel_type = I40E_TUNNEL_TYPE_VXLAN; in i40e_flow_parse_vxlan_pattern()
4079 filter->tunnel_type = I40E_TUNNEL_TYPE_NVGRE; in i40e_flow_parse_nvgre_pattern()
4234 filter->tunnel_type = I40E_TUNNEL_TYPE_MPLSoUDP; in i40e_flow_parse_mpls_pattern()
4236 filter->tunnel_type = I40E_TUNNEL_TYPE_MPLSoGRE; in i40e_flow_parse_mpls_pattern()
4366 filter->tunnel_type = I40E_TUNNEL_TYPE_GTPC; in i40e_flow_parse_gtp_pattern()
4368 filter->tunnel_type = I40E_TUNNEL_TYPE_GTPU; in i40e_flow_parse_gtp_pattern()
4495 filter->tunnel_type = I40E_TUNNEL_TYPE_QINQ; in i40e_flow_parse_qinq_pattern()
H A Di40e_ethdev.c8340 switch (tunnel_filter->tunnel_type) { in i40e_dev_consistent_tunnel_filter_set()
8444 if (tunnel_filter->tunnel_type == I40E_CLOUD_TYPE_UDP) in i40e_dev_consistent_tunnel_filter_set()
8447 else if (tunnel_filter->tunnel_type == I40E_CLOUD_TYPE_TCP) in i40e_dev_consistent_tunnel_filter_set()
8469 if (tunnel_filter->tunnel_type == I40E_CLOUD_TYPE_UDP) in i40e_dev_consistent_tunnel_filter_set()
8472 else if (tunnel_filter->tunnel_type == I40E_CLOUD_TYPE_TCP) in i40e_dev_consistent_tunnel_filter_set()
8492 if (tunnel_filter->tunnel_type == I40E_TUNNEL_TYPE_MPLSoUDP) in i40e_dev_consistent_tunnel_filter_set()
8498 else if (tunnel_filter->tunnel_type == I40E_TUNNEL_TYPE_GTPC) in i40e_dev_consistent_tunnel_filter_set()
8501 else if (tunnel_filter->tunnel_type == I40E_TUNNEL_TYPE_GTPU) in i40e_dev_consistent_tunnel_filter_set()
8504 else if (tunnel_filter->tunnel_type == I40E_TUNNEL_TYPE_QINQ) in i40e_dev_consistent_tunnel_filter_set()
8508 tunnel_filter->tunnel_type == I40E_CLOUD_TYPE_TCP || in i40e_dev_consistent_tunnel_filter_set()
[all …]
H A Di40e_ethdev.h964 enum i40e_tunnel_type tunnel_type; /**< Tunnel Type. */ member
/dpdk/drivers/common/iavf/
H A Diavf_type.h568 u32 tunnel_type:3; member
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_82599.c1777 switch (input_mask->formatted.tunnel_type & 0xFFFF) { in ixgbe_fdir_set_input_mask_82599()
1883 if (input->formatted.tunnel_type != 0) in ixgbe_fdir_write_perfect_filter_82599()
/dpdk/drivers/net/i40e/base/
H A Di40e_type.h982 u32 tunnel_type:3; member
/dpdk/app/test-pmd/
H A Dcmdline.c9852 cmdline_fixed_string_t tunnel_type; member
9870 if (!strcmp(res->tunnel_type, "vxlan")) { in cmd_cfg_tunnel_udp_port_parsed()
9872 } else if (!strcmp(res->tunnel_type, "geneve")) { in cmd_cfg_tunnel_udp_port_parsed()
9874 } else if (!strcmp(res->tunnel_type, "vxlan-gpe")) { in cmd_cfg_tunnel_udp_port_parsed()
9876 } else if (!strcmp(res->tunnel_type, "ecpri")) { in cmd_cfg_tunnel_udp_port_parsed()
9912 TOKEN_STRING_INITIALIZER(struct cmd_config_tunnel_udp_port, tunnel_type,
10771 cmdline_fixed_string_t tunnel_type; member
10885 tunnel_type, "tunnel-type");
/dpdk/drivers/net/ice/base/
H A Dice_lan_tx_rx.h303 u32 tunnel_type:3; member

12