Searched refs:gen_spec (Results 1 – 2 of 2) sorted by relevance
1964 const struct ef4_filter_spec *gen_spec) in ef4_farch_filter_from_gen_spec() argument1968 if ((gen_spec->flags & EF4_FILTER_FLAG_RX_RSS) && in ef4_farch_filter_from_gen_spec()1969 gen_spec->rss_context != EF4_FILTER_RSS_CONTEXT_DEFAULT) in ef4_farch_filter_from_gen_spec()1972 spec->priority = gen_spec->priority; in ef4_farch_filter_from_gen_spec()1973 spec->flags = gen_spec->flags; in ef4_farch_filter_from_gen_spec()1974 spec->dmaq_id = gen_spec->dmaq_id; in ef4_farch_filter_from_gen_spec()1976 switch (gen_spec->match_flags) { in ef4_farch_filter_from_gen_spec()1987 EF4_BUG_ON_PARANOID(!(gen_spec->flags & EF4_FILTER_FLAG_RX)); in ef4_farch_filter_from_gen_spec()1989 if (gen_spec->ether_type != htons(ETH_P_IP)) in ef4_farch_filter_from_gen_spec()1991 if (gen_spec->loc_port == 0 || in ef4_farch_filter_from_gen_spec()[all …]
2031 const struct efx_filter_spec *gen_spec) in efx_farch_filter_from_gen_spec() argument2035 if ((gen_spec->flags & EFX_FILTER_FLAG_RX_RSS) && gen_spec->rss_context) in efx_farch_filter_from_gen_spec()2038 spec->priority = gen_spec->priority; in efx_farch_filter_from_gen_spec()2039 spec->flags = gen_spec->flags; in efx_farch_filter_from_gen_spec()2040 spec->dmaq_id = gen_spec->dmaq_id; in efx_farch_filter_from_gen_spec()2042 switch (gen_spec->match_flags) { in efx_farch_filter_from_gen_spec()2053 EFX_WARN_ON_PARANOID(!(gen_spec->flags & EFX_FILTER_FLAG_RX)); in efx_farch_filter_from_gen_spec()2055 if (gen_spec->ether_type != htons(ETH_P_IP)) in efx_farch_filter_from_gen_spec()2057 if (gen_spec->loc_port == 0 || in efx_farch_filter_from_gen_spec()2058 (is_full && gen_spec->rem_port == 0)) in efx_farch_filter_from_gen_spec()[all …]