/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 167 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip.v6.l4_header; in ice_get_ethtool_fdir_entry() 168 fsp->h_u.usr_ip6_spec.tclass = rule->ip.v6.tc; in ice_get_ethtool_fdir_entry() 169 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip.v6.proto; in ice_get_ethtool_fdir_entry() 178 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->mask.v6.l4_header; in ice_get_ethtool_fdir_entry() 179 fsp->m_u.usr_ip6_spec.tclass = rule->mask.v6.tc; in ice_get_ethtool_fdir_entry() 180 fsp->m_u.usr_ip6_spec.l4_proto = rule->mask.v6.proto; in ice_get_ethtool_fdir_entry() 1155 struct ethtool_usrip6_spec *usr_ip6_spec, in ice_set_fdir_ip6_usr_seg() argument 1159 if (usr_ip6_spec->l4_4_bytes) in ice_set_fdir_ip6_usr_seg() 1162 if (usr_ip6_spec->tclass) in ice_set_fdir_ip6_usr_seg() 1165 if (usr_ip6_spec->l4_proto) in ice_set_fdir_ip6_usr_seg() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1126 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry() 1128 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1133 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry() 1135 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1157 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry() 1159 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1161 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry() 1162 fsp->h_u.usr_ip6_spec.tclass = rule->ip_data.tclass; in iavf_get_ethtool_fdir_entry() 1163 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip_data.proto; in iavf_get_ethtool_fdir_entry() 1164 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 801 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_get_class_rule() 802 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in ef4_ethtool_get_class_rule() 1037 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_set_class_rule() 1038 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in ef4_ethtool_set_class_rule()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 654 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_get_class_rule() 655 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_get_class_rule() 926 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_set_class_rule() 927 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_set_class_rule()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 654 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_get_class_rule() 655 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_get_class_rule() 927 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_set_class_rule() 928 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_set_class_rule()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 276 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in parse_ip6() 277 struct ethtool_usrip6_spec *l3_val = &fs->h_u.usr_ip6_spec; in parse_ip6() 612 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in validate_ip6()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 4294 struct ethtool_usrip6_spec *usr_ip6_spec; in i40e_check_fdir_input_set() local 4487 usr_ip6_spec = &fsp->m_u.usr_ip6_spec; in i40e_check_fdir_input_set() 4490 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6src, in i40e_check_fdir_input_set() 4494 &usr_ip6_spec->ip6src)) in i40e_check_fdir_input_set() 4500 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6dst, in i40e_check_fdir_input_set() 4504 &usr_ip6_spec->ip6dst)) in i40e_check_fdir_input_set() 4509 if (usr_ip6_spec->l4_4_bytes) in i40e_check_fdir_input_set() 4513 if (usr_ip6_spec->tclass) in i40e_check_fdir_input_set() 4517 if (usr_ip6_spec->l4_proto) in i40e_check_fdir_input_set() 4891 input->ipl4_proto = fsp->h_u.usr_ip6_spec.l4_proto; in i40e_add_fdir_ethtool()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 701 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; in otx2_prepare_ipv6_flow() 702 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp->h_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | ethtool.h | 1346 struct ethtool_usrip6_spec usr_ip6_spec; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | ethtool.h | 1082 struct ethtool_usrip6_spec usr_ip6_spec; member
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 6151 ret = hclge_fd_check_ip6_tuple(&fs->h_u.usr_ip6_spec, in hclge_fd_check_spec() 6266 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_tuple() 6268 be32_to_cpu_array(rule->tuples_mask.src_ip, fs->m_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_tuple() 6271 be32_to_cpu_array(rule->tuples.dst_ip, fs->h_u.usr_ip6_spec.ip6dst, in hclge_fd_get_ip6_tuple() 6273 be32_to_cpu_array(rule->tuples_mask.dst_ip, fs->m_u.usr_ip6_spec.ip6dst, in hclge_fd_get_ip6_tuple() 6276 rule->tuples.ip_proto = fs->h_u.usr_ip6_spec.l4_proto; in hclge_fd_get_ip6_tuple() 6277 rule->tuples_mask.ip_proto = fs->m_u.usr_ip6_spec.l4_proto; in hclge_fd_get_ip6_tuple() 6892 hclge_fd_get_ip6_info(rule, &fs->h_u.usr_ip6_spec, in hclge_get_fd_rule_info() 6893 &fs->m_u.usr_ip6_spec); in hclge_get_fd_rule_info()
|