iavf_fdir_add_fltr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iavf_fdir_add_fltr β€” a kernel API manual moment πŸ’–

okay so bestie, welcome to the iavf_fdir_add_fltr(9) page β€” yes that's the whole manual name, and yes it lives in the Kernel API Manual section, we love a legend with a section number. buckle up, this one's short but it's iconic. πŸŽ€


✨ NAME ✨

iavf_fdir_add_fltr β€” add a new node to the flow director filter list πŸ¦‹

like, literally just drops a fresh node into the list. no cap, that's the whole gig.


✨ SYNOPSIS ✨

int iavf_fdir_add_fltr (struct iavf_adapter *adapter , struct
       iavf_fdir_fltr *fltr );

it's giving "two pointers and a return int", and honestly? ate. πŸ’…


✨ ARGUMENTS ✨

  • adapter β€” pointer to the VF adapter structure 🫢 that's the VF adapter, the main character of the whole operation.
  • fltr β€” filter node to add to structure 🌸 the actual filter node you're stuffing into the structure.

✨ RETURN ✨

returns 0 on success, or a negative errno on failure. so if you see a negative number coming back, that's your sign something went sideways, bestie 😭

no vibe check passes forever β€” always check that return value. fr fr.

✨ SEE ALSO ✨

and now the friend group 🌈 β€” the kernel file itself plus the whole fdir extended fam:

  • Kernel file ./drivers/net/ethernet/intel/iavf/iavf_fdir.c πŸ“

and the crew: iavf_validate_fdir_fltr_masks(9), iavf_pkt_udp_no_pay_len(9), iavf_fill_fdir_gtpu_hdr(9), iavf_fill_fdir_pfcp_hdr(9), iavf_fill_fdir_nat_t_esp_hdr(9), iavf_fill_fdir_udp_flex_pay_hdr(9), iavf_fill_fdir_ip4_hdr(9), iavf_fill_fdir_ip6_hdr(9), iavf_fill_fdir_tcp_hdr(9), iavf_fill_fdir_udp_hdr(9), iavf_fill_fdir_sctp_hdr(9), iavf_fill_fdir_ah_hdr(9), iavf_fill_fdir_esp_hdr(9), iavf_fill_fdir_l4_hdr(9), iavf_fill_fdir_eth_hdr(9), iavf_fill_fdir_add_msg(9), iavf_fdir_flow_proto_name(9), iavf_print_fdir_fltr(9), iavf_fdir_is_dup_fltr(9), iavf_find_fdir_fltr(9), iavf_fdir_del_fltr(9) πŸ’œ


that's the whole page, babe β€” go forth and add those filter nodes responsibly ✨

okay and like, the tiny credits at the bottom of the og: it's from ./drivers/net/ethernet/intel/iavf, dated October 2026. slay, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from