igc_ptp_tx_hwtstamp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igc_ptp_tx_hwtstamp πŸ’…

okay so bestie, welcome to the kernel API manual page for igc_ptp_tx_hwtstamp β€” yes that's a whole mouthful, but she's iconic and she knows it ✨


🌸 NAME 🌸

igc_ptp_tx_hwtstamp β€” a utility function which checks for TX time stamp. that's it, that's her job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void igc_ptp_tx_hwtstamp (struct igc_adapter *adapter );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” the board private structure 🫢 like, this is the whole context she's working with, no cap.

✨ DESCRIPTION ✨

so what she does is: she checks against the ready mask to see which of the timestamp register sets are actually ready to be retrieved πŸ‘€ then she retrieves that one and notifies the rest of the stack. literally that simple, and yet so important. she ate. πŸ”₯


πŸ’œ CONTEXT πŸ’œ

expects adapter->ptp_tx_lock to be held by the caller β€” so like, hold the lock before you call her, bestie, fr fr πŸ™ˆ no lock, no vibes.

🌈 SEE ALSO 🌈

kernel file ./drivers/net/ethernet/intel/igc/igc_ptp.c

the whole friend group πŸ’–:


okay that's the whole page, mwah πŸ’‹ this came from ./drivers/net/ethernet/intel/igc, dated October 2026 β€” slay, go timestamp some packets responsibly, ily πŸ§šπŸ’œ

πŸ“¦ where this page comes from