ixgbe_ptp_reset(9)
π ixgbe_ptp_reset β the kernel API manual, but make it make sense
Okay bestie, so this is a page from the Kernel API Manual β section 9, function-manual territory β and the star of the show is ixgbe_ptp_reset. Buckle up, it's giving "my clock got reset and I need to rebuild my whole personality" energy. π°οΈβ¨
πΈ NAME πΈ
ixgbe_ptp_reset β yes, that's literally the whole name field, the original left the description blank, so we're not inventing lore here. It's a function, her name is ixgbe_ptp_reset, periodt. π
π¦ SYNOPSIS π¦
void ixgbe_ptp_reset (struct ixgbe_adapter *adapter );
That's it, that's the signature β void, so she returns nothing, she just does things. Iconic. π
π ARGUMENTS π
adapterβ the ixgbe private board structure. Like, this is the little private diary of the board, and we're handing it over so the function can read her settings and put her back together. π«Ά
β¨ DESCRIPTION β¨
So here's the situation, bestie: when the MAC resets, all the hardware bits for timesync get reset too. Like, all of them. Gone. Ngl it's kind of rude. π
This function is the one you call to re-enable the device for PTP based on the current settings. She looks at what's configured and she brings it back to life β main character energy, honestly. π₯
π Important caveat: we do lose the current clock time. It's just gone, no cap. So the move here is to just reset the cyclecounter to the system real clock time. That's the fix, that's the vibe check, we move on. π
And she's a keeper of the details too: this function will maintain hwtstamp_config settings, and it resets the SDP output if it was enabled. So if your SDP was on before, she's not gonna leave you hanging β it comes back. π
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c β the mothership, go read her π
And the whole extended family, fr fr, here's the full guest list π:
ixgbe_ptp_setup_sdp_X540(9)ixgbe_ptp_setup_sdp_X550(9)ixgbe_ptp_read_X550(9)ixgbe_ptp_read_82599(9)ixgbe_ptp_convert_to_hwtstamp(9)ixgbe_ptp_adjfine_82599(9)ixgbe_ptp_adjfine_X550(9)ixgbe_ptp_adjtime(9)ixgbe_ptp_gettimex(9)ixgbe_ptp_settime(9)ixgbe_ptp_feature_enable(9)ixgbe_ptp_check_pps_event(9)ixgbe_ptp_overflow_check(9)ixgbe_ptp_rx_hang(9)ixgbe_ptp_clear_tx_timestamp(9)ixgbe_ptp_tx_hang(9)ixgbe_ptp_tx_hwtstamp(9)ixgbe_ptp_tx_hwtstamp_work(9)ixgbe_ptp_rx_pktstamp(9)ixgbe_ptp_rx_rgtstamp(9)ixgbe_ptp_hwtstamp_get(9)ixgbe_ptp_set_timestamp_mode(9)ixgbe_ptp_hwtstamp_set(9)ixgbe_ptp_start_cyclecounter(9)ixgbe_ptp_init_systime(9)ixgbe_ptp_create_clock(9)ixgbe_ptp_init(9)ixgbe_ptp_suspend(9)ixgbe_ptp_stop(9)
π§ Sign-off π§
This cutie came from the kernel source path shown in the footer β ./drivers/net/ethernet/intel/i... (that's how it got truncated in the original, we're keeping it exactly like that, don't @ me π) β and she's dated October 2026, filed under ixgbe_ptp_reset(9). Slay, see you in the next reset. ππΈπ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms