Searched refs:m_u (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c381 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; enic_grxclsrule()
384 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; enic_grxclsrule()
387 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; enic_grxclsrule()
390 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; enic_grxclsrule()
/linux-4.4.14/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1202 &rule->m_u.tcp_ip4_spec, tab); gfar_convert_to_filer()
1208 &rule->m_u.udp_ip4_spec, tab); gfar_convert_to_filer()
1215 (struct ethtool_tcpip4_spec *)&rule->m_u, gfar_convert_to_filer()
1222 (struct ethtool_usrip4_spec *) &rule->m_u, gfar_convert_to_filer()
1229 (struct ethhdr *) &rule->m_u, tab); gfar_convert_to_filer()
1359 for (i = 0; i < sizeof(flow->m_u); i++) gfar_invert_masks()
1360 flow->m_u.hdata[i] ^= 0xFF; gfar_invert_masks()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1243 if (cmd->fs.m_u.tcp_ip4_spec.tos) mlx4_en_validate_flow()
1245 l4_mask = &cmd->fs.m_u.tcp_ip4_spec; mlx4_en_validate_flow()
1254 l3_mask = &cmd->fs.m_u.usr_ip4_spec; mlx4_en_validate_flow()
1263 eth_mask = &cmd->fs.m_u.ether_spec; mlx4_en_validate_flow()
1351 struct ethtool_usrip4_spec *l3_mask = &cmd->fs.m_u.usr_ip4_spec; add_ip_rule()
1390 struct ethtool_tcpip4_spec *l4_mask = &cmd->fs.m_u.tcp_ip4_spec; add_tcp_udp_rule()
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dethtool.c793 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; efx_ethtool_get_class_rule()
795 struct ethhdr *mac_mask = &rule->m_u.ether_spec; efx_ethtool_get_class_rule()
953 struct ethtool_tcpip4_spec *ip_mask = &rule->m_u.tcp_ip4_spec; efx_ethtool_set_class_rule()
955 struct ethhdr *mac_mask = &rule->m_u.ether_spec; efx_ethtool_set_class_rule()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c341 fs->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(~0);
344 fs->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(~0);
347 fs->m_u.tcp_ip4_spec.psrc = cpu_to_be16(~0);
350 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(~0);
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2369 fsp->m_u.usr_ip4_spec.proto = 0; ixgbe_get_ethtool_fdir_entry()
2376 fsp->m_u.tcp_ip4_spec.psrc = mask->formatted.src_port; ixgbe_get_ethtool_fdir_entry()
2378 fsp->m_u.tcp_ip4_spec.pdst = mask->formatted.dst_port; ixgbe_get_ethtool_fdir_entry()
2380 fsp->m_u.tcp_ip4_spec.ip4src = mask->formatted.src_ip[0]; ixgbe_get_ethtool_fdir_entry()
2382 fsp->m_u.tcp_ip4_spec.ip4dst = mask->formatted.dst_ip[0]; ixgbe_get_ethtool_fdir_entry()
2579 if (!fsp->m_u.usr_ip4_spec.proto) { ixgbe_flowspec_to_flow_type()
2662 mask.formatted.src_ip[0] = fsp->m_u.tcp_ip4_spec.ip4src; ixgbe_add_ethtool_fdir_entry()
2664 mask.formatted.dst_ip[0] = fsp->m_u.tcp_ip4_spec.ip4dst; ixgbe_add_ethtool_fdir_entry()
2666 mask.formatted.src_port = fsp->m_u.tcp_ip4_spec.psrc; ixgbe_add_ethtool_fdir_entry()
2668 mask.formatted.dst_port = fsp->m_u.tcp_ip4_spec.pdst; ixgbe_add_ethtool_fdir_entry()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dniu.c7113 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); niu_get_ip4fs_from_tcam_key()
7116 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); niu_get_ip4fs_from_tcam_key()
7120 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> niu_get_ip4fs_from_tcam_key()
7137 fsp->m_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); niu_get_ip4fs_from_tcam_key()
7141 fsp->m_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); niu_get_ip4fs_from_tcam_key()
7151 fsp->m_u.ah_ip4_spec.spi = cpu_to_be32(tmp); niu_get_ip4fs_from_tcam_key()
7160 fsp->m_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); niu_get_ip4fs_from_tcam_key()
7165 fsp->m_u.usr_ip4_spec.proto = niu_get_ip4fs_from_tcam_key()
7376 sipm = be32_to_cpu(fsp->m_u.tcp_ip4_spec.ip4src); niu_get_tcamkey_from_ip4fs()
7378 dipm = be32_to_cpu(fsp->m_u.tcp_ip4_spec.ip4dst); niu_get_tcamkey_from_ip4fs()
7393 tp->key_mask[2] |= ((u64)fsp->m_u.tcp_ip4_spec.tos << niu_get_tcamkey_from_ip4fs()
7400 spm = be16_to_cpu(fsp->m_u.tcp_ip4_spec.psrc); niu_get_tcamkey_from_ip4fs()
7402 dpm = be16_to_cpu(fsp->m_u.tcp_ip4_spec.pdst); niu_get_tcamkey_from_ip4fs()
7411 spim = be32_to_cpu(fsp->m_u.ah_ip4_spec.spi); niu_get_tcamkey_from_ip4fs()
7419 spim = be32_to_cpu(fsp->m_u.usr_ip4_spec.l4_4_bytes); niu_get_tcamkey_from_ip4fs()
7458 struct ethtool_usrip4_spec *umask = &fsp->m_u.usr_ip4_spec; niu_add_ethtool_tcam_entry()
/linux-4.4.14/include/linux/
H A Dethtool.h24 union ethtool_flow_union m_u; member in struct:compat_ethtool_rx_flow_spec
/linux-4.4.14/include/uapi/linux/
H A Dethtool.h784 * @m_u: Masks for flow field bits to be matched
799 union ethtool_flow_union m_u; member in struct:ethtool_rx_flow_spec
951 * @m_u: Masks for flow field value bits to be ignored
974 } h_u, m_u; member in struct:ethtool_rx_ntuple_flow_spec
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c2067 fsp->m_u.usr_ip4_spec.proto = 0; i40e_get_ethtool_fdir_entry()

Completed in 362 milliseconds