ice_flow_add_prof_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_flow_add_prof_sync(9) β€” like, the kernel API manual bestie ✨

Okay so we're deep in the ice driver pages of the kernel API manual, and this one is all about adding a flow profile for packet segments and fields. Yes, that's the NAME section, and yes, it ate. 🌸


✨ SYNOPSIS ✨

int ice_flow_add_prof_sync (struct ice_hw *hw , enum ice_block blk ,
       enum ice_flow_dir dir , struct ice_flow_seg_info *segs , u8 segs_cnt ,
       bool symm , struct ice_flow_prof **prof );

She returns an int, she takes seven args, she's that girl. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. Your hardware baddie, the main character of this whole operation πŸ‘‘
  • blk β€” classification stage. Which stage of the pipeline we're playing in fr
  • dir β€” flow direction. Which way the packets are going, no cap πŸ¦‹
  • segs β€” array of one or more packet segments that describe the flow. Literally the packet bits you care about, listed out πŸ’œ
  • segs_cnt β€” number of packet segments provided. Gotta tell it how long that array is, iykyk
  • symm β€” symmetric setting for RSS profiles. The symmetry vibe check 🌈
  • prof β€” stores the returned flow profile added. This is where the shiny new profile lands, obsessed 😭

πŸ’€ DESCRIPTION πŸ’€

Assumption: the caller has acquired the lock to the profile list.

Yeah that's the whole description and it's not a suggestion bestie β€” the caller has to have already grabbed the lock on the profile list before calling this. No lock, no service. Periodt. πŸ”₯


🫢 SEE ALSO 🫢

Like, the whole friend group, fr fr β€” every one of them is a real page and every one of them matters. 🧚


And that's the page!! Signing off from ./drivers/net/ethernet/intel/ice πŸ’– β€” this one's dated October 2026 and it's filed under ice_flow_add_prof_sync(9), so screenshot it, save it, live by it. Slay. πŸ’…βœ¨

πŸ“¦ where this page comes from