mlx4_en_phc_settime(9)
π NAME π
Okay bestie, this is mlx4_en_phc_settime(9) from the Kernel API Manual β the page about setting the current time on the hardware clock. Itβs giving tiny-but-powerful timekeeper energy πβ°
β¨ SYNOPSIS β¨
int mlx4_en_phc_settime (struct ptp_clock_info *ptp , const struct
timespec64 *ts );
π ARGUMENTS π
ptpβ the ptp clock structure. Thatβs the main character here πtsβ a timespec containing the new time for the cycle counter. Fresh time, freshly delivered π°οΈβ¨
π¦ DESCRIPTION π¦
So the move is: reset the timecounter so it uses a new base value instead of the kernel wall timer value. Thatβs literally the whole vibe β new base value, not the kernel wall timer value. No cap, thatβs the description fr fr πΈ
π SEE ALSO π
Go check these besties too:
- Kernel file
./drivers/net/ethernet/mellanox/mlx4/en_clock.cπ mlx4_en_remove_timestamp(9)mlx4_en_phc_adjfine(9)mlx4_en_phc_adjtime(9)mlx4_en_phc_gettime(9)mlx4_en_phc_enable(9)
Sign-off tea β: this cutie comes from <pink>./drivers/net/ethernet/mellano...` and itβs dated October 2026. Byeee, mwah ππ
π¦ 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