ice_add_tc_fltr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ 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 to struct 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.


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