liquidio_ptp_enable(9)
π liquidio_ptp_enable(9) β from the Kernel API Manual, bestie π
Okay so picture this: it's a kernel API manual page, the title is liquidio_ptp_enable(9), and it is literally three arguments and a vibe check. Short queen energy. Let's get into it β¨
πΈ NAME πΈ
liquidio_ptp_enable β check if PTP is enabled π
That's it. That's the whole job. She checks. She reports. She leaves. No cap.
β¨ SYNOPSIS β¨
int liquidio_ptp_enable (struct ptp_clock_info *ptp , struct
ptp_clock_request *rq , int on );
Three things go in (ptp, rq, on), one int comes out. It's giving minimalism, it's giving main character, it's giving "I have one job and I'm gonna do it" π
π¦ ARGUMENTS π¦
ptpβ the PTP clock info, like, the PTP situation itself. It's astruct ptp_clock_info *, so yes bestie, pointerπ«Άrqβ the request. Astruct ptp_clock_request *, i.e. whatever is being asked of us rn πonβ "is it on". That's the whole description. Anintthat answers the eternal question: is it on or is it not on π₯
ngl the original says "is it on" and honestly? iconic. no further notes π
π§ SEE ALSO π§
First off, the whole reason we're here lives in this kernel file:
Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c
And then there's the extended fam β 60 functions deep, a whole friend group, and yes I'm listing every single one because we do NOT skip the boring parts in this house π:
octeon_console_debug_enabled(9)force_io_queues_off(9)pcierror_quiesce_device(9)cleanup_aer_uncorrect_error_status(9)stop_pci_io(9)liquidio_pcie_error_detected(9)liquidio_pcie_mmio_enabled(9)liquidio_pcie_slot_reset(9)liquidio_pcie_resume(9)liquidio_init_pci(9)liquidio_deinit_pci(9)check_txq_status(9)print_link_info(9)octnet_link_status_change(9)setup_link_status_change_wq(9)update_link_status(9)lio_sync_octeon_time(9)setup_sync_octeon_time_wq(9)cleanup_sync_octeon_time_wq(9)liquidio_probe(9)octeon_pci_flr(9)octeon_destroy_resources(9)send_rx_ctrl_cmd(9)liquidio_destroy_nic_device(9)liquidio_stop_nic_module(9)liquidio_remove(9)octeon_chip_specific_setup(9)octeon_pci_os_setup(9)free_netbuf(9)free_netsgbuf(9)free_netsgbuf_with_resp(9)liquidio_ptp_adjfine(9)liquidio_ptp_adjtime(9)liquidio_ptp_gettime(9)liquidio_ptp_settime(9)oct_ptp_open(9)liquidio_ptp_init(9)load_firmware(9)octnet_poll_check_txq_status(9)setup_tx_poll_fn(9)liquidio_open(9)liquidio_stop(9)get_new_flags(9)liquidio_set_mcast_list(9)liquidio_set_mac(9)handle_timestamp(9)send_nic_timestamp_pkt(9)liquidio_xmit(9)liquidio_tx_timeout(9)liquidio_set_rxcsum_command(9)liquidio_vxlan_port_command(9)liquidio_fix_features(9)liquidio_set_features(9)liquidio_init(9)setup_nic_devices(9)liquidio_init_nic_module(9)nic_starter(9)octeon_device_init(9)octeon_dbg_console_print(9)liquidio_exit(9)
Sixty of them. Sixty! We ate and left zero crumbs π
π the little sign-off π
Alright bestie, that's the whole page π It came to you courtesy of the source <italic>./drivers/net/ethernet/cavium/...</italic> β yes the path is literally abbreviated with a ... in the footer, that's not me being lazy, that's the manpage keeping secrets π β dated <italic>October 2026</italic>, and the whole thing is filed under liquidio_ptp_enable(9). Slay, go check your PTP, 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