Searched refs:usr_ip6_spec (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_ethtool_fdir.c | 167 fsp->h_u.usr_ip6_spec.tclass = rule->ip.v6.tc; in ice_get_ethtool_fdir_entry() 168 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.tclass = rule->mask.v6.tc; in ice_get_ethtool_fdir_entry() 179 fsp->m_u.usr_ip6_spec.l4_proto = rule->mask.v6.proto; in ice_get_ethtool_fdir_entry() 1001 struct ethtool_usrip6_spec *usr_ip6_spec, in ice_set_fdir_ip6_usr_seg() argument 1005 if (usr_ip6_spec->l4_4_bytes) in ice_set_fdir_ip6_usr_seg() 1008 if (usr_ip6_spec->tclass) in ice_set_fdir_ip6_usr_seg() 1011 if (usr_ip6_spec->l4_proto) in ice_set_fdir_ip6_usr_seg() 1578 input->ip.v6.tc = fsp->h_u.usr_ip6_spec.tclass; in ice_set_fdir_input_set() 1581 if (!fsp->m_u.usr_ip6_spec.l4_proto) in ice_set_fdir_input_set() [all …]
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1154 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry() 1155 fsp->h_u.usr_ip6_spec.tclass = rule->ip_data.tclass; in iavf_get_ethtool_fdir_entry() 1156 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip_data.proto; in iavf_get_ethtool_fdir_entry() 1161 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry() 1162 fsp->m_u.usr_ip6_spec.tclass = rule->ip_mask.tclass; in iavf_get_ethtool_fdir_entry() 1163 fsp->m_u.usr_ip6_spec.l4_proto = rule->ip_mask.proto; in iavf_get_ethtool_fdir_entry() 1340 fltr->ip_data.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info() 1341 fltr->ip_data.tclass = fsp->h_u.usr_ip6_spec.tclass; in iavf_add_fdir_fltr_info() 1342 fltr->ip_data.proto = fsp->h_u.usr_ip6_spec.l4_proto; in iavf_add_fdir_fltr_info() 1348 fltr->ip_mask.tclass = fsp->m_u.usr_ip6_spec.tclass; in iavf_add_fdir_fltr_info() [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 795 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_get_class_rule() 796 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in ef4_ethtool_get_class_rule() 1031 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_set_class_rule() 1032 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in ef4_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 653 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_get_class_rule() 654 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_get_class_rule() 925 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_set_class_rule() 926 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec; in efx_ethtool_set_class_rule()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 263 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in parse_ip6() 264 struct ethtool_usrip6_spec *l3_val = &fs->h_u.usr_ip6_spec; in parse_ip6() 604 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in validate_ip6()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_ethtool.c | 4165 struct ethtool_usrip6_spec *usr_ip6_spec; in i40e_check_fdir_input_set() local 4362 usr_ip6_spec = &fsp->m_u.usr_ip6_spec; 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() 4375 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6dst, in i40e_check_fdir_input_set() 4379 &usr_ip6_spec->ip6src)) in i40e_check_fdir_input_set() 4384 if (usr_ip6_spec->l4_4_bytes == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set() 4386 else if (!usr_ip6_spec->l4_4_bytes) in i40e_check_fdir_input_set() 4392 if (usr_ip6_spec->tclass) in i40e_check_fdir_input_set() 4396 if (usr_ip6_spec->l4_proto) in i40e_check_fdir_input_set() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_flows.c | 649 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; in otx2_prepare_ipv6_flow() 650 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp->h_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 995 struct ethtool_usrip6_spec usr_ip6_spec; member
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_filters.c | 36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.c | 6488 ret = hclge_fd_check_ip6_tuple(&fs->h_u.usr_ip6_spec, in hclge_fd_check_spec() 6607 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_tuple() 6609 be32_to_cpu_array(rule->tuples_mask.src_ip, fs->m_u.usr_ip6_spec.ip6src, in hclge_fd_get_ip6_tuple() 6612 be32_to_cpu_array(rule->tuples.dst_ip, fs->h_u.usr_ip6_spec.ip6dst, in hclge_fd_get_ip6_tuple() 6614 be32_to_cpu_array(rule->tuples_mask.dst_ip, fs->m_u.usr_ip6_spec.ip6dst, in hclge_fd_get_ip6_tuple() 6617 rule->tuples.ip_proto = fs->h_u.usr_ip6_spec.l4_proto; in hclge_fd_get_ip6_tuple() 6618 rule->tuples_mask.ip_proto = fs->m_u.usr_ip6_spec.l4_proto; in hclge_fd_get_ip6_tuple() 7210 hclge_fd_get_ip6_info(rule, &fs->h_u.usr_ip6_spec, in hclge_get_fd_rule_info() 7211 &fs->m_u.usr_ip6_spec); in hclge_get_fd_rule_info()
|
Completed in 57 milliseconds