Home
last modified time | relevance | path

Searched refs:ip6src (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c67 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, &flow_rule->key.src_ip, in gve_fill_ethtool_flow_spec()
74 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, &flow_rule->mask.src_ip, in gve_fill_ethtool_flow_spec()
84 memcpy(fsp->h_u.ah_ip6_spec.ip6src, &flow_rule->key.src_ip, in gve_fill_ethtool_flow_spec()
90 memcpy(fsp->m_u.ah_ip6_spec.ip6src, &flow_rule->mask.src_ip, in gve_fill_ethtool_flow_spec()
162 memcpy(&rule->key.src_ip, fsp->h_u.tcp_ip6_spec.ip6src, in gve_generate_flow_rule()
168 memcpy(&rule->mask.src_ip, fsp->m_u.tcp_ip6_spec.ip6src, in gve_generate_flow_rule()
177 memcpy(&rule->key.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in gve_generate_flow_rule()
182 memcpy(&rule->mask.src_ip, fsp->m_u.usr_ip6_spec.ip6src, in gve_generate_flow_rule()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c705 memcpy(&pkt->ip6src, &ipv6_usr_hdr->ip6src, in otx2_prepare_ipv6_flow()
706 sizeof(pkt->ip6src)); in otx2_prepare_ipv6_flow()
707 memcpy(&pmask->ip6src, &ipv6_usr_mask->ip6src, in otx2_prepare_ipv6_flow()
708 sizeof(pmask->ip6src)); in otx2_prepare_ipv6_flow()
734 memcpy(&pkt->ip6src, &ipv6_l4_hdr->ip6src, in otx2_prepare_ipv6_flow()
735 sizeof(pkt->ip6src)); in otx2_prepare_ipv6_flow()
736 memcpy(&pmask->ip6src, &ipv6_l4_mask->ip6src, in otx2_prepare_ipv6_flow()
737 sizeof(pmask->ip6src)); in otx2_prepare_ipv6_flow()
784 memcpy(&pkt->ip6src, &ah_esp_hdr->ip6src, in otx2_prepare_ipv6_flow()
785 sizeof(pkt->ip6src)); in otx2_prepare_ipv6_flow()
[all …]
H A Dotx2_tc.c832 memcpy(&flow_spec->ip6src, in otx2_tc_prepare_flow()
834 sizeof(flow_spec->ip6src)); in otx2_tc_prepare_flow()
835 memcpy(&flow_mask->ip6src, in otx2_tc_prepare_flow()
837 sizeof(flow_spec->ip6src)); in otx2_tc_prepare_flow()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c715 memcpy(ip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
716 sizeof(ip6_entry->ip6src)); in efx_ethtool_get_class_rule()
717 ip6_fill_mask(ip6_mask->ip6src); in efx_ethtool_get_class_rule()
786 memcpy(uip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
787 sizeof(uip6_entry->ip6src)); in efx_ethtool_get_class_rule()
788 ip6_fill_mask(uip6_mask->ip6src); in efx_ethtool_get_class_rule()
999 if (!ip6_mask_is_empty(ip6_mask->ip6src)) { in efx_ethtool_set_class_rule()
1000 if (!ip6_mask_is_full(ip6_mask->ip6src)) in efx_ethtool_set_class_rule()
1003 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule()
1058 if (!ip6_mask_is_empty(uip6_mask->ip6src)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c862 memcpy(ip6_entry->ip6src, spec.rem_host, in ef4_ethtool_get_class_rule()
863 sizeof(ip6_entry->ip6src)); in ef4_ethtool_get_class_rule()
864 ip6_fill_mask(ip6_mask->ip6src); in ef4_ethtool_get_class_rule()
933 memcpy(uip6_entry->ip6src, spec.rem_host, in ef4_ethtool_get_class_rule()
934 sizeof(uip6_entry->ip6src)); in ef4_ethtool_get_class_rule()
935 ip6_fill_mask(uip6_mask->ip6src); in ef4_ethtool_get_class_rule()
1113 if (!ip6_mask_is_empty(ip6_mask->ip6src)) { in ef4_ethtool_set_class_rule()
1114 if (!ip6_mask_is_full(ip6_mask->ip6src)) in ef4_ethtool_set_class_rule()
1117 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in ef4_ethtool_set_class_rule()
1172 if (!ip6_mask_is_empty(uip6_mask->ip6src)) { in ef4_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c715 memcpy(ip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
716 sizeof(ip6_entry->ip6src)); in efx_ethtool_get_class_rule()
717 ip6_fill_mask(ip6_mask->ip6src); in efx_ethtool_get_class_rule()
786 memcpy(uip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
787 sizeof(uip6_entry->ip6src)); in efx_ethtool_get_class_rule()
788 ip6_fill_mask(uip6_mask->ip6src); in efx_ethtool_get_class_rule()
1011 if (!ip6_mask_is_empty(ip6_mask->ip6src)) { in efx_ethtool_set_class_rule()
1012 if (!ip6_mask_is_full(ip6_mask->ip6src)) in efx_ethtool_set_class_rule()
1015 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule()
1070 if (!ip6_mask_is_empty(uip6_mask->ip6src)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c178 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
182 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, rule->mask.v6.src_ip, in ice_get_ethtool_fdir_entry()
193 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
199 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, in ice_get_ethtool_fdir_entry()
1073 if (!memcmp(tcp_ip6_spec->ip6src, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1100 if (!memcmp(tcp_ip6_spec->ip6src, &full_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1105 else if (!memcmp(tcp_ip6_spec->ip6src, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1170 if (!memcmp(usr_ip6_spec->ip6src, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg()
1179 if (!memcmp(usr_ip6_spec->ip6src, &full_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg()
1925 memcpy(input->ip.v6.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in ice_set_fdir_input_set()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c279 set_ip6(headers_c, headers_v, l3_mask->ip6src, in parse_ip6()
280 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6()
294 set_ip6(headers_c, headers_v, l4_mask->ip6src, in parse_tcp6()
295 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_tcp6()
307 set_ip6(headers_c, headers_v, l4_mask->ip6src, in parse_udp6()
308 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_udp6()
617 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6src)) in validate_ip6()
636 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6src)) in validate_tcpudp6()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c984 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
991 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1001 memcpy(fsp->h_u.ah_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1007 memcpy(fsp->m_u.ah_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1015 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1022 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1176 memcpy(&fltr->ip_data.v6_addrs.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
1183 memcpy(&fltr->ip_mask.v6_addrs.src_ip, fsp->m_u.usr_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
1194 memcpy(&fltr->ip_data.v6_addrs.src_ip, fsp->h_u.ah_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
1200 memcpy(&fltr->ip_mask.v6_addrs.src_ip, fsp->m_u.ah_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c319 be32_to_cpu_array(src_ip, pkt->ip6src, IPV6_WORDS); in npc_update_field_hash()
329 memcpy(&opkt->ip6src, &pkt->ip6src, in npc_update_field_hash()
330 sizeof(pkt->ip6src)); in npc_update_field_hash()
331 memcpy(&omask->ip6src, &mask->ip6src, in npc_update_field_hash()
332 sizeof(mask->ip6src)); in npc_update_field_hash()
H A Drvu_npc_fs.c852 be32_to_cpu_array(src_ip_mask, mask->ip6src, IPV6_WORDS); in npc_update_ipv6_flow()
853 be32_to_cpu_array(src_ip, pkt->ip6src, IPV6_WORDS); in npc_update_ipv6_flow()
862 memcpy(opkt->ip6src, pkt->ip6src, sizeof(opkt->ip6src)); in npc_update_ipv6_flow()
863 memcpy(omask->ip6src, mask->ip6src, sizeof(omask->ip6src)); in npc_update_ipv6_flow()
H A Dmbox.h1536 __be32 ip6src[4]; member
H A Drvu_debugfs.c3212 seq_printf(s, "%pI6 ", rule->packet.ip6src); in rvu_dbg_npc_mcam_show_flows()
3213 seq_printf(s, "mask %pI6\n", rule->mask.ip6src); in rvu_dbg_npc_mcam_show_flows()
/linux/include/uapi/linux/
H A Dethtool.h1295 __be32 ip6src[4]; member
1312 __be32 ip6src[4]; member
1327 __be32 ip6src[4]; member
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1351 fs->h_u.tcp_ip6_spec.ip6src[i] = entry->key.sip6[i]; in nfp_net_fs_to_ethtool()
1353 fs->m_u.tcp_ip6_spec.ip6src[i] = entry->msk.sip6[i]; in nfp_net_fs_to_ethtool()
1372 fs->h_u.usr_ip6_spec.ip6src[i] = entry->key.sip6[i]; in nfp_net_fs_to_ethtool()
1374 fs->m_u.usr_ip6_spec.ip6src[i] = entry->msk.sip6[i]; in nfp_net_fs_to_ethtool()
1535 entry->msk.sip6[i] = fs->m_u.tcp_ip6_spec.ip6src[i]; in nfp_net_fs_from_ethtool()
1537 entry->key.sip6[i] = fs->h_u.tcp_ip6_spec.ip6src[i] & entry->msk.sip6[i]; in nfp_net_fs_from_ethtool()
1555 entry->msk.sip6[i] = fs->m_u.usr_ip6_spec.ip6src[i]; in nfp_net_fs_from_ethtool()
1557 entry->key.sip6[i] = fs->h_u.usr_ip6_spec.ip6src[i] & entry->msk.sip6[i]; in nfp_net_fs_from_ethtool()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3398 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->dst_ip6, in i40e_get_ethtool_fdir_entry()
3452 fsp->m_u.tcp_ip6_spec.ip6src[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3453 fsp->m_u.tcp_ip6_spec.ip6src[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3454 fsp->m_u.tcp_ip6_spec.ip6src[2] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3455 fsp->m_u.tcp_ip6_spec.ip6src[3] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
4416 if (ipv6_addr_equal((struct in6_addr *)&tcp_ip6_spec->ip6src, in i40e_check_fdir_input_set()
4420 &tcp_ip6_spec->ip6src)) in i40e_check_fdir_input_set()
4495 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6src, in i40e_check_fdir_input_set()
4499 &usr_ip6_spec->ip6src)) in i40e_check_fdir_input_set()
4899 memcpy(input->dst_ip6, fsp->h_u.ah_ip6_spec.ip6src, in i40e_add_fdir_ethtool()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c376 &match->ip6src, &mask->ip6src, in bcmasp_netfilt_tcpip6_wr()
377 sizeof(match->ip6src)); in bcmasp_netfilt_tcpip6_wr()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1665 memcpy(&fs->h_u.tcp_ip6_spec.ip6src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1666 sizeof(fs->h_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
1667 memcpy(&fs->m_u.tcp_ip6_spec.ip6src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
1668 sizeof(fs->m_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1179 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6src[0] = in bnxt_grxclsrule()
1181 *(struct in6_addr *)&fs->m_u.tcp_ip6_spec.ip6src[0] = in bnxt_grxclsrule()
1393 fkeys->addrs.v6addrs.src = *(struct in6_addr *)&ip_spec->ip6src; in bnxt_add_ntuple_cls_rule()
1394 fmasks->addrs.v6addrs.src = *(struct in6_addr *)&ip_mask->ip6src; in bnxt_add_ntuple_cls_rule()
1409 fkeys->addrs.v6addrs.src = *(struct in6_addr *)&ip_spec->ip6src; in bnxt_add_ntuple_cls_rule()
1410 fmasks->addrs.v6addrs.src = *(struct in6_addr *)&ip_mask->ip6src; in bnxt_add_ntuple_cls_rule()
/linux/net/ethtool/
H A Dioctl.c3541 if (!ipv6_addr_any((struct in6_addr *)v6_m_spec->ip6src)) { in ethtool_rx_flow_rule_create()
3542 memcpy(&match->key.ipv6.src, v6_spec->ip6src, in ethtool_rx_flow_rule_create()
3544 memcpy(&match->mask.ipv6.src, v6_m_spec->ip6src, in ethtool_rx_flow_rule_create()
3553 if (!ipv6_addr_any((struct in6_addr *)v6_m_spec->ip6src) || in ethtool_rx_flow_rule_create()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5999 if (ipv6_addr_any((struct in6_addr *)spec->ip6src)) in hclge_fd_check_tcpip6_tuple()
6027 if (ipv6_addr_any((struct in6_addr *)spec->ip6src)) in hclge_fd_check_ip6_tuple()
6321 fs->h_u.tcp_ip6_spec.ip6src); in hclge_fd_get_tcpip6_tuple()
6323 fs->m_u.tcp_ip6_spec.ip6src); in hclge_fd_get_tcpip6_tuple()
6350 fs->h_u.usr_ip6_spec.ip6src); in hclge_fd_get_ip6_tuple()
6352 fs->m_u.usr_ip6_spec.ip6src); in hclge_fd_get_ip6_tuple()
6786 ipv6_addr_cpu_to_be32(spec->ip6src, rule->tuples.src_ip); in hclge_fd_get_tcpip6_info()
6789 memset(spec_mask->ip6src, 0, sizeof(spec_mask->ip6src)); in hclge_fd_get_tcpip6_info()
6791 ipv6_addr_cpu_to_be32(spec_mask->ip6src, in hclge_fd_get_tcpip6_info()
6820 memset(spec_mask->ip6src, 0, sizeof(spec_mask->ip6src)); in hclge_fd_get_ip6_info()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c526 ntohl(fsp->h_u.tcp_ip6_spec.ip6src[i]); in aq_set_data_fl3l4()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1359 memcpy(&fsp->h_u.tcp_ip6_spec.ip6src, in qede_get_cls_rule_entry()