ice_get_ptp_src_clock_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_get_ptp_src_clock_index(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 β€” we're literally in the kernel docs rn and this page is about one tiny but iconic function πŸŽ€


✨ NAME ✨

ice_get_ptp_src_clock_index β€” figure out which source clock index is in use rn, no cap


🌸 SYNOPSIS 🌸

u8 ice_get_ptp_src_clock_index (struct ice_hw *hw );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW struct, that's it, that's the whole argument 🫢

πŸ’– DESCRIPTION πŸ’–

So the whole vibe here: this function determines the source clock index that's currently in use. And how does it know? It goes off the device capabilities that were reported during initialization. That's the tea. β˜•βœ¨

Like, no guessing, no vibes-based detection β€” it's just reading what the device already told us back when it initialized. Main character energy fr. πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

first up, the actual kernel file this lives in β€” go read it, it's giving source of truth:

./drivers/net/ethernet/intel/ice/ice_ptp_hw.c

and then... bestie. the whole ice PTP friend group showed up. every single one of them. here they all are, in order, untouched, exactly as listed πŸ’€πŸ’–


and that's the whole page bestie, ily, go read the source 🫢

k bye, this came from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from