ice_ptp_prep_phy_adj_e82x(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_ptp_prep_phy_adj_e82x β€” a Kernel API Manual moment ✨

okay bestie, welcome to the Kernel API Manual entry for ice_ptp_prep_phy_adj_e82x β€” yes that's a mouthful, yes we're gonna get through it together, and yes it's giving "networking girlie who knows her PTP registers" πŸŽ€


🌸 NAME 🌸

ice_ptp_prep_phy_adj_e82x β€” literally the function that preps your PHY ports for a time adjustment. that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

int ice_ptp_prep_phy_adj_e82x (struct ice_hw *hw , s32 adj );

int, struct, s32 β€” the holy trinity, no cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to HW struct. it's the hardware handle, the main character, the thing you pass in. πŸŽ€
  • adj β€” adjustment in nanoseconds. it's a signed value (s32) so yes, it can go backwards too, icon behaviour. ⏱️

πŸ’… DESCRIPTION πŸ’…

so here's the tea β˜• β€” this function prepares the PHY ports for an atomic time adjustment by programming the PHY Tx and Rx port registers. that's it, that's the job, and she does it well. 🌟

key detail bestie, do not skip: the actual adjustment is not done here. it gets completed by issuing an ICE_PTP_ADJ_TIME or ICE_PTP_ADJ_TIME_AT_TIME sync command. this function is the setup, the sync command is the moment. don't @ me. 😭

so like β€” prep now, adjust later. two-step. coordinated. very "getting ready with my bestie before the party" energy. πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

the source file for all this, for the record:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c

and now the friend group, in order, no one left out because we don't do that here 🫢:

like, the whole eth56g squad showed up. obsessed. πŸ¦‹

e82x family reunion, and honestly they ate πŸ’…

e810 and e830 said "we're here too" and honestly? iconic. πŸ‘‘

the generic girlies, holding it down fr fr. 🫢

and the CGU crew closing out the list like a proper finale. 🌈⭐


okay that's the whole page, every single reference included, nothing skipped, we ate and left no crumbs πŸ’…πŸ“

nerd note bestie: remember the adjustment itself only completes when you fire off ICE_PTP_ADJ_TIME or ICE_PTP_ADJ_TIME_AT_TIME. this function is prep only. read the DESCRIPTION again if you're side-eyeing me. 😌

and that's the sign-off, from the kernel tree at ./drivers/net/ethernet/intel/ice 🧚 β€” October 2026, ice_ptp_prep_phy_adj_e82x(9), mwah πŸ’–

πŸ“¦ where this page comes from