ef4_filter_insert_filter(9)
okay so this is the Kernel API Manual page for ef4_filter_insert_filter(9), and itβs literally the glow-up guide for adding or replacing a filter β¨
πΈ NAME πΈ
ef4_filter_insert_filter β add or replace a filter. periodt π
β¨ SYNOPSIS β¨
the signature is giving:
s32 ef4_filter_insert_filter (struct ef4_nic *efx , struct ef4_filter_spec *spec , bool replace_equal );
π ARGUMENTS π
efxβ the NIC in which to insert the filter π¦specβ the specification for the filter β¨replace_equalβ flag for whether the specified filter may replace an existing filter with equal priority π
π DESCRIPTION π
On success, return the filter ID. On failure, return a negative error code. no cap.
If existing filters have equal match values to the new filter spec, then the new filter might replace them or the function might fail, as follows:
- If the existing filters have lower priority, or
replace_equalis set and they have equal priority, replace them. ate π - If the existing filters have higher priority, return
-EPERM. π - If
!ef4_filter_is_mc_recipient(spec), or the NIC does not support delivery to multiple recipients, return-EEXIST. π
This implies that filters for multiple multicast recipients must all be inserted with the same priority and replace_equal = false. fr fr π
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/sfc/falcon/efx.h ef4_filter_remove_id_safe(9)ef4_filter_get_filter_safe(9)
okay bye bestie π«Ά β source/version: ./drivers/net/ethernet/sfc/falcon, date: October 2026, manual: ef4_filter_insert_filter(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms