ice_parse_cls_flower(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

ice_parse_cls_flower β€” in the Kernel API Manual, this is the function that parses TC flower filters provided by kernel πŸ’…βœ¨. It’s giving β€œread the flower filter, bestie” energy, and honestly? iconic.

πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_parse_cls_flower (struct net_device *filter_dev , struct ice_vsi
       *vsi , struct flow_cls_offload *f , struct ice_tc_flower_fltr *fltr ,
       bool ingress );

πŸŽ€ ARGUMENTS πŸŽ€

  • filter_dev β€” pointer to device on which filter is being added 🫢
  • vsi β€” pointer to the VSI 🌈
  • f β€” pointer to struct flow_cls_offload πŸ¦‹
  • fltr β€” pointer to filter structure πŸŽ€
  • ingress β€” if the rule is added to an ingress block πŸ‘‘

πŸ’– RETURN πŸ’–

  • 0 β€” if the flower was parsed successfully βœ…
  • -EINVAL β€” if the flower cannot be parsed 😭
  • -EOPNOTSUPP β€” if such filter cannot be configured for the given VSI πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/ethernet/intel/ice/ice_tc_lib.c πŸ“

Bestie, go peek at these:


mwah πŸ’‹ β€” source/version: ./drivers/net/ethernet/intel/ice; date: October 2026. That’s the footer tea, bestie πŸ«–βœ¨

πŸ“¦ where this page comes from