ice_add_cls_flower(9)
π ice_add_cls_flower(9) π
okay so bestie, welcome to the Kernel API Manual entry for ice_add_cls_flower β literally the moment you get to add TC flower filters and feel like a main character π
β¨ NAME β¨
ice_add_cls_flower β add TC flower filters πΈ
π¦ SYNOPSIS π¦
int ice_add_cls_flower (struct net_device *netdev , struct ice_vsi *vsi
, struct flow_cls_offload *cls_flower , bool ingress );
π ARGUMENTS π
netdevβ Pointer to filter device. yeah, the device, the whole vibe check π«Άvsiβ Pointer to VSI. short name, big job πcls_flowerβ Pointer to flower offload structure. it's giving "the actual flower data" β¨ingressβ if the rule is added to an ingress block π (yes, that's what it means, no cap)
π RETURN π
0 if the flower was successfully added, negative error code otherwise. so like, zero = slay, negative = not slay π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/ice/ice_tc_lib.c β that's the home base, iykyk π
and then the whole friend group, fr fr:
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_add_tc_fltr(9)ice_find_tc_flower_fltr(9)ice_del_cls_flower(9)ice_replay_tc_fltrs(9)
that's the whole page bestie, every single one of them showed up to the party ππ
and yeah β this lil gem lives at./drivers/net/ethernet/intel/ice, dated October 2026, filed underice_add_cls_flower(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