ice_ptp_read...tatus_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this page is ice_ptp_read_tx_hwtstamp_status_eth56g and it lives in the Kernel API Manual (the header up top gets squished to ice_ptp_read...tatus_eth56g(9) because manpage headers love to be extra πŸ’…). And what does it actually do? It literally just Get TX timestamp status. that's the whole vibe. icon.


✨ SYNOPSIS ✨

int ice_ptp_read_tx_hwtstamp_status_eth56g (struct ice_hw *hw , u32 *ts_status );

no cap, that's it. two args, one int coming back at you 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. yes. the hardware struct. she's the main character of this whole file 🧚
  • ts_status β€” the timestamp mask pointer. that's where the status mask ends up, so keep it safe πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

so what's happening here: this function reads the PHY Tx timestamp status mask, and that mask tells you which ports have Tx timestamps available. imagine a little glow-up report card for your ports β€” who's got a timestamp ready, who doesn't. that's the read. that's the whole function. ate and left no crumbs ✨


🌈 RETURN 🌈

  • 0 β€” success πŸ’– everything slayed, the mask got read, we're so back
  • other β€” failed to read from PHY πŸ’€ the PHY didn't pick up the phone, so the read did not happen
ngl, "other" is doing a lot of heavy lifting here β€” the page literally just says other = failed to read from PHY, so don't go inventing meanings for specific values, bestie πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

the Kernel file this beauty hangs out in is ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c, and the friend group is huge β€” like, group-chat-with-150-members huge. here's everyone, no one left out, fr fr 🫢


and that's the whole page! πŸ’œ this one comes from ./drivers/net/ethernet/intel/ice, dated October 2026, and the footer's title is ice_ptp_read...tatus_eth56g(9) β€” go read some ports, bestie, you've got this πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from