Searched refs:uip_mask (Results 1 – 3 of 3) sorted by relevance
350 struct ethtool_usrip4_spec *uip_mask, in dpaa2_eth_prep_uip_rule() argument356 if (uip_mask->tos || uip_mask->ip_ver) in dpaa2_eth_prep_uip_rule()359 if (uip_mask->ip4src) { in dpaa2_eth_prep_uip_rule()362 *(__be32 *)(mask + off) = uip_mask->ip4src; in dpaa2_eth_prep_uip_rule()366 if (uip_mask->ip4dst) { in dpaa2_eth_prep_uip_rule()369 *(__be32 *)(mask + off) = uip_mask->ip4dst; in dpaa2_eth_prep_uip_rule()373 if (uip_mask->proto) { in dpaa2_eth_prep_uip_rule()376 *(u8 *)(mask + off) = uip_mask->proto; in dpaa2_eth_prep_uip_rule()380 if (uip_mask->l4_4_bytes) { in dpaa2_eth_prep_uip_rule()382 tmp_mask = be32_to_cpu(uip_mask->l4_4_bytes); in dpaa2_eth_prep_uip_rule()
656 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule() local763 uip_mask->proto = IP_PROTO_FULL_MASK; in efx_ethtool_get_class_rule()768 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()772 uip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()928 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule() local1039 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()1044 if (uip_mask->ip4dst) { in efx_ethtool_set_class_rule()1045 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()1050 if (uip_mask->ip4src) { in efx_ethtool_set_class_rule()1051 if (uip_mask->ip4src != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()[all …]
788 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_get_class_rule() local895 uip_mask->proto = IP_PROTO_FULL_MASK; in ef4_ethtool_get_class_rule()900 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()904 uip_mask->ip4src = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()1024 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_set_class_rule() local1126 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule()1131 if (uip_mask->ip4dst) { in ef4_ethtool_set_class_rule()1132 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()1137 if (uip_mask->ip4src) { in ef4_ethtool_set_class_rule()1138 if (uip_mask->ip4src != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()[all …]