ice_vc_fdir_set_flow_hdr(9)
π ice_vc_fdir_set_flow_hdr(9) β NAME π
okay so bestie, welcome to the Kernel API Manual β¨ and buckle up, because this function is literally called ice_vc_fdir_set_flow_hdr and it does exactly one iconic thing: it configs the flow's packet segment header. that's it, that's the whole vibe. no cap. π
πΈ SYNOPSIS πΈ
int ice_vc_fdir_set_flow_hdr (struct ice_vf *vf , struct
virtchnl_fdir_fltr_conf *conf , struct ice_flow_seg_info *seg );
three structs walk into a function and return an int, iykyk π
π¦ ARGUMENTS π¦
vfβ a pointer to the VF structure. yes, the VF. hi bestie πconfβ the FDIR configuration for each filter. one config per filter, she's organized fr fr πsegβ an array of one or more packet segments that describe the flow. so like, a whole lineup of segments, not just one. she can bring friends π«Ά
π RETURN π
0 on success, and other on error. that's it. zero = slay, anything else = not slay π
ngl the manpage says "and other on error" verbatim, so that's what you get. she's a little vague but she's honest π
π§ SEE ALSO π§
first up, the home base, the main character herself, the kernel file:
./drivers/net/ethernet/intel/ice/virt/fdir.c
and now the whole entire friend group, in order, no one gets left out π€:
ice_vc_fdir_param_check(9)ice_vf_start_ctrl_vsi(9)ice_vc_fdir_alloc_prof(9)ice_vc_fdir_free_prof(9)ice_vc_fdir_free_prof_all(9)ice_vc_fdir_parse_flow_fld(9)ice_vc_fdir_set_flow_fld(9)ice_vc_fdir_rem_prof(9)ice_vc_fdir_rem_prof_all(9)ice_vc_fdir_reset_cnt_all(9)ice_vc_fdir_has_prof_conflict(9)ice_vc_fdir_write_flow_prof(9)ice_vc_fdir_config_input_set(9)ice_vc_fdir_is_raw_flow(9)ice_vc_fdir_parse_raw(9)ice_vc_fdir_parse_pattern(9)ice_vc_fdir_parse_action(9)ice_vc_validate_fdir_fltr(9)ice_vc_fdir_comp_rules(9)ice_vc_fdir_is_dup_fltr(9)ice_vc_fdir_insert_entry(9)ice_vc_fdir_remove_entry(9)ice_vc_fdir_lookup_entry(9)ice_vc_fdir_flush_entry(9)ice_vc_fdir_write_fltr(9)ice_vf_fdir_timer(9)ice_vc_fdir_irq_handler(9)ice_vf_fdir_dump_info(9)ice_vf_verify_rx_desc(9)ice_vc_add_fdir_fltr_post(9)ice_vc_del_fdir_fltr_post(9)ice_flush_fdir_ctx(9)ice_vc_fdir_set_irq_ctx(9)ice_vc_fdir_clear_irq_ctx(9)ice_vc_parser_fv_check_diff(9)ice_vc_parser_fv_save(9)ice_vc_add_fdir_raw(9)ice_vc_add_fdir_fltr(9)ice_vc_del_fdir_raw(9)ice_vc_del_fdir_fltr(9)ice_vf_fdir_init(9)ice_vf_fdir_exit(9)
like, that's the whole fdir cinematic universe and you're so welcome ππ₯
sign-off time, bestie π β this little page came from the source path starting ./drivers/net/ethernet/intel/i..., dated October 2026, under the Kernel API Manual. go forth and config those flow headers. 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