i40e_add_del_fdir_sctp(9)
β¨ i40e_add_del_fdir_sctp β¨
okay so this is a page from the Kernel API Manual, section 9 β yes, the big serious kernel one β and it's literally just about one function that's lowkey the SCTP plug in the Intel i40e Flow Director pipeline π«Ά
π NAME π
i40e_add_del_fdir_sctp β adds or removes SCTPv4 Flow Director filters for a specific flow spec. that's it, that's the whole job. add filter, delete filter, SCTPv4, flow spec. iconic behavior honestly πΈ
π SYNOPSIS π
int i40e_add_del_fdir_sctp (struct i40e_vsi *vsi , struct
i40e_fdir_filter *fd_data , bool add , bool ipv4 );
like, four args, one int back. no drama, no surprises, we love a clean signature β¨
π¦ ARGUMENTS π¦
vsiβ pointer to the targeted VSI. this is the vibe you're pointing at. your main character VSI πfd_dataβ the flow director data required for the FDir descriptor. basically the whole personality packet you're handing over πaddβtrueadds a filter,falseremoves it. one bool, two destinies πipv4βtrueis v4,falseis v6. yes bestie, despite the function name saying SCTPv4, this flag is fr fr down here being all "v4 or v6?" π
β DESCRIPTION β
Returns 0 if the filters were successfully added or removed. that's the entire description and honestly? slay, no notes. zero means we ate π₯
ngl this is a very short DESCRIPTION section and i am not going to invent extra lore for it. the manpage said 0, we're saying 0, periodt π
πΈ SEE ALSO πΈ
sooooo this part is long. like, unreasonably long. like the author just opened ./drivers/net/ethernet/intel/i40e/i40e_txrx.c and said "all of it." and you know what? we're listing all of it. every single one. no skipping, no summarizing, we don't do that here π
Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_txrx.c
and the whole friend group:
i40e_fdir(9)i40e_program_fdir_filter(9)i40e_create_dummy_packet(9)i40e_create_dummy_udp_packet(9)i40e_create_dummy_tcp_packet(9)i40e_create_dummy_sctp_packet(9)i40e_prepare_fdir_filter(9)i40e_change_filter_num(9)i40e_add_del_fdir_udp(9)i40e_add_del_fdir_tcp(9)i40e_add_del_fdir_ip(9)i40e_add_del_fdir(9)i40e_fd_handle_status(9)i40e_unmap_and_free_tx_resource(9)i40e_clean_tx_ring(9)i40e_free_tx_resources(9)i40e_get_tx_pending(9)i40e_detect_recover_hung(9)i40e_clean_tx_irq(9)i40e_enable_wb_on_itr(9)i40e_force_wb(9)i40e_update_itr(9)i40e_reuse_rx_page(9)i40e_clean_programming_status(9)i40e_setup_tx_descriptors(9)i40e_clean_rx_ring(9)i40e_free_rx_resources(9)i40e_setup_rx_descriptors(9)i40e_release_rx_desc(9)i40e_alloc_mapped_page(9)i40e_alloc_rx_buffers(9)i40e_rx_checksum(9)i40e_rx_hash(9)i40e_process_skb_fields(9)i40e_cleanup_headers(9)i40e_can_reuse_rx_page(9)i40e_rx_buffer_flip(9)i40e_get_rx_buffer(9)i40e_put_rx_buffer(9)i40e_process_rx_buffs(9)i40e_construct_skb(9)i40e_build_skb(9)i40e_is_non_eop(9)i40e_run_xdp(9)i40e_xdp_ring_update_tail(9)i40e_update_rx_stats(9)i40e_finalize_xdp_rx(9)i40e_inc_ntp(9)i40e_add_xdp_frag(9)i40e_consume_xdp_buff(9)i40e_clean_rx_irq(9)i40e_buildreg_itr(9)i40e_update_enable_itr(9)i40e_napi_poll(9)i40e_atr(9)i40e_tx_prepare_vlan_flags(9)i40e_tso(9)i40e_tsyn(9)i40e_tx_enable_csum(9)i40e_create_tx_ctx(9)__i40e_maybe_stop_tx(9)__i40e_chk_linearize(9)i40e_tx_map(9)i40e_xmit_xdp_ring(9)i40e_xmit_frame_ring(9)i40e_lan_xmit_frame(9)i40e_xdp_xmit(9)
(and yes, the two double-underscore girlies __i40e_maybe_stop_tx(9) and __i40e_chk_linearize(9) get their underscores preserved. we respect the prefix π)
okay bye bestie, go add or remove an SCTPv4 Flow Director filter for a specific flow spec responsibly π§π
this lil page came out of ./drivers/net/ethernet/intel/i40e and is dated October 2026 β so it's technically from the future, which is very main character of it ngl. stay hydrated, drink water, and remember that returning 0 is the goal πβ¨
π¦ 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