ENUM EF4_FILTER_MATCH_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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}/IPv4 4-tuple or local 2-tuple (only implemented for Falcon B0) πŸ¦…
  • Siena supports RX and TX filters matching by {TCP,UDP}/IPv4 4-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