Home
last modified time | relevance | path

Searched refs:tcp_ip6_spec (Results 1 – 18 of 18) 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()
69 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec()
71 fsp->h_u.tcp_ip6_spec.psrc = flow_rule->key.src_port; in gve_fill_ethtool_flow_spec()
72 fsp->h_u.tcp_ip6_spec.pdst = flow_rule->key.dst_port; in gve_fill_ethtool_flow_spec()
73 fsp->h_u.tcp_ip6_spec.tclass = flow_rule->key.tclass; 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()
76 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, in gve_fill_ethtool_flow_spec()
78 fsp->m_u.tcp_ip6_spec.psrc = flow_rule->mask.src_port; in gve_fill_ethtool_flow_spec()
79 fsp->m_u.tcp_ip6_spec.pdst = flow_rule->mask.dst_port; in gve_fill_ethtool_flow_spec()
80 fsp->m_u.tcp_ip6_spec.tclass = flow_rule->mask.tclass; in gve_fill_ethtool_flow_spec()
[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()
180 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_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()
184 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, rule->mask.v6.dst_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()
195 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
197 fsp->h_u.tcp_ip6_spec.psrc = rule->ip.v6.src_port; in ice_get_ethtool_fdir_entry()
198 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry()
199 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, in ice_get_ethtool_fdir_entry()
202 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, in ice_get_ethtool_fdir_entry()
[all …]
/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()
1352 fs->h_u.tcp_ip6_spec.ip6dst[i] = entry->key.dip6[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()
1354 fs->m_u.tcp_ip6_spec.ip6dst[i] = entry->msk.dip6[i]; in nfp_net_fs_to_ethtool()
1356 fs->h_u.tcp_ip6_spec.psrc = entry->key.sport; in nfp_net_fs_to_ethtool()
1357 fs->h_u.tcp_ip6_spec.pdst = entry->key.dport; in nfp_net_fs_to_ethtool()
1358 fs->m_u.tcp_ip6_spec.psrc = entry->msk.sport; in nfp_net_fs_to_ethtool()
1359 fs->m_u.tcp_ip6_spec.pdst = entry->msk.dport; 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()
1536 entry->msk.dip6[i] = fs->m_u.tcp_ip6_spec.ip6dst[i]; in nfp_net_fs_from_ethtool()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c988 fsp->h_u.tcp_ip6_spec.psrc = rule->ip_data.src_port; in iavf_get_ethtool_fdir_entry()
989 fsp->h_u.tcp_ip6_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
990 fsp->h_u.tcp_ip6_spec.tclass = rule->ip_data.tclass; in iavf_get_ethtool_fdir_entry()
995 fsp->m_u.tcp_ip6_spec.psrc = rule->ip_mask.src_port; in iavf_get_ethtool_fdir_entry()
996 fsp->m_u.tcp_ip6_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()
997 fsp->m_u.tcp_ip6_spec.tclass = rule->ip_mask.tclass; in iavf_get_ethtool_fdir_entry()
1180 fltr->ip_data.src_port = fsp->h_u.tcp_ip6_spec.psrc; in iavf_add_fdir_fltr_info()
1181 fltr->ip_data.dst_port = fsp->h_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
1182 fltr->ip_data.tclass = fsp->h_u.tcp_ip6_spec.tclass; in iavf_add_fdir_fltr_info()
1187 fltr->ip_mask.src_port = fsp->m_u.tcp_ip6_spec.psrc; in iavf_add_fdir_fltr_info()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1661 fs->h_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1662 fs->m_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->mask.fport); in cxgb4_fill_filter_rule()
1663 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1664 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
1665 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()
1669 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()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3394 fsp->h_u.tcp_ip6_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()
3395 fsp->h_u.tcp_ip6_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3396 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry()
3398 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()
3459 fsp->m_u.tcp_ip6_spec.ip6dst[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3460 fsp->m_u.tcp_ip6_spec.ip6dst[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c250 fsp->h_u.tcp_ip6_spec.tclass)) { in aq_rule_is_not_support()
524 ntohl(fsp->h_u.tcp_ip6_spec.ip6dst[i]); in aq_set_data_fl3l4()
526 ntohl(fsp->h_u.tcp_ip6_spec.ip6src[i]); in aq_set_data_fl3l4()
539 ntohs(fsp->h_u.tcp_ip6_spec.pdst); in aq_set_data_fl3l4()
541 ntohs(fsp->h_u.tcp_ip6_spec.psrc); in aq_set_data_fl3l4()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c652 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_get_class_rule()
653 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in efx_ethtool_get_class_rule()
912 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
913 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c799 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in ef4_ethtool_get_class_rule()
800 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in ef4_ethtool_get_class_rule()
1035 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in ef4_ethtool_set_class_rule()
1036 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in ef4_ethtool_set_class_rule()
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c652 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_get_class_rule()
653 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in efx_ethtool_get_class_rule()
924 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
925 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c291 struct ethtool_tcpip6_spec *l4_mask = &fs->m_u.tcp_ip6_spec; in parse_tcp6()
292 struct ethtool_tcpip6_spec *l4_val = &fs->h_u.tcp_ip6_spec; in parse_tcp6()
630 struct ethtool_tcpip6_spec *l4_mask = &fs->m_u.tcp_ip6_spec; in validate_tcpudp6()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1357 fsp->h_u.tcp_ip6_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry()
1358 fsp->h_u.tcp_ip6_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1359 memcpy(&fsp->h_u.tcp_ip6_spec.ip6src, in qede_get_cls_rule_entry()
1361 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry()
/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()
1183 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1185 *(struct in6_addr *)&fs->m_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1189 fs->h_u.tcp_ip6_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
1190 fs->m_u.tcp_ip6_spec.psrc = fmasks->ports.src; in bnxt_grxclsrule()
1191 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1192 fs->m_u.tcp_ip6_spec.pdst = fmasks->ports.dst; in bnxt_grxclsrule()
1401 struct ethtool_tcpip6_spec *ip_spec = &fs->h_u.tcp_ip6_spec; in bnxt_add_ntuple_cls_rule()
1402 struct ethtool_tcpip6_spec *ip_mask = &fs->m_u.tcp_ip6_spec; in bnxt_add_ntuple_cls_rule()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c494 bcmasp_netfilt_tcpip6_wr(priv, nfilt, &fs->h_u.tcp_ip6_spec, in bcmasp_netfilt_wr_to_hw()
495 &fs->m_u.tcp_ip6_spec, offset); in bcmasp_netfilt_wr_to_hw()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c6204 ret = hclge_fd_check_tcpip6_tuple(&fs->h_u.tcp_ip6_spec, in hclge_fd_check_spec()
6295 fs->h_u.tcp_ip6_spec.ip6src); in hclge_fd_get_tcpip6_tuple()
6297 fs->m_u.tcp_ip6_spec.ip6src); in hclge_fd_get_tcpip6_tuple()
6300 fs->h_u.tcp_ip6_spec.ip6dst); in hclge_fd_get_tcpip6_tuple()
6302 fs->m_u.tcp_ip6_spec.ip6dst); in hclge_fd_get_tcpip6_tuple()
6304 rule->tuples.src_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.psrc); in hclge_fd_get_tcpip6_tuple()
6305 rule->tuples_mask.src_port = be16_to_cpu(fs->m_u.tcp_ip6_spec.psrc); in hclge_fd_get_tcpip6_tuple()
6307 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.pdst); in hclge_fd_get_tcpip6_tuple()
6308 rule->tuples_mask.dst_port = be16_to_cpu(fs->m_u.tcp_ip6_spec.pdst); in hclge_fd_get_tcpip6_tuple()
6313 rule->tuples.ip_tos = fs->h_u.tcp_ip6_spec.tclass; in hclge_fd_get_tcpip6_tuple()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c695 struct ethtool_tcpip6_spec *ipv6_l4_mask = &fsp->m_u.tcp_ip6_spec; in otx2_prepare_ipv6_flow()
696 struct ethtool_tcpip6_spec *ipv6_l4_hdr = &fsp->h_u.tcp_ip6_spec; in otx2_prepare_ipv6_flow()
/linux/include/uapi/linux/
H A Dethtool.h1341 struct ethtool_tcpip6_spec tcp_ip6_spec; member
/linux/net/ethtool/
H A Dioctl.c3539 v6_spec = &fs->h_u.tcp_ip6_spec; in ethtool_rx_flow_rule_create()
3540 v6_m_spec = &fs->m_u.tcp_ip6_spec; in ethtool_rx_flow_rule_create()