Home
last modified time | relevance | path

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

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