ice_get_pkg_seg_by_idx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this page is ice_get_pkg_seg_by_idx(9) from the Kernel API Manual, and I'm obsessed we're doing kernel package segments together 🫢. Real talk: the original NAME line is literally ice_get_pkg_seg_by_idx - with nothing after the dash, so there's no extra one-liner summary here β€” don't come for me, that's just the page 😭.

✨ SYNOPSIS ✨

Bestie, code is sacred, so here's the synopsis exactly as it appears:

struct ice_generic_seg_hdr * ice_get_pkg_seg_by_idx (struct ice_pkg_hdr
       *pkg_hdr , u32 idx );

It's giving struct ice_generic_seg_hdr * main-character energy, periodt.

πŸŽ€ ARGUMENTS πŸŽ€

  • pkg_hdr β€” pointer to the package header to be searched. That's the thing being searched, no cap.
  • idx β€” index of segment. Literally the segment's index πŸ’….

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is right here: ./drivers/net/ethernet/intel/ice/ice_ddp.c β€” that's the source file path, copied exactly, mwah πŸ’‹.

And here's the whole SEE ALSO friend group, all (9) references exactly as listed:


Sign-off time, bestie: source is ./drivers/net/ethernet/intel/ice, and the date on this one is October 2026. Stay iconic, drink water, and don't forget the segments πŸ’œβœ¨

πŸ“¦ where this page comes from