Home
last modified time | relevance | path

Searched refs:ip_version (Results 1 – 25 of 39) sorted by relevance

12

/linux/tools/testing/selftests/net/packetdrill/
H A Dksft_runner.sh66 for ip_version in $ip_versions; do
67 unshare -n packetdrill ${ip_args[$ip_version]} ${optargs[@]} $script > /dev/null \
68 && ktap_test_pass $ip_version || $failfunc $ip_version
/linux/include/linux/mlx5/
H A Dfs_helpers.h73 ip_version) == 0xf && in _mlx5_fs_is_outer_ipv_flow()
75 ip_version) == version; in _mlx5_fs_is_outer_ipv_flow()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c320 outer_headers.ip_version); in mlx5_fs_ttc_set_match_ipv_outer()
322 outer_headers.ip_version, ipv); in mlx5_fs_ttc_set_match_ipv_outer()
487 MLX5_SET(fte_match_param, mc, outer_headers.ip_version, 0); in mlx5_create_ttc_table_ipsec_groups()
490 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_ttc_table_ipsec_groups()
500 MLX5_SET(fte_match_param, mc, inner_headers.ip_version, 0); in mlx5_create_ttc_table_ipsec_groups()
507 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_version); in mlx5_create_ttc_table_ipsec_groups()
551 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_version); in mlx5_create_ttc_table_groups()
640 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_version); in mlx5_generate_inner_ttc_rule()
641 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule()
727 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_inner_ttc_table_groups()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dfs_tcp.c33 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv4_flow()
34 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 4); in accel_fs_tcp_set_ipv4_flow()
52 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv6_flow()
53 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 6); in accel_fs_tcp_set_ipv6_flow()
201 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in accel_fs_tcp_create_groups()
/linux/tools/testing/selftests/net/
H A Drxtimestamp.c295 bool run_test_case(struct socket_type *s, int test_num, char ip_version, in run_test_case() argument
310 if (ip_version == '4') { in run_test_case()
323 printf("Starting testcase %d over ipv%c...\n", test_num, ip_version); in run_test_case()
363 ip_version); in run_test_case()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v1.c979 DR_STE_SET_ONES(eth_l2_src_dst_v1, bit_mask, l3_type, mask, ip_version); in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1002 if (spec->ip_version == IP_VERSION_IPV4) { in dr_ste_v1_build_eth_l2_src_dst_tag()
1004 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_dst_tag()
1005 } else if (spec->ip_version == IP_VERSION_IPV6) { in dr_ste_v1_build_eth_l2_src_dst_tag()
1007 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_dst_tag()
1008 } else if (spec->ip_version) { in dr_ste_v1_build_eth_l2_src_dst_tag()
1130 DR_STE_SET_ONES(eth_l2_src_v1, bit_mask, l3_type, mask, ip_version); in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1181 if (spec->ip_version == IP_VERSION_IPV4) { in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1183 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1184 } else if (spec->ip_version == IP_VERSION_IPV6) { in dr_ste_v1_build_eth_l2_src_or_dst_tag()
[all …]
/linux/include/linux/qed/
H A Dtcp_common.h77 u8 ip_version; member
143 u8 ip_version; member
H A Dqed_nvmetcp_if.h58 u8 ip_version; member
H A Dqed_iscsi_if.h63 u8 ip_version; member
H A Dqed_rdma_if.h480 enum qed_tcp_ip_version ip_version; member
520 enum qed_tcp_ip_version ip_version; member
/linux/tools/testing/selftests/net/netfilter/
H A Dnf_conntrack_packetdrill.sh47 timeout "$PDRILL_TIMEOUT" unshare -n packetdrill --ip_version="$ipver" --mtu=$mtu \
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c124 params->cm_info->ip_version == QED_TCP_IPV4) in qedr_iw_mpa_request()
589 cm_info->ip_version = QED_TCP_IPV4; in qedr_iw_connect()
604 in_params.cm_info.ip_version = QED_TCP_IPV6; in qedr_iw_connect()
690 iparams.ip_version = QED_TCP_IPV4; in qedr_iw_create_listen()
697 iparams.ip_version = QED_TCP_IPV6; in qedr_iw_create_listen()
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-hw.c392 hva->ip_version = hva_hw_get_ip_version(hva); in hva_hw_probe()
394 if (hva->ip_version == HVA_VERSION_UNKNOWN) { in hva_hw_probe()
400 hva->ip_version); in hva_hw_probe()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_nvmetcp.c328 p_tcp->ip_version = p_conn->ip_version; in qed_sp_nvmetcp_conn_offload()
329 if (p_tcp->ip_version == TCP_IPV6) { in qed_sp_nvmetcp_conn_offload()
706 con->ip_version = conn_info->ip_version; in qed_nvmetcp_offload_conn()
H A Dqed_nvmetcp.h56 u8 ip_version; member
H A Dqed_iscsi.c68 u8 ip_version; member
347 p_tcp->ip_version = p_conn->ip_version; in qed_sp_iscsi_conn_offload()
419 p_tcp2->ip_version = p_conn->ip_version; in qed_sp_iscsi_conn_offload()
1234 con->ip_version = conn_info->ip_version; in qed_iscsi_offload_conn()
H A Dqed_iwarp.h156 u8 ip_version; member
H A Dqed_iwarp.c587 if (p_tcp_ramrod->tcp.ip_version == TCP_IPV4) { in qed_iwarp_print_tcp_ramrod()
693 tcp->ip_version = ep->cm_info.ip_version; in qed_iwarp_tcp_offload()
1557 cm_info->ip_version); in qed_iwarp_print_cm_info()
1559 if (cm_info->ip_version == QED_TCP_IPV4) in qed_iwarp_print_cm_info()
1727 cm_info->ip_version = QED_TCP_IPV4; in qed_iwarp_parse_rx_pkt()
1747 cm_info->ip_version = QED_TCP_IPV6; in qed_iwarp_parse_rx_pkt()
2443 hdr_size = ((cm_info.ip_version == QED_TCP_IPV4) ? 40 : 60); in qed_iwarp_ll2_comp_syn_pkt()
3172 listener->ip_version = iparams->ip_version; in qed_iwarp_create_listen()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c787 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.ip_version); in mlx5_esw_bridge_ingress_igmp_fg_create()
827 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.ip_version); in mlx5_esw_bridge_ingress_mld_fg_create()
899 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, outer_headers.ip_version); in mlx5_esw_bridge_ingress_igmp_fh_create()
900 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.ip_version, 4); in mlx5_esw_bridge_ingress_igmp_fh_create()
931 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, outer_headers.ip_version); in mlx5_esw_bridge_ingress_mld_fh_create()
932 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.ip_version, 6); in mlx5_esw_bridge_ingress_mld_fh_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Drule.c670 static u8 hws_rule_ip_version_to_matcher_ipv(u32 ip_version) in hws_rule_ip_version_to_matcher_ipv() argument
672 switch (ip_version) { in hws_rule_ip_version_to_matcher_ipv()
697 outer_headers.ip_version); in hws_rule_check_outer_ip_version()
736 inner_headers.ip_version); in hws_rule_check_inner_ip_version()
H A Ddefiner.c742 ip_ver_set = HWS_IS_FLD_SET(match_param, outer_headers.ip_version) || in hws_definer_conv_outer()
790 outer_headers.ip_version, in hws_definer_conv_outer()
791 eth_l3_outer.ip_version); in hws_definer_conv_outer()
886 if (HWS_IS_FLD_SET(match_param, outer_headers.ip_version)) { in hws_definer_conv_outer()
891 HWS_CALC_HDR_SRC(curr_fc, outer_headers.ip_version); in hws_definer_conv_outer()
919 ip_ver_set = HWS_IS_FLD_SET(match_param, inner_headers.ip_version) || in hws_definer_conv_inner()
966 inner_headers.ip_version, in hws_definer_conv_inner()
967 eth_l3_inner.ip_version); in hws_definer_conv_inner()
1067 if (HWS_IS_FLD_SET(match_param, inner_headers.ip_version)) { in hws_definer_conv_inner()
1072 HWS_CALC_HDR_SRC(curr_fc, inner_headers.ip_version); in hws_definer_conv_inner()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_tt_redirect.c69 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in fs_udp_set_dport_flow()
70 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, in fs_udp_set_dport_flow()
165 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in fs_udp_create_groups()
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h160 u32 ip_version:1; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c52 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_version); in mlx5_ct_fs_smfs_fill_mask()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c398 u32 ip_version = amdgpu_ip_version(adev, MP1_HWIP, 0); in smu_v11_0_init_power() local
399 size_t size = ((ip_version == IP_VERSION(11, 5, 0)) || in smu_v11_0_init_power()
400 (ip_version == IP_VERSION(11, 5, 2))) ? in smu_v11_0_init_power()

12