Searched refs:usr_ip6_spec (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c167 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip.v6.l4_header;
168 fsp->h_u.usr_ip6_spec.tclass = rule->ip.v6.tc;
169 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip.v6.proto;
178 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->mask.v6.l4_header;
179 fsp->m_u.usr_ip6_spec.tclass = rule->mask.v6.tc;
180 fsp->m_u.usr_ip6_spec.l4_proto = rule->mask.v6.proto;
1140 * @usr_ip6_spec: ethtool userdef packet offset
1149 struct ethtool_usrip6_spec *usr_ip6_spec,
1153 if (usr_ip6_spec->l4_4_bytes)
1156 if (usr_ip6_spec
1148 ice_set_fdir_ip6_usr_seg(struct ice_flow_seg_info *seg, struct ethtool_usrip6_spec *usr_ip6_spec, bool *perfect_fltr) argument
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1122 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip,
1124 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip,
1129 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip,
1131 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip,
1153 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip,
1155 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip,
1157 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header;
1158 fsp->h_u.usr_ip6_spec.tclass = rule->ip_data.tclass;
1159 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip_data.proto;
1160 memcpy(fsp->m_u.usr_ip6_spec
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1372 fs->h_u.usr_ip6_spec.ip6src[i] = entry->key.sip6[i];
1373 fs->h_u.usr_ip6_spec.ip6dst[i] = entry->key.dip6[i];
1374 fs->m_u.usr_ip6_spec.ip6src[i] = entry->msk.sip6[i];
1375 fs->m_u.usr_ip6_spec.ip6dst[i] = entry->msk.dip6[i];
1377 fs->h_u.usr_ip6_spec.l4_proto = entry->key.l4_proto;
1378 fs->m_u.usr_ip6_spec.l4_proto = entry->msk.l4_proto;
1555 entry->msk.sip6[i] = fs->m_u.usr_ip6_spec.ip6src[i];
1556 entry->msk.dip6[i] = fs->m_u.usr_ip6_spec.ip6dst[i];
1557 entry->key.sip6[i] = fs->h_u.usr_ip6_spec.ip6src[i] & entry->msk.sip6[i];
1558 entry->key.dip6[i] = fs->h_u.usr_ip6_spec
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dethtool_common.c654 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec;
655 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec;
926 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec;
927 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec;
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c801 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec;
802 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec;
1037 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec;
1038 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c654 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec;
655 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec;
927 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec;
928 struct ethtool_usrip6_spec *uip6_mask = &rule->m_u.usr_ip6_spec;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c276 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec;
277 struct ethtool_usrip6_spec *l3_val = &fs->h_u.usr_ip6_spec;
612 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c4306 struct ethtool_usrip6_spec *usr_ip6_spec; local
4499 usr_ip6_spec = &fsp->m_u.usr_ip6_spec;
4502 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6src,
4506 &usr_ip6_spec->ip6src))
4512 if (ipv6_addr_equal((struct in6_addr *)&usr_ip6_spec->ip6dst,
4516 &usr_ip6_spec->ip6dst))
4521 if (usr_ip6_spec->l4_4_bytes)
4525 if (usr_ip6_spec->tclass)
4529 if (usr_ip6_spec
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1167 fs->h_u.usr_ip6_spec.l4_proto = IPPROTO_ICMPV6;
1169 fs->h_u.usr_ip6_spec.l4_proto = IPPROTO_RAW;
1170 fs->m_u.usr_ip6_spec.l4_proto = BNXT_IP_PROTO_FULL_MASK;
1308 if (!bnxt_verify_ntuple_ip6_flow(&fs->h_u.usr_ip6_spec,
1309 &fs->m_u.usr_ip6_spec))
1357 struct ethtool_usrip6_spec *ip_spec = &fs->h_u.usr_ip6_spec;
1358 struct ethtool_usrip6_spec *ip_mask = &fs->m_u.usr_ip6_spec;
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c691 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec;
692 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp->h_u.usr_ip6_spec;
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c36 switch (fsp->h_u.usr_ip6_spec.l4_proto) {
/linux-master/include/uapi/linux/
H A Dethtool.h1082 struct ethtool_usrip6_spec usr_ip6_spec; member in union:ethtool_flow_union
2022 #define IPV6_USER_FLOW 0x0e /* spec only (usr_ip6_spec; nfc only) */
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c6141 ret = hclge_fd_check_ip6_tuple(&fs->h_u.usr_ip6_spec,
6256 be32_to_cpu_array(rule->tuples.src_ip, fs->h_u.usr_ip6_spec.ip6src,
6258 be32_to_cpu_array(rule->tuples_mask.src_ip, fs->m_u.usr_ip6_spec.ip6src,
6261 be32_to_cpu_array(rule->tuples.dst_ip, fs->h_u.usr_ip6_spec.ip6dst,
6263 be32_to_cpu_array(rule->tuples_mask.dst_ip, fs->m_u.usr_ip6_spec.ip6dst,
6266 rule->tuples.ip_proto = fs->h_u.usr_ip6_spec.l4_proto;
6267 rule->tuples_mask.ip_proto = fs->m_u.usr_ip6_spec.l4_proto;
6882 hclge_fd_get_ip6_info(rule, &fs->h_u.usr_ip6_spec,
6883 &fs->m_u.usr_ip6_spec);

Completed in 246 milliseconds