ice_set_fdir_ip6_usr_seg(9)
π ice_set_fdir_ip6_usr_seg β Kernel API Manual β¨
okay so bestie, we're in the kernel API manual, and this little function is literally about IPv6 flow segments. Let's get into it π
πΈ NAME πΈ
ice_set_fdir_ip6_usr_seg β (yes the description line is empty in the original, and honestly? iconic. no notes. it just is what it is π«Ά)
π¦ SYNOPSIS π¦
int ice_set_fdir_ip6_usr_seg (struct ice_flow_seg_info *seg , struct
ethtool_usrip6_spec *usr_ip6_spec , bool *perfect_fltr );
π ARGUMENTS π
segβ the flow segment you're programming, like this is the thing that's getting set up π«usr_ip6_specβ the ethtool userdef packet offset, i.e. where the user-defined stuff lives πperfect_fltrβ careful bestie, this one is only valid on success; it returnstrueif it's a perfect filter andfalseif it's not π (so like, don't go reading it before things work out, fr fr)
π DESCRIPTION π
so what this does is it sets the offset data into the flow segment, and that segment is what gets used to program the HW table for IPv6. that's it, that's the whole vibe check π
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c β go look, it's giving main character energy β¨
and here's the whole friend group, no cap, every single one:
ice_fltr_to_ethtool_flow(9)ice_ethtool_flow_to_fltr(9)ice_is_mask_valid(9)ice_get_ethtool_fdir_entry(9)ice_get_fdir_fltr_ids(9)ice_fdir_remap_entries(9)ice_fdir_rem_adq_chnl(9)ice_fdir_get_hw_prof(9)ice_fdir_erase_flow_from_hw(9)ice_fdir_rem_flow(9)ice_fdir_release_flows(9)ice_fdir_replay_flows(9)ice_parse_rx_flow_user_data(9)ice_fdir_num_avail_fltr(9)ice_fdir_alloc_flow_prof(9)ice_fdir_prof_vsi_idx(9)ice_fdir_set_hw_fltr_rule(9)ice_set_init_fdir_seg(9)ice_create_init_fdir_rule(9)ice_set_fdir_ip4_seg(9)ice_set_fdir_ip4_usr_seg(9)ice_set_fdir_ip6_seg(9)ice_fdir_vlan_valid(9)ice_set_ether_flow_seg(9)ice_set_fdir_vlan_seg(9)ice_cfg_fdir_xtrct_seq(9)ice_update_per_q_fltr(9)ice_fdir_write_fltr(9)ice_fdir_write_all_fltr(9)ice_fdir_replay_fltrs(9)ice_fdir_create_dflt_rules(9)ice_fdir_del_all_fltrs(9)ice_vsi_manage_fdir(9)ice_fdir_do_rem_flow(9)ice_fdir_update_list_entry(9)ice_del_fdir_ethtool(9)ice_update_ring_dest_vsi(9)ice_set_fdir_input_set(9)ice_add_fdir_ethtool(9)
π
reminder: perfect_fltr is only valid on success β that's not me being dramatic, that's just the rules, bestie. don't be out here reading it after a fail π
and that's a wrap, angel π§ source/version is the <rainbow>Kernel API Manual</rainbow> for ./drivers/net/ethernet/intel/ice, dated October 2026, page ice_set_fdir_ip6_usr_seg(9) β slay, go program that HW table for IPv6 ππ₯π
π¦ 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