ENUM EF4_FILTER_MATCH_FLAGS(9)
π¦ NAME π¦
enum ef4_filter_match_flags β Flags for hardware filter match type β¨
Okay bestie, this is the Kernel API Manual page for enum ef4_filter_match_flags, and it's literally the vibe check for hardware filter match types. No cap. π
π SYNOPSIS π
enum ef4_filter_match_flags {
EF4_FILTER_MATCH_REM_HOST ,
EF4_FILTER_MATCH_LOC_HOST ,
EF4_FILTER_MATCH_REM_MAC ,
EF4_FILTER_MATCH_REM_PORT ,
EF4_FILTER_MATCH_LOC_MAC ,
EF4_FILTER_MATCH_LOC_PORT ,
EF4_FILTER_MATCH_ETHER_TYPE ,
EF4_FILTER_MATCH_INNER_VID ,
EF4_FILTER_MATCH_OUTER_VID ,
EF4_FILTER_MATCH_IP_PROTO ,
EF4_FILTER_MATCH_LOC_MAC_IG
};
π Constants π
EF4_FILTER_MATCH_REM_HOSTβ match on the remote IP host address πEF4_FILTER_MATCH_LOC_HOSTβ match on the local IP host address πEF4_FILTER_MATCH_REM_MACβ match on the remote MAC address π§¬EF4_FILTER_MATCH_REM_PORTβ match on the remote TCP/UDP port πEF4_FILTER_MATCH_LOC_MACβ match on the local MAC address π‘EF4_FILTER_MATCH_LOC_PORTβ match on the local TCP/UDP port πEF4_FILTER_MATCH_ETHER_TYPEβ match on the Ether-type π·οΈEF4_FILTER_MATCH_INNER_VIDβ match on the inner VLAN ID πEF4_FILTER_MATCH_OUTER_VIDβ match on the outer VLAN ID πEF4_FILTER_MATCH_IP_PROTOβ match on the IP transport protocol πEF4_FILTER_MATCH_LOC_MAC_IGβ match on the local MAC address I/G bit. It's used for RX default unicast and multicast/broadcast filters. π
πΈ Description πΈ
So here's the tea: only some combinations are supported, depending on NIC type. π
- Falcon supports RX filters matching by
{TCP,UDP}/IPv44-tuple or local 2-tuple (only implemented for Falcon B0) π¦ - Siena supports RX and TX filters matching by
{TCP,UDP}/IPv44-tuple or local 2-tuple, or local MAC with or without outer VID, and RX default filters πΈ - Huntington supports filter matching controlled by firmware, potentially using
{TCP,UDP}/IPv{4,6}4-tuple or local 2-tuple, local MAC or I/G bit, with or without outer and inner VID π
π SEE ALSO π
Also go check out the Kernel file ./drivers/net/ethernet/sfc/falcon/filter.h enum ef4_filter_priority(9), enum ef4_filter_flags(9), struct ef4_filter_spec(9), ef4_filter_set_ipv4_local(9), ef4_filter_set_ipv4_full(9), ef4_filter_set_eth_local(9), ef4_filter_set_uc_def(9), and ef4_filter_set_mc_def(9). π
mwah π β source/version is ./drivers/net/ethernet/sfc/falcon, date is October 2026, and this iconic page is enum ef4_filter_match_flags(9). periodt. π
π¦ 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