ice_ptp_parse_sdp_entries(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_ptp_parse_sdp_entries(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes, the whole manual name is part of the vibe, we're citing it properly 🫢 β€” and today's main character is ice_ptp_parse_sdp_entries.


✨ NAME ✨

ice_ptp_parse_sdp_entries β€” update ice_ptp_pin_desc structure from NVM

Like, it literally reads the SDP connection section out of NVM and refreshes your pin descriptors with it. Slay. πŸ’…


🌸 SYNOPSIS 🌸

int ice_ptp_parse_sdp_entries (struct ice_pf *pf , __le16 *entries ,
       unsigned int num_entries , struct ice_ptp_pin_desc *pins );

πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” pointer to the PF structure. your whole personality for the duration of this call, honestly.
  • entries β€” SDP connection section from NVM. the raw tea straight from the source ✨
  • num_entries β€” number of valid entries in sdp_entries. like, how many of them are actually real and not just filler, iykyk.
  • pins β€” PTP pins array to update. this is the one getting a glow-up πŸ¦‹

⭐ RETURN ⭐

0 on success, negative error code otherwise. so if it's 0 we celebrate, and if it's negative... we do not. 😭


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c

and literally the entire extended friend group, no cap:


like yes that's a lot of names but every single one of them is invited to the function-call party πŸŽ‰ don't @ me.

okay that's the whole page, bestie β€” sourced from ./drivers/net/ethernet/intel/ice, dated October 2026, and filed under Kernel API Manual forever and always. periodt. πŸ’œπŸ§šβœ¨

πŸ“¦ where this page comes from