cxgb4_ptp_init(9)
π cxgb4_ptp_init β NAME π
okay bestie, gather round π this is the kernel API manual page for cxgb4_ptp_init, and it's literally the glow-up ritual that turns on PTP for the devices that can actually handle it β¨
β¨ SYNOPSIS β¨
void cxgb4_ptp_init (struct adapter *adapter );
that's it, that's the whole vibe check β one function, one pointer, no return value, no drama π
π«Ά ARGUMENTS π«Ά
adapterβ the board private structure, aka the main character of this whole operation π it's the struct that holds all the board-specific tea, and you're handing it over so the function knows which device it's blessing with PTP.
π DESCRIPTION π
So what does it actually do? It performs the required steps for enabling PTP support πΈ that's the whole thing β the behind-the-scenes routine that gets everything set up so your device can do Precision Time Protocol at all. No cap, if PTP is the party, this function is the one sending the invites π
π¦ SEE ALSO π¦
- the kernel file it lives in, bestie:
./drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.cπ cxgb4_ptp_is_ptp_tx(9)β the "is this even a PTP tx packet" check π§cxgb4_ptp_is_ptp_rx(9)β same energy, but for rx π«cxgb4_ptp_read_hwstamp(9)β reads the hardware stamp βcxgb4_ptprx_timestamping(9)β the rx timestamping situation πcxgb4_ptp_adjfine(9)β fine-grained clock adjustment, fancy π₯cxgb4_ptp_fineadjtime(9)β the finer adjustment to the time πcxgb4_ptp_adjtime(9)β plain ol' clock adjustment πΈcxgb4_ptp_gettime(9)β gets the time β°cxgb4_ptp_settime(9)β sets the time βcxgb4_ptp_enable(9)β turns it on πcxgb4_ptp_stop(9)β turns it off, bye bestie π
and that's the whole page, bestie π«Ά this came to you courtesy of the Kernel API Manual, cxgb4_ptp_init(9), dated October 2026, with the file path ./drivers/net/ethernet/chelsio... doing its little ellipsis moment at the bottom π mwah, go enable some PTP πβ¨
π¦ 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