Lines Matching defs:filter

975  * Also "is multicast" and "matches multicast filter" flags can be used to
1063 /* Detect multicast packets that didn't match the filter */
1822 /* The filter hash function is LFSR polynomial x^16 + x^3 + 1 of a 32-bit
1838 /* To allow for hash collisions, filter search continues at these
1918 * enabled in both filter specs.
2009 * wildcard filter. We need to convert from local and remote
2163 /* Build a filter entry and return its n-tuple key. */
2164 static u32 ef4_farch_filter_build(ef4_oword_t *filter,
2174 *filter,
2191 *filter,
2207 EF4_POPULATE_OWORD_5(*filter,
2239 * Construct/deconstruct external filter IDs. At least the RX filter
2325 ef4_oword_t filter;
2343 /* One filter spec per type */
2353 * (1) a filter to be replaced (rep_index): any filter
2367 u32 key = ef4_farch_filter_build(&filter, &spec);
2411 /* If we found a filter to be replaced, check whether we
2431 /* Insert the filter */
2449 ef4_writeo(efx, &filter,
2452 /* If we were able to replace a filter by inserting
2453 * at a lower depth, clear the replaced filter
2461 "%s: filter type %d index %d rxq %u set",
2475 static ef4_oword_t filter;
2484 ef4_writeo(efx, &filter, table->offset + table->step * filter_idx);
2486 /* If this filter required a greater search depth than
2675 /* Restore filter stater after reset */
2681 ef4_oword_t filter;
2696 ef4_farch_filter_build(&filter, &table->spec[filter_idx]);
2697 ef4_writeo(efx, &filter,
2781 ef4_oword_t filter;
2808 ef4_farch_filter_build(&filter, &table->spec[filter_idx]);
2809 ef4_writeo(efx, &filter,
2873 /* Broadcast packets go through the multicast hash filter.