Home
last modified time | relevance | path

Searched refs:usr_ip6_spec (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1127 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1129 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1134 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_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()
1158 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_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()
1162 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1163 fsp->h_u.usr_ip6_spec.tclass = rule->ip_data.tclass; in iavf_get_ethtool_fdir_entry()
1164 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip_data.proto; in iavf_get_ethtool_fdir_entry()
1165 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c167 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()
1147 struct ethtool_usrip6_spec *usr_ip6_spec, in ice_set_fdir_ip6_usr_seg() argument
1151 if (usr_ip6_spec->l4_4_bytes) in ice_set_fdir_ip6_usr_seg()
1154 if (usr_ip6_spec->tclass) in ice_set_fdir_ip6_usr_seg()
1157 if (usr_ip6_spec->l4_proto) in ice_set_fdir_ip6_usr_seg()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c280 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in parse_ip6()
281 struct ethtool_usrip6_spec *l3_val = &fs->h_u.usr_ip6_spec; in parse_ip6()
616 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in validate_ip6()
/Linux-v6.1/drivers/net/ethernet/sfc/
Dethtool_common.c691 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_get_class_rule()
692 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_get_class_rule()
963 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_set_class_rule()
964 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_set_class_rule()
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dethtool_common.c654 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()
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/
Dethtool.c801 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()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4291 struct ethtool_usrip6_spec *usr_ip6_spec; in i40e_check_fdir_input_set() local
4484 usr_ip6_spec = &fsp->m_u.usr_ip6_spec; in i40e_check_fdir_input_set()
4487 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6src, in i40e_check_fdir_input_set()
4491 &usr_ip6_spec->ip6src)) 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()
4506 if (usr_ip6_spec->l4_4_bytes) in i40e_check_fdir_input_set()
4510 if (usr_ip6_spec->tclass) in i40e_check_fdir_input_set()
4514 if (usr_ip6_spec->l4_proto) in i40e_check_fdir_input_set()
4888 input->ipl4_proto = fsp->h_u.usr_ip6_spec.l4_proto; in i40e_add_fdir_ethtool()
/Linux-v6.1/include/uapi/linux/
Dethtool.h1041 struct ethtool_usrip6_spec usr_ip6_spec; member
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c666 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
667 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp->h_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6200 ret = hclge_fd_check_ip6_tuple(&fs->h_u.usr_ip6_spec, in hclge_fd_check_spec()
6319 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_tuple()
6321 be32_to_cpu_array(rule->tuples_mask.src_ip, fs->m_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_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()
6329 rule->tuples.ip_proto = fs->h_u.usr_ip6_spec.l4_proto; in hclge_fd_get_ip6_tuple()
6330 rule->tuples_mask.ip_proto = fs->m_u.usr_ip6_spec.l4_proto; in hclge_fd_get_ip6_tuple()
6947 hclge_fd_get_ip6_info(rule, &fs->h_u.usr_ip6_spec, in hclge_get_fd_rule_info()
6948 &fs->m_u.usr_ip6_spec); in hclge_get_fd_rule_info()