/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_flows.c | 684 if (!ipv6_addr_any((struct in6_addr *)ipv6_usr_mask->ip6dst)) { in otx2_prepare_ipv6_flow() 685 memcpy(&pkt->ip6dst, &ipv6_usr_hdr->ip6dst, in otx2_prepare_ipv6_flow() 686 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow() 687 memcpy(&pmask->ip6dst, &ipv6_usr_mask->ip6dst, in otx2_prepare_ipv6_flow() 688 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow() 708 if (!ipv6_addr_any((struct in6_addr *)ipv6_l4_mask->ip6dst)) { in otx2_prepare_ipv6_flow() 709 memcpy(&pkt->ip6dst, &ipv6_l4_hdr->ip6dst, in otx2_prepare_ipv6_flow() 710 sizeof(pkt->ip6dst)); in otx2_prepare_ipv6_flow() 711 memcpy(&pmask->ip6dst, &ipv6_l4_mask->ip6dst, in otx2_prepare_ipv6_flow() 712 sizeof(pmask->ip6dst)); in otx2_prepare_ipv6_flow() [all …]
|
D | otx2_tc.c | 624 memcpy(&flow_spec->ip6dst, in otx2_tc_prepare_flow() 626 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow() 627 memcpy(&flow_mask->ip6dst, in otx2_tc_prepare_flow() 629 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow()
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 747 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 748 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 749 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule() 818 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 819 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 820 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule() 1042 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() 1043 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule() 1046 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1101 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.c | 710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 711 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 712 ip6_fill_mask(ip6_mask->ip6dst); in efx_ethtool_get_class_rule() 781 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 782 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule() 783 ip6_fill_mask(uip6_mask->ip6dst); in efx_ethtool_get_class_rule() 1006 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() 1007 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in efx_ethtool_set_class_rule() 1010 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1065 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in efx_ethtool_set_class_rule() [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 857 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 858 sizeof(ip6_entry->ip6dst)); in ef4_ethtool_get_class_rule() 859 ip6_fill_mask(ip6_mask->ip6dst); in ef4_ethtool_get_class_rule() 928 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 929 sizeof(uip6_entry->ip6dst)); in ef4_ethtool_get_class_rule() 930 ip6_fill_mask(uip6_mask->ip6dst); in ef4_ethtool_get_class_rule() 1107 if (!ip6_mask_is_empty(ip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule() 1108 if (!ip6_mask_is_full(ip6_mask->ip6dst)) in ef4_ethtool_set_class_rule() 1111 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() 1166 if (!ip6_mask_is_empty(uip6_mask->ip6dst)) { in ef4_ethtool_set_class_rule() [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 172 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry() 176 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, rule->mask.v6.dst_ip, in ice_get_ethtool_fdir_entry() 187 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry() 194 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, in ice_get_ethtool_fdir_entry() 1065 !memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1101 if (!memcmp(tcp_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1106 else if (!memcmp(tcp_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg() 1162 !memcmp(usr_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() 1180 if (!memcmp(usr_ip6_spec->ip6dst, &full_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() 1185 else if (!memcmp(usr_ip6_spec->ip6dst, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 284 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6() 299 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_tcp6() 312 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_udp6() 624 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6dst)) in validate_ip6() 643 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6dst)) in validate_tcpudp6()
|
/Linux-v6.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 1129 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1136 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1146 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1152 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1160 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1167 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1315 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() 1322 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.usr_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() 1332 memcpy(&fltr->ip_data.v6_addrs.dst_ip, fsp->h_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() 1338 memcpy(&fltr->ip_mask.v6_addrs.dst_ip, fsp->m_u.ah_ip6_spec.ip6dst, in iavf_add_fdir_fltr_info() [all …]
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_fs.c | 775 be32_to_cpu_array(dst_ip_mask, mask->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow() 776 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_ipv6_flow() 785 memcpy(opkt->ip6dst, pkt->ip6dst, sizeof(opkt->ip6dst)); in npc_update_ipv6_flow() 786 memcpy(omask->ip6dst, mask->ip6dst, sizeof(omask->ip6dst)); in npc_update_ipv6_flow()
|
D | rvu_npc_hash.c | 296 be32_to_cpu_array(dst_ip, pkt->ip6dst, IPV6_WORDS); in npc_update_field_hash() 306 memcpy(&opkt->ip6dst, &pkt->ip6dst, in npc_update_field_hash() 307 sizeof(pkt->ip6dst)); in npc_update_field_hash() 308 memcpy(&omask->ip6dst, &mask->ip6dst, in npc_update_field_hash() 309 sizeof(mask->ip6dst)); in npc_update_field_hash()
|
D | mbox.h | 1432 __be32 ip6dst[4]; member
|
D | rvu_debugfs.c | 2796 seq_printf(s, "%pI6 ", rule->packet.ip6dst); in rvu_dbg_npc_mcam_show_flows() 2797 seq_printf(s, "mask %pI6\n", rule->mask.ip6dst); in rvu_dbg_npc_mcam_show_flows()
|
/Linux-v6.1/include/uapi/linux/ |
D | ethtool.h | 991 __be32 ip6dst[4]; member 1008 __be32 ip6dst[4]; member 1023 __be32 ip6dst[4]; member
|
/Linux-v6.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 3391 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry() 3454 fsp->m_u.tcp_ip6_spec.ip6dst[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 3455 fsp->m_u.tcp_ip6_spec.ip6dst[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 3456 fsp->m_u.tcp_ip6_spec.ip6dst[2] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 3457 fsp->m_u.tcp_ip6_spec.ip6dst[3] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 4418 if (ipv6_addr_equal((struct in6_addr *)&tcp_ip6_spec->ip6dst, in i40e_check_fdir_input_set() 4422 &tcp_ip6_spec->ip6dst)) in i40e_check_fdir_input_set() 4497 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6dst, in i40e_check_fdir_input_set() 4501 &usr_ip6_spec->ip6dst)) in i40e_check_fdir_input_set() 4893 memcpy(input->src_ip6, fsp->h_u.ah_ip6_spec.ip6dst, in i40e_add_fdir_ethtool()
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1672 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule() 1673 sizeof(fs->h_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule() 1674 memcpy(&fs->m_u.tcp_ip6_spec.ip6dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule() 1675 sizeof(fs->m_u.tcp_ip6_spec.ip6dst)); in cxgb4_fill_filter_rule()
|
/Linux-v6.1/net/ethtool/ |
D | ioctl.c | 3203 if (memcmp(v6_m_spec->ip6dst, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create() 3204 memcpy(&match->key.ipv6.dst, v6_spec->ip6dst, in ethtool_rx_flow_rule_create() 3206 memcpy(&match->mask.ipv6.dst, v6_m_spec->ip6dst, in ethtool_rx_flow_rule_create() 3210 memcmp(v6_m_spec->ip6dst, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create()
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5968 if (ipv6_addr_any((struct in6_addr *)spec->ip6dst)) in hclge_fd_check_tcpip6_tuple() 5996 if (ipv6_addr_any((struct in6_addr *)spec->ip6dst)) in hclge_fd_check_ip6_tuple() 6294 be32_to_cpu_array(rule->tuples.dst_ip, fs->h_u.tcp_ip6_spec.ip6dst, in hclge_fd_get_tcpip6_tuple() 6296 be32_to_cpu_array(rule->tuples_mask.dst_ip, fs->m_u.tcp_ip6_spec.ip6dst, in hclge_fd_get_tcpip6_tuple() 6324 be32_to_cpu_array(rule->tuples.dst_ip, fs->h_u.usr_ip6_spec.ip6dst, in hclge_fd_get_ip6_tuple() 6326 be32_to_cpu_array(rule->tuples_mask.dst_ip, fs->m_u.usr_ip6_spec.ip6dst, in hclge_fd_get_ip6_tuple() 6760 cpu_to_be32_array(spec->ip6dst, in hclge_fd_get_tcpip6_info() 6769 memset(spec_mask->ip6dst, 0, sizeof(spec_mask->ip6dst)); in hclge_fd_get_tcpip6_info() 6771 cpu_to_be32_array(spec_mask->ip6dst, rule->tuples_mask.dst_ip, in hclge_fd_get_tcpip6_info() 6792 cpu_to_be32_array(spec->ip6dst, rule->tuples.dst_ip, IPV6_SIZE); in hclge_fd_get_ip6_info() [all …]
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 524 ntohl(fsp->h_u.tcp_ip6_spec.ip6dst[i]); in aq_set_data_fl3l4()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1083 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule() 1087 fs->m_u.tcp_ip6_spec.ip6dst[i] = cpu_to_be32(~0); in bnxt_grxclsrule()
|
/Linux-v6.1/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1361 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry()
|