Home
last modified time | relevance | path

Searched refs:ip6dst (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ethernet/google/gve/
A Dgve_flow_rule.c69 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec()
76 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, in gve_fill_ethtool_flow_spec()
86 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec()
92 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, in gve_fill_ethtool_flow_spec()
164 memcpy(&rule->key.dst_ip, fsp->h_u.tcp_ip6_spec.ip6dst, in gve_generate_flow_rule()
170 memcpy(&rule->mask.dst_ip, fsp->m_u.tcp_ip6_spec.ip6dst, in gve_generate_flow_rule()
179 memcpy(&rule->key.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in gve_generate_flow_rule()
184 memcpy(&rule->mask.dst_ip, fsp->m_u.usr_ip6_spec.ip6dst, in gve_generate_flow_rule()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c718 memcpy(&pkt->ip6dst, &ipv6_usr_hdr->ip6dst, in otx2_prepare_ipv6_flow()
719 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow()
720 memcpy(&pmask->ip6dst, &ipv6_usr_mask->ip6dst, in otx2_prepare_ipv6_flow()
721 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow()
747 memcpy(&pkt->ip6dst, &ipv6_l4_hdr->ip6dst, in otx2_prepare_ipv6_flow()
748 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow()
749 memcpy(&pmask->ip6dst, &ipv6_l4_mask->ip6dst, in otx2_prepare_ipv6_flow()
750 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow()
797 memcpy(&pkt->ip6dst, &ah_esp_hdr->ip6dst, in otx2_prepare_ipv6_flow()
798 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow()
[all …]
A Dotx2_tc.c828 memcpy(&flow_spec->ip6dst, in otx2_tc_prepare_flow()
830 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow()
831 memcpy(&flow_mask->ip6dst, in otx2_tc_prepare_flow()
833 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow()
/drivers/net/ethernet/sfc/siena/
A Dethtool_common.c704 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
705 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
706 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule()
775 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
776 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
777 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule()
990 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
991 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule()
994 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1049 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
[all …]
/drivers/net/ethernet/sfc/
A Dethtool_common.c703 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
704 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
705 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule()
774 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
775 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
776 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule()
999 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
1000 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule()
1003 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1058 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule()
[all …]
/drivers/net/ethernet/sfc/falcon/
A Dethtool.c851 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
852 sizeof(ip6_entry->ip6dst)); in ef4_ethtool_get_class_rule()
853 ip6_fill_mask(ip6_mask->ip6dst); in ef4_ethtool_get_class_rule()
922 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
923 sizeof(uip6_entry->ip6dst)); in ef4_ethtool_get_class_rule()
924 ip6_fill_mask(uip6_mask->ip6dst); in ef4_ethtool_get_class_rule()
1109 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule()
1110 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in ef4_ethtool_set_class_rule()
1113 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
1168 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule()
[all …]
/drivers/net/ethernet/intel/ice/
A Dice_ethtool_fdir.c180 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
184 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, rule->mask.v6.dst_ip, in ice_get_ethtool_fdir_entry()
195 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
202 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, in ice_get_ethtool_fdir_entry()
1075 !memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1111 if (!memcmp(tcp_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1116 else if (!memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1172 !memcmp(usr_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg()
1190 if (!memcmp(usr_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg()
1921 memcpy(input->ip.v6.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in ice_set_fdir_input_set()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs_ethtool.c280 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6()
295 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_tcp6()
308 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_udp6()
620 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6dst)) in validate_ip6()
639 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6dst)) in validate_tcpudp6()
/drivers/net/ethernet/intel/iavf/
A Diavf_ethtool.c988 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
995 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1005 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1011 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1019 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1026 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1180 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
1187 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
1198 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
1204 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info()
[all …]
/drivers/net/ethernet/meta/fbnic/
A Dfbnic_ethtool.c634 fsp->h_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
636 fsp->m_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
686 fsp->h_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
688 fsp->m_u.usr_ip6_spec.ip6dst[i] = in fbnic_get_cls_rule()
971 addr6 = (struct in6_addr *)fsp->h_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
972 mask6 = (struct in6_addr *)fsp->m_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
1010 addr6 = (struct in6_addr *)fsp->h_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
1011 mask6 = (struct in6_addr *)fsp->m_u.usr_ip6_spec.ip6dst; in fbnic_set_cls_rule_ins()
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_hash.c336 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_field_hash()
346 memcpy(&opkt->ip6dst, &pkt->ip6dst, in npc_update_field_hash()
347 sizeof(pkt->ip6dst)); in npc_update_field_hash()
348 memcpy(&omask->ip6dst, &mask->ip6dst, in npc_update_field_hash()
349 sizeof(mask->ip6dst)); in npc_update_field_hash()
A Drvu_npc_fs.c866 be32_to_cpu_array(dst_ip_mask, mask->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow()
867 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow()
876 memcpy(opkt->ip6dst, pkt->ip6dst, sizeof(opkt->ip6dst)); in npc_update_ipv6_flow()
877 memcpy(omask->ip6dst, mask->ip6dst, sizeof(omask->ip6dst)); in npc_update_ipv6_flow()
A Dmbox.h1636 __be32 ip6dst[4]; member
A Drvu_debugfs.c3325 seq_printf(s, "%pI6 ", rule->packet.ip6dst); in rvu_dbg_npc_mcam_show_flows()
3326 seq_printf(s, "mask %pI6\n", rule->mask.ip6dst); in rvu_dbg_npc_mcam_show_flows()
/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c1353 fs->h_u.tcp_ip6_spec.ip6dst[i] = entry->key.dip6[i]; in nfp_net_fs_to_ethtool()
1355 fs->m_u.tcp_ip6_spec.ip6dst[i] = entry->msk.dip6[i]; in nfp_net_fs_to_ethtool()
1374 fs->h_u.usr_ip6_spec.ip6dst[i] = entry->key.dip6[i]; in nfp_net_fs_to_ethtool()
1376 fs->m_u.usr_ip6_spec.ip6dst[i] = entry->msk.dip6[i]; in nfp_net_fs_to_ethtool()
1537 entry->msk.dip6[i] = fs->m_u.tcp_ip6_spec.ip6dst[i]; in nfp_net_fs_from_ethtool()
1539 entry->key.dip6[i] = fs->h_u.tcp_ip6_spec.ip6dst[i] & entry->msk.dip6[i]; in nfp_net_fs_from_ethtool()
1557 entry->msk.dip6[i] = fs->m_u.usr_ip6_spec.ip6dst[i]; in nfp_net_fs_from_ethtool()
1559 entry->key.dip6[i] = fs->h_u.usr_ip6_spec.ip6dst[i] & entry->msk.dip6[i]; in nfp_net_fs_from_ethtool()
/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c3405 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry()
3468 fsp->m_u.tcp_ip6_spec.ip6dst[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3469 fsp->m_u.tcp_ip6_spec.ip6dst[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3470 fsp->m_u.tcp_ip6_spec.ip6dst[2] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3471 fsp->m_u.tcp_ip6_spec.ip6dst[3] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
4430 if (ipv6_addr_equal((struct in6_addr *)&tcp_ip6_spec->ip6dst, in i40e_check_fdir_input_set()
4434 &tcp_ip6_spec->ip6dst)) in i40e_check_fdir_input_set()
4509 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6dst, in i40e_check_fdir_input_set()
4513 &usr_ip6_spec->ip6dst)) in i40e_check_fdir_input_set()
4905 memcpy(input->src_ip6, fsp->h_u.ah_ip6_spec.ip6dst, in i40e_add_fdir_ethtool()
/drivers/net/ethernet/broadcom/asp2/
A Dbcmasp.c379 &match->ip6dst, &mask->ip6dst, in bcmasp_netfilt_tcpip6_wr()
380 sizeof(match->ip6dst)); in bcmasp_netfilt_tcpip6_wr()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ethtool.c1669 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule()
1670 sizeof(fs->h_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
1671 memcpy(&fs->m_u.tcp_ip6_spec.ip6dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule()
1672 sizeof(fs->m_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c1199 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1201 *(struct in6_addr *)&fs->m_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1420 fkeys->addrs.v6addrs.dst = *(struct in6_addr *)&ip_spec->ip6dst; in bnxt_add_ntuple_cls_rule()
1421 fmasks->addrs.v6addrs.dst = *(struct in6_addr *)&ip_mask->ip6dst; in bnxt_add_ntuple_cls_rule()
1436 fkeys->addrs.v6addrs.dst = *(struct in6_addr *)&ip_spec->ip6dst; in bnxt_add_ntuple_cls_rule()
1437 fmasks->addrs.v6addrs.dst = *(struct in6_addr *)&ip_mask->ip6dst; in bnxt_add_ntuple_cls_rule()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c5992 if (ipv6_addr_any((struct in6_addr *)spec->ip6dst)) in hclge_fd_check_tcpip6_tuple()
6020 if (ipv6_addr_any((struct in6_addr *)spec->ip6dst)) in hclge_fd_check_ip6_tuple()
6316 fs->h_u.tcp_ip6_spec.ip6dst); in hclge_fd_get_tcpip6_tuple()
6318 fs->m_u.tcp_ip6_spec.ip6dst); in hclge_fd_get_tcpip6_tuple()
6345 fs->h_u.usr_ip6_spec.ip6dst); in hclge_fd_get_ip6_tuple()
6347 fs->m_u.usr_ip6_spec.ip6dst); in hclge_fd_get_ip6_tuple()
6777 ipv6_addr_cpu_to_be32(spec->ip6dst, rule->tuples.dst_ip); in hclge_fd_get_tcpip6_info()
6785 memset(spec_mask->ip6dst, 0, sizeof(spec_mask->ip6dst)); in hclge_fd_get_tcpip6_info()
6787 ipv6_addr_cpu_to_be32(spec_mask->ip6dst, in hclge_fd_get_tcpip6_info()
6816 memset(spec_mask->ip6dst, 0, sizeof(spec_mask->ip6dst)); in hclge_fd_get_ip6_info()
[all …]
/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c524 ntohl(fsp->h_u.tcp_ip6_spec.ip6dst[i]); in aq_set_data_fl3l4()
/drivers/net/ethernet/qlogic/qede/
A Dqede_filter.c1358 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry()

Completed in 803 milliseconds