ice_create_pkt_fwd_rule(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ice_create_pkt_fwd_rule β€” bestie, this is the Kernel API Manual, section 9 (ice_create_pkt_fwd_rule(9)), and the description line after the dash is literally empty in the source. Not me staring at a blank NAME field 😭. So: the function is ice_create_pkt_fwd_rule, and that's the whole vibe here.


✨ SYNOPSIS ✨

int ice_create_pkt_fwd_rule (struct ice_hw *hw , struct
       ice_fltr_list_entry *f_entry );

That's int in, int out, two args, no drama. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hardware structure, aka the main character of this whole story πŸ‘‘
  • f_entry β€” entry containing packet forwarding information (yes, it's giving "the actual data you care about" πŸ’…)

🌸 DESCRIPTION 🌸

okay so here's what it does, fr fr: it creates a switch rule using the filter information you hand it, and then it adds an entry to the corresponding filter management list β€” all so that this switch rule and its VSI mapping get tracked. That's it, that's the whole thing. Obsessed with a function that knows its lane ✨


πŸ¦‹ SEE ALSO πŸ¦‹

literally the entire extended friend group, no cap β€” every single one:

also, the kernel file for all this lives at ./drivers/net/ethernet/intel/ice/ice_switch.c β€” go read it, iykyk πŸ“–

🌈 the sign-off 🌈

that's the page, bestie πŸ’œ it came from ./drivers/net/ethernet/intel/ice and it's dated October 2026 β€” don't ask me how a date in the future got into a manual page, that's just the source's business πŸ™ˆ slay, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from