ice_ptp_mayb...tx_interrupt(9)
π
ice_ptp_maybe_trigger_tx_interrupt β Kernel API Manual β¨
okay so bestie, welcome to the glow-up of the <rainbow>Kernel API Manual</rainbow> page for ice_ptp_mayb...tx_interrupt(9). yes the header literally abbreviates it like that, i don't make the rules π this one's a lil function that does exactly one dramatic thing and honestly? she ate.
πΈ NAME πΈ
ice_ptp_maybe_trigger_tx_interrupt β Trigger Tx timstamp interrupt π
(yes "timstamp" is spelled like that up there, i'm not touching it, we don't edit the source of truth β¨)
π¦ SYNOPSIS π¦
void ice_ptp_maybe_trigger_tx_interrupt (struct ice_pf *pf );
that's it. that's the whole vibe. void in, void out, no return value, no drama π
β¨ ARGUMENTS β¨
pfβ Board private structure. that's the whole description, she's mysterious, she's a pointer tostruct ice_pf, she's the board's private business π«Ά
π DESCRIPTION π
okay so picture this: the device PHY is out here issuing Tx timestamp interrupts to the driver so the driver can process timestamp data from the PHY. very main character of her. and here's the thing β she will not interrupt again until all current timestamp data is read. like, all of it. no partial credit. π
and in rare circumstances, it is possible that the driver fails to read all outstanding data. π yeah. lowkey scary.
so to avoid getting permanently stuck β and bestie, "permanently stuck" is doing a LOT of emotional labor in that sentence β the move is to periodically check if the PHY has outstanding timestamp data. and if so? trigger an interrupt from software to process this data. π software said "fine, i'll do it myself."
ngl this function is the safety net. the vibe check. the "hey girl you left something on read" text. π
π SEE ALSO π
first up, the actual home of all this, right in the kernel file:
./drivers/net/ethernet/intel/ice/ice_ptp.cπ₯
and then the whole extended friend group, in order, no one gets left out:
ice_ptp_find_pin_idx(9),ice_ptp_cfg_tx_interrupt(9),ice_set_rx_tstamp(9),ice_ptp_disable_timestamp_mode(9),ice_ptp_restore_timestamp_mode(9),ice_ptp_read_src_clk_reg(9)ice_ptp_extend_32b_ts(9),ice_ptp_extend_40b_ts(9),ice_ptp_is_tx_tracker_up(9),ice_ptp_req_tx_single_tstamp(9),ice_ptp_complete_tx_single_tstamp(9),ice_ptp_process_tx_tstamp(9)ice_ptp_alloc_tx_tracker(9),ice_ptp_flush_tx_tracker(9),ice_ptp_mark_tx_tracker_stale(9),ice_ptp_flush_all_tx_tracker(9),ice_ptp_release_tx_tracker(9)ice_ptp_init_tx_e82x(9),ice_ptp_init_tx(9),ice_ptp_update_cached_phctime(9),ice_ptp_reset_cached_phctime(9)ice_ptp_write_init(9),ice_ptp_write_adj(9),ice_base_incval(9),ice_ptp_check_tx_fifo(9),ice_ptp_wait_for_offsets(9)ice_ptp_port_phy_stop(9),ice_ptp_port_phy_restart(9),ice_ptp_link_change(9),ice_ptp_cfg_phy_interrupt(9),ice_ptp_reset_phy_timestamping(9),ice_ptp_restart_all_phy(9)ice_ptp_adjfine(9),ice_ptp_extts_event(9),ice_ptp_cfg_extts(9),ice_ptp_disable_all_extts(9),ice_ptp_enable_all_extts(9)ice_ptp_write_perout(9),ice_ptp_cfg_perout(9),ice_ptp_disable_all_perout(9),ice_ptp_enable_all_perout(9)ice_verify_pin(9),ice_ptp_gpio_enable(9),ice_ptp_gettimex64(9),ice_ptp_settime64(9),ice_ptp_adjtime_nonatomic(9),ice_ptp_adjtime(9)struct ice_crosststamp_cfg(9),struct ice_crosststamp_ctx(9),ice_capture_crosststamp(9),ice_ptp_getcrosststamp(9)ice_ptp_hwtstamp_get(9),ice_ptp_set_timestamp_mode(9),ice_ptp_hwtstamp_set(9),ice_ptp_get_rx_hwts(9)ice_ptp_setup_pin_cfg(9),ice_ptp_disable_pins(9),ice_ptp_parse_sdp_entries(9)ice_ptp_set_funcs_e82x(9),ice_ptp_set_funcs_e810(9),ice_ptp_set_funcs_e830(9),ice_ptp_set_caps(9),ice_ptp_create_clock(9)ice_ptp_request_ts(9),ice_ptp_ts_irq(9),ice_ptp_queue_work(9),ice_ptp_prepare_rebuild_sec(9),ice_ptp_prepare_for_reset(9),ice_ptp_rebuild_owner(9),ice_ptp_rebuild(9)ice_ptp_clock_index(9),ice_ptp_init_owner(9),ice_ptp_init_work(9),ice_ptp_init_port(9),ice_ptp_init_tx_interrupt_mode(9),ice_ptp_init(9),ice_ptp_release(9)
like i said. everyone is invited. it's giving family reunion π§
π friendly reminder: this page is from the kernel tree at ./drivers/net/ethernet/intel/ice β that's the source/version to cite, periodt.
and that's the whole page bestie! this absolute icon of a manpage dropped October 2026 from ./drivers/net/ethernet/intel/ice, and she's still out here triggering interrupts from software when the PHY forgets to text back. no cap. slay. πππ
π¦ 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