ice_add_tc_fltr(9)
π ice_add_tc_fltr(9) π
okay bestie, welcome to the Kernel API Manual entry for ice_add_tc_fltr(9). we're doing TC flower filter stuff, and yes, it's giving kernel networking main character energy. π
β¨
πΈ NAME πΈ
ice_add_tc_fltr β adds a TC flower filter
π¦ SYNOPSIS π¦
int ice_add_tc_fltr (struct net_device *netdev , struct ice_vsi *vsi ,
struct flow_cls_offload *f , struct ice_tc_flower_fltr **__fltr , bool
ingress );
π ARGUMENTS π
netdevβ Pointer to netdev. literally a pointer to the netdev, no cap. π«Άvsiβ Pointer to VSI. yep, pointer to VSI. β¨fβ Pointer to flower offload structure. πΈ__fltrβ Pointer tostruct ice_tc_flower_fltr. πingressβ if the rule is added to an ingress block. π
π₯ DESCRIPTION π₯
This function parses TC-flower input fields, parses action, and adds a filter. that's the whole vibe: parse the fields, parse the action, add the filter. periodt. β¨
π RETURN π
0 if the filter was successfully added, negative error code otherwise. so if you get 0, slay; if it's negative, that's the kernel saying "not today" ππ
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/intel/ice/ice_tc_lib.c β go read it, bestie.
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_tc_set_port(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_find_tc_flower_fltr(9)ice_add_cls_flower(9)ice_del_cls_flower(9)ice_replay_tc_fltrs(9)
sign-off vibe: this entry is from source/version path ./drivers/net/ethernet/intel/ice, dated October 2026, and it's still ice_add_tc_fltr(9). 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