ice_ptp_read_sdp_ac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_ptp_read_sdp_ac β€” Kernel API Manual, bestie edition πŸŽ€

okay so picture this: it's the ice driver, it's PTP o'clock, and somebody needs the SDP available connections section pulled straight out of NVM. that's this function. it's giving "librarian of the network card." no cap. ✨


🌸 NAME 🌸

ice_ptp_read_sdp_ac β€” reads the SDP available connections section out of NVM. that's it, that's the job. πŸ’–


✨ SYNOPSIS ✨

int ice_ptp_read_sdp_ac (struct ice_hw *hw , __le16 *entries , uint
*num_entries );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the struct ice_hw. the hardware struct. the main character. 🫢
  • entries β€” this is where the SDP available connections section from NVM gets returned. it's an output, bestie, so it comes back out through here. πŸ’…
  • num_entries β€” returns the number of valid entries. so like, how many of the things in entries actually count. ⭐

πŸ”₯ RETURN πŸ”₯

0 on success, obviously, slay. πŸ’– a negative error code shows up if the NVM read failed, or if the section doesn't exist, or if it's corrupted. any of those three and it's 😭 time.

lowkey important: 0 means good. anything negative means something went wrong β€” either the NVM read failed, or the section isn't there, or it's corrupted. three separate ways to have a bad day.

🧚 SEE ALSO 🧚

first up, the actual file this lives in β€” the kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c. go read it, iykyk. πŸ“–

and now, the extended universe. like genuinely, this is the whole friend group, everybody's invited: πŸ’œ


and that's the page, bestie 🫢 this one shipped out of ./drivers/net/ethernet/intel/ice in October 2026, and it's living in the Kernel API Manual. go read NVM responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from