Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c661 memcpy(&pkt->ip6src, &ipv6_usr_hdr->ip6src, in otx2_prepare_ipv6_flow()
662 sizeof(pkt->ip6src)); in otx2_prepare_ipv6_flow()
663 memcpy(&pmask->ip6src, &ipv6_usr_mask->ip6src, in otx2_prepare_ipv6_flow()
664 sizeof(pmask->ip6src)); in otx2_prepare_ipv6_flow()
685 memcpy(&pkt->ip6src, &ipv6_l4_hdr->ip6src, in otx2_prepare_ipv6_flow()
686 sizeof(pkt->ip6src)); in otx2_prepare_ipv6_flow()
687 memcpy(&pmask->ip6src, &ipv6_l4_mask->ip6src, in otx2_prepare_ipv6_flow()
688 sizeof(pmask->ip6src)); in otx2_prepare_ipv6_flow()
735 memcpy(&pkt->ip6src, &ah_esp_hdr->ip6src, in otx2_prepare_ipv6_flow()
736 sizeof(pkt->ip6src)); in otx2_prepare_ipv6_flow()
[all …]
A Dotx2_tc.c557 memcpy(&flow_spec->ip6src, in otx2_tc_prepare_flow()
559 sizeof(flow_spec->ip6src)); in otx2_tc_prepare_flow()
560 memcpy(&flow_mask->ip6src, in otx2_tc_prepare_flow()
562 sizeof(flow_spec->ip6src)); in otx2_tc_prepare_flow()
/linux/drivers/net/ethernet/intel/ice/
A Dice_ethtool_fdir.c169 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
173 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, rule->mask.v6.src_ip, in ice_get_ethtool_fdir_entry()
184 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
190 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, in ice_get_ethtool_fdir_entry()
917 if (!memcmp(tcp_ip6_spec->ip6src, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
944 if (!memcmp(tcp_ip6_spec->ip6src, &full_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
949 else if (!memcmp(tcp_ip6_spec->ip6src, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_seg()
1014 if (!memcmp(usr_ip6_spec->ip6src, &zero_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg()
1023 if (!memcmp(usr_ip6_spec->ip6src, &full_ipv6_addr_mask, in ice_set_fdir_ip6_usr_seg()
1559 memcpy(input->ip.v6.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in ice_set_fdir_input_set()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
A Dethtool.c856 memcpy(ip6_entry->ip6src, spec.rem_host, in ef4_ethtool_get_class_rule()
857 sizeof(ip6_entry->ip6src)); in ef4_ethtool_get_class_rule()
858 ip6_fill_mask(ip6_mask->ip6src); in ef4_ethtool_get_class_rule()
927 memcpy(uip6_entry->ip6src, spec.rem_host, in ef4_ethtool_get_class_rule()
928 sizeof(uip6_entry->ip6src)); in ef4_ethtool_get_class_rule()
929 ip6_fill_mask(uip6_mask->ip6src); in ef4_ethtool_get_class_rule()
1107 if (!ip6_mask_is_empty(ip6_mask->ip6src)) { in ef4_ethtool_set_class_rule()
1108 if (!ip6_mask_is_full(ip6_mask->ip6src)) in ef4_ethtool_set_class_rule()
1111 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in ef4_ethtool_set_class_rule()
1166 if (!ip6_mask_is_empty(uip6_mask->ip6src)) { in ef4_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/
A Dethtool_common.c714 memcpy(ip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
715 sizeof(ip6_entry->ip6src)); in efx_ethtool_get_class_rule()
716 ip6_fill_mask(ip6_mask->ip6src); in efx_ethtool_get_class_rule()
785 memcpy(uip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
786 sizeof(uip6_entry->ip6src)); in efx_ethtool_get_class_rule()
787 ip6_fill_mask(uip6_mask->ip6src); in efx_ethtool_get_class_rule()
1010 if (!ip6_mask_is_empty(ip6_mask->ip6src)) { in efx_ethtool_set_class_rule()
1011 if (!ip6_mask_is_full(ip6_mask->ip6src)) in efx_ethtool_set_class_rule()
1014 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule()
1069 if (!ip6_mask_is_empty(uip6_mask->ip6src)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs_ethtool.c266 set_ip6(headers_c, headers_v, l3_mask->ip6src, in parse_ip6()
267 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6()
281 set_ip6(headers_c, headers_v, l4_mask->ip6src, in parse_tcp6()
282 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_tcp6()
294 set_ip6(headers_c, headers_v, l4_mask->ip6src, in parse_udp6()
295 l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); in parse_udp6()
609 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6src)) in validate_ip6()
628 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6src)) in validate_tcpudp6()
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_ethtool.c1119 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1126 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1136 memcpy(fsp->h_u.ah_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1142 memcpy(fsp->m_u.ah_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1150 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1157 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1305 memcpy(&fltr->ip_data.v6_addrs.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
1312 memcpy(&fltr->ip_mask.v6_addrs.src_ip, fsp->m_u.usr_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
1322 memcpy(&fltr->ip_data.v6_addrs.src_ip, fsp->h_u.ah_ip6_spec.ip6src, in iavf_add_fdir_fltr_info()
1328 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/
A Drvu_npc_fs.c728 be32_to_cpu_array(src_ip_mask, mask->ip6src, IPV6_WORDS); in npc_update_ipv6_flow()
729 be32_to_cpu_array(src_ip, pkt->ip6src, IPV6_WORDS); in npc_update_ipv6_flow()
738 memcpy(opkt->ip6src, pkt->ip6src, sizeof(opkt->ip6src)); in npc_update_ipv6_flow()
739 memcpy(omask->ip6src, mask->ip6src, sizeof(omask->ip6src)); in npc_update_ipv6_flow()
A Dmbox.h1340 __be32 ip6src[4]; member
A Drvu_debugfs.c2441 seq_printf(s, "%pI6 ", rule->packet.ip6src); in rvu_dbg_npc_mcam_show_flows()
2442 seq_printf(s, "mask %pI6\n", rule->mask.ip6src); in rvu_dbg_npc_mcam_show_flows()
/linux/include/uapi/linux/
A Dethtool.h944 __be32 ip6src[4]; member
961 __be32 ip6src[4]; member
976 __be32 ip6src[4]; member
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c3280 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->dst_ip6, in i40e_get_ethtool_fdir_entry()
3334 fsp->m_u.tcp_ip6_spec.ip6src[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3335 fsp->m_u.tcp_ip6_spec.ip6src[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3336 fsp->m_u.tcp_ip6_spec.ip6src[2] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3337 fsp->m_u.tcp_ip6_spec.ip6src[3] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
4282 if (ipv6_addr_equal((struct in6_addr *)&tcp_ip6_spec->ip6src, in i40e_check_fdir_input_set()
4286 &tcp_ip6_spec->ip6src)) in i40e_check_fdir_input_set()
4365 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6src, in i40e_check_fdir_input_set()
4369 &usr_ip6_spec->ip6src)) in i40e_check_fdir_input_set()
4379 &usr_ip6_spec->ip6src)) in i40e_check_fdir_input_set()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ethtool.c1664 memcpy(&fs->h_u.tcp_ip6_spec.ip6src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1665 sizeof(fs->h_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
1666 memcpy(&fs->m_u.tcp_ip6_spec.ip6src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
1667 sizeof(fs->m_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
/linux/net/ethtool/
A Dioctl.c3199 if (memcmp(v6_m_spec->ip6src, &zero_addr, sizeof(zero_addr))) { in ethtool_rx_flow_rule_create()
3200 memcpy(&match->key.ipv6.src, v6_spec->ip6src, in ethtool_rx_flow_rule_create()
3202 memcpy(&match->mask.ipv6.src, v6_m_spec->ip6src, in ethtool_rx_flow_rule_create()
3211 if (memcmp(v6_m_spec->ip6src, &zero_addr, sizeof(zero_addr)) || in ethtool_rx_flow_rule_create()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c6253 if (ipv6_addr_any((struct in6_addr *)spec->ip6src)) in hclge_fd_check_tcpip6_tuple()
6281 if (ipv6_addr_any((struct in6_addr *)spec->ip6src)) in hclge_fd_check_ip6_tuple()
6577 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.tcp_ip6_spec.ip6src, in hclge_fd_get_tcpip6_tuple()
6579 be32_to_cpu_array(rule->tuples_mask.src_ip, fs->m_u.tcp_ip6_spec.ip6src, in hclge_fd_get_tcpip6_tuple()
6607 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_tuple()
7046 cpu_to_be32_array(spec->ip6src, in hclge_fd_get_tcpip6_info()
7051 memset(spec_mask->ip6src, 0, sizeof(spec_mask->ip6src)); in hclge_fd_get_tcpip6_info()
7053 cpu_to_be32_array(spec_mask->ip6src, rule->tuples_mask.src_ip, in hclge_fd_get_tcpip6_info()
7079 cpu_to_be32_array(spec->ip6src, rule->tuples.src_ip, IPV6_SIZE); in hclge_fd_get_ip6_info()
7082 memset(spec_mask->ip6src, 0, sizeof(spec_mask->ip6src)); in hclge_fd_get_ip6_info()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c526 ntohl(fsp->h_u.tcp_ip6_spec.ip6src[i]); in aq_set_data_fl3l4()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ethtool.c1047 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6src[0] = in bnxt_grxclsrule()
1052 fs->m_u.tcp_ip6_spec.ip6src[i] = cpu_to_be32(~0); in bnxt_grxclsrule()
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_filter.c1359 memcpy(&fsp->h_u.tcp_ip6_spec.ip6src, in qede_get_cls_rule_entry()

Completed in 511 milliseconds