Searched refs:uip_mask (Results 1 – 4 of 4) sorted by relevance
382 struct ethtool_usrip4_spec *uip_mask, in dpaa2_eth_prep_uip_rule() argument388 if (uip_mask->tos || uip_mask->ip_ver) in dpaa2_eth_prep_uip_rule()391 if (uip_mask->ip4src) { in dpaa2_eth_prep_uip_rule()394 *(__be32 *)(mask + off) = uip_mask->ip4src; in dpaa2_eth_prep_uip_rule()398 if (uip_mask->ip4dst) { in dpaa2_eth_prep_uip_rule()401 *(__be32 *)(mask + off) = uip_mask->ip4dst; in dpaa2_eth_prep_uip_rule()405 if (uip_mask->proto) { in dpaa2_eth_prep_uip_rule()408 *(u8 *)(mask + off) = uip_mask->proto; in dpaa2_eth_prep_uip_rule()412 if (uip_mask->l4_4_bytes) { in dpaa2_eth_prep_uip_rule()414 tmp_mask = be32_to_cpu(uip_mask->l4_4_bytes); in dpaa2_eth_prep_uip_rule()
798 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_get_class_rule() local905 uip_mask->proto = IP_PROTO_FULL_MASK; in ef4_ethtool_get_class_rule()910 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()914 uip_mask->ip4src = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()1034 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_set_class_rule() local1136 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule()1141 if (uip_mask->ip4dst) { in ef4_ethtool_set_class_rule()1142 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()1147 if (uip_mask->ip4src) { in ef4_ethtool_set_class_rule()1148 if (uip_mask->ip4src != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()[all …]
651 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule() local758 uip_mask->proto = IP_PROTO_FULL_MASK; in efx_ethtool_get_class_rule()763 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()767 uip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()923 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule() local1034 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()1039 if (uip_mask->ip4dst) { in efx_ethtool_set_class_rule()1040 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()1045 if (uip_mask->ip4src) { in efx_ethtool_set_class_rule()1046 if (uip_mask->ip4src != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()[all …]
651 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule() local758 uip_mask->proto = IP_PROTO_FULL_MASK; in efx_ethtool_get_class_rule()763 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()767 uip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()924 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule() local1035 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()1040 if (uip_mask->ip4dst) { in efx_ethtool_set_class_rule()1041 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()1046 if (uip_mask->ip4src) { in efx_ethtool_set_class_rule()1047 if (uip_mask->ip4src != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()[all …]