Home
last modified time | relevance | path

Searched refs:tcp_ip6_spec (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c170 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
172 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
174 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, rule->mask.v6.src_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()
185 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_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()
189 fsp->h_u.tcp_ip6_spec.psrc = rule->ip.v6.src_port; in ice_get_ethtool_fdir_entry()
190 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry()
191 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, in ice_get_ethtool_fdir_entry()
194 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, in ice_get_ethtool_fdir_entry()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1130 fsp->h_u.tcp_ip6_spec.psrc = rule->ip_data.src_port; in iavf_get_ethtool_fdir_entry()
1131 fsp->h_u.tcp_ip6_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1132 fsp->h_u.tcp_ip6_spec.tclass = rule->ip_data.tclass; in iavf_get_ethtool_fdir_entry()
1137 fsp->m_u.tcp_ip6_spec.psrc = rule->ip_mask.src_port; in iavf_get_ethtool_fdir_entry()
1138 fsp->m_u.tcp_ip6_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()
1139 fsp->m_u.tcp_ip6_spec.tclass = rule->ip_mask.tclass; in iavf_get_ethtool_fdir_entry()
1319 fltr->ip_data.src_port = fsp->h_u.tcp_ip6_spec.psrc; in iavf_add_fdir_fltr_info()
1320 fltr->ip_data.dst_port = fsp->h_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
1321 fltr->ip_data.tclass = fsp->h_u.tcp_ip6_spec.tclass; in iavf_add_fdir_fltr_info()
1326 fltr->ip_mask.src_port = fsp->m_u.tcp_ip6_spec.psrc; in iavf_add_fdir_fltr_info()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1664 fs->h_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1665 fs->m_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->mask.fport); in cxgb4_fill_filter_rule()
1666 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1667 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
1668 memcpy(&fs->h_u.tcp_ip6_spec.ip6src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1669 sizeof(fs->h_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
1670 memcpy(&fs->m_u.tcp_ip6_spec.ip6src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
1671 sizeof(fs->m_u.tcp_ip6_spec.ip6src)); in cxgb4_fill_filter_rule()
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()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3392 fsp->h_u.tcp_ip6_spec.psrc = rule->dst_port; in i40e_get_ethtool_fdir_entry()
3393 fsp->h_u.tcp_ip6_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3394 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->src_ip6, in i40e_get_ethtool_fdir_entry()
3396 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->dst_ip6, in i40e_get_ethtool_fdir_entry()
3450 fsp->m_u.tcp_ip6_spec.ip6src[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3451 fsp->m_u.tcp_ip6_spec.ip6src[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3452 fsp->m_u.tcp_ip6_spec.ip6src[2] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3453 fsp->m_u.tcp_ip6_spec.ip6src[3] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3457 fsp->m_u.tcp_ip6_spec.ip6dst[0] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
3458 fsp->m_u.tcp_ip6_spec.ip6dst[1] = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
[all …]
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
925 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
926 struct ethtool_tcpip6_spec *ip6_mask = &rule->m_u.tcp_ip6_spec; in efx_ethtool_set_class_rule()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1074 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6src[0] = in bnxt_grxclsrule()
1076 *(struct in6_addr *)&fs->h_u.tcp_ip6_spec.ip6dst[0] = in bnxt_grxclsrule()
1079 fs->m_u.tcp_ip6_spec.ip6src[i] = cpu_to_be32(~0); in bnxt_grxclsrule()
1080 fs->m_u.tcp_ip6_spec.ip6dst[i] = cpu_to_be32(~0); in bnxt_grxclsrule()
1082 fs->h_u.tcp_ip6_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
1083 fs->m_u.tcp_ip6_spec.psrc = cpu_to_be16(~0); in bnxt_grxclsrule()
1085 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1086 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c477 bcmasp_netfilt_tcpip6_wr(priv, nfilt, &fs->h_u.tcp_ip6_spec, in bcmasp_netfilt_wr_to_hw()
478 &fs->m_u.tcp_ip6_spec, offset); in bcmasp_netfilt_wr_to_hw()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c6147 ret = hclge_fd_check_tcpip6_tuple(&fs->h_u.tcp_ip6_spec, in hclge_fd_check_spec()
6237 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.tcp_ip6_spec.ip6src, in hclge_fd_get_tcpip6_tuple()
6239 be32_to_cpu_array(rule->tuples_mask.src_ip, fs->m_u.tcp_ip6_spec.ip6src, in hclge_fd_get_tcpip6_tuple()
6242 be32_to_cpu_array(rule->tuples.dst_ip, fs->h_u.tcp_ip6_spec.ip6dst, in hclge_fd_get_tcpip6_tuple()
6244 be32_to_cpu_array(rule->tuples_mask.dst_ip, fs->m_u.tcp_ip6_spec.ip6dst, in hclge_fd_get_tcpip6_tuple()
6247 rule->tuples.src_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.psrc); in hclge_fd_get_tcpip6_tuple()
6248 rule->tuples_mask.src_port = be16_to_cpu(fs->m_u.tcp_ip6_spec.psrc); in hclge_fd_get_tcpip6_tuple()
6250 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.pdst); in hclge_fd_get_tcpip6_tuple()
6251 rule->tuples_mask.dst_port = be16_to_cpu(fs->m_u.tcp_ip6_spec.pdst); in hclge_fd_get_tcpip6_tuple()
6256 rule->tuples.ip_tos = fs->h_u.tcp_ip6_spec.tclass; in hclge_fd_get_tcpip6_tuple()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c703 struct ethtool_tcpip6_spec *ipv6_l4_mask = &fsp->m_u.tcp_ip6_spec; in otx2_prepare_ipv6_flow()
704 struct ethtool_tcpip6_spec *ipv6_l4_hdr = &fsp->h_u.tcp_ip6_spec; in otx2_prepare_ipv6_flow()
/openbmc/qemu/include/standard-headers/linux/
H A Dethtool.h1341 struct ethtool_tcpip6_spec tcp_ip6_spec; member
/openbmc/linux/include/uapi/linux/
H A Dethtool.h1077 struct ethtool_tcpip6_spec tcp_ip6_spec; member
/openbmc/linux/net/ethtool/
H A Dioctl.c3249 v6_spec = &fs->h_u.tcp_ip6_spec; in ethtool_rx_flow_rule_create()
3250 v6_m_spec = &fs->m_u.tcp_ip6_spec; in ethtool_rx_flow_rule_create()