iavf_fdir_add_fltr(9)
π 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
- 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