ixgbe_ptp_create_clock(9)
π ixgbe_ptp_create_clock(9) π
okay so bestie, we're in the Kernel API Manual today and the star of the show is ixgbe_ptp_create_clock(9) β yes that's the whole function name, she's long, she's iconic, we move.
β¨ NAME β¨
ixgbe_ptp_create_clock β literally the function that gets your PTP clock set up and living her best life π°οΈβ¨
(no cap, the original NAME section had nothing after the dash, so we're not gonna invent lore that isn't there π«Ά)
πΈ SYNOPSIS πΈ
long ixgbe_ptp_create_clock (struct ixgbe_adapter *adapter );
that's it, that's the signature, copy it exactly, don't come for me about the space before the ) π
π ARGUMENTS π
adapterβ the ixgbe private adapter structure. that's her. the ixgbe private adapter struct, your main character pointer π
π¦ DESCRIPTION π¦
so what does she do? two things, and she does them well:
- she performs setup of the user entry point function table β yes, the whole table, she's thorough like that π
- she initializes the PTP clock device, which is the thing you use to access the clock-like features of the PTP core β°β¨
and the lore doesn't stop there: she gets called by ixgbe_ptp_init, and she may reuse a previously initialized clock β like, for example, during a suspend/resume cycle. recycling is slay, we love a sustainable queen πβ»οΈ
π SEE ALSO π
first up, the source file herself:
- Kernel file
./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
and then the whole friend group, every single one, no skipping, iykyk:
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_reset(9)ixgbe_ptp_init(9)ixgbe_ptp_suspend(9)ixgbe_ptp_stop(9)
like, that's the entire group chat, all 29 of them, and yes ixgbe_ptp_init(9) is in there even though she's the one who calls our girl β circular bestie behavior, we don't question it π
π«Ά quick vibe check before you go: everything above is verbatim from the page, i didn't add behavior, i didn't remove options, i just gave it β¨energyβ¨. periodt.
and that's the page!! sourced from ./drivers/net/ethernet/intel/i... (yes the path got cut off in the original, that's exactly how she arrived, we don't fix her π), dated October 2026, filed under ixgbe_ptp_create_clock(9) in the Kernel API Manual. mwah, go read the source, ily, bye ππ§π
π¦ 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