ice_tc_set_port(9)
π NAME π
okay bestie, meet ice_tc_set_port(9) β straight out of the Kernel API Manual β and its whole personality is literally Parse ports from TC flower filter. thatβs the name, thatβs the vibe, no cap π
β¨
πΈ SYNOPSIS πΈ
the official signature is giving βI live in a kernel headerβ and we respect it:
int ice_tc_set_port (struct flow_match_ports match , struct
ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers ,
bool is_encap );
π¦ ARGUMENTS π¦
matchβ the flow match structure, aka the match info this function is working with π«Άfltrβ pointer to filter structure, iconic pointer behavior fr fr πheadersβ inner or outer header fields; yes bestie, inner or outer πis_encapβ set true for tunnel port; tunnel port gets thetruetreatment β¨
π SEE ALSO π
the Kernel file is ./drivers/net/ethernet/intel/ice/ice_tc_lib.c β thatβs where the sauce lives, iykyk π§
and hereβs the whole friend group, all present and accounted for π
ice_tc_count_lkups(9)ice_tc_fill_rules(9)ice_tc_tun_get_type(9)ice_locate_vsi_using_queue(9)ice_tc_forward_action(9)ice_add_tc_flower_adv_fltr(9)ice_tc_set_pppoe(9)ice_tc_set_ipv4(9)ice_tc_set_ipv6(9)ice_tc_set_tos_ttl(9)ice_parse_gtp_type(9)ice_parse_cls_flower(9)ice_add_switch_fltr(9)ice_prep_adq_filter(9)ice_handle_tclass_action(9)ice_parse_tc_flower_actions(9)ice_del_tc_fltr(9)ice_add_tc_fltr(9)ice_find_tc_flower_fltr(9)ice_add_cls_flower(9)ice_del_cls_flower(9)ice_replay_tc_fltrs(9)
okay thatβs the whole page, bestie β source/version <purple>./drivers/net/ethernet/intel/ice`, date October 2026, 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