igb_ptp_tx_hwtstamp(9)
π igb_ptp_tx_hwtstamp π
ok so bestie, we're in the Kernel API Manual today (yes, the kernel, main character energy only) and the function we're stanning is igb_ptp_tx_hwtstamp π
β¨ NAME β¨
igb_ptp_tx_hwtstamp β a little utility function whose whole job is checking for a TX time stamp πβ¨
π¦ SYNOPSIS π¦
void igb_ptp_tx_hwtstamp (struct igb_adapter *adapter );
that's it. that's the whole signature. no cap. π
πΈ ARGUMENTS πΈ
adapterβ the board private structure π«Ά like, the whole board's little private diary of a struct. everything it needs to know about itself lives in there.
π₯ DESCRIPTION π₯
ok so here's the vibe π if we were asked to do hardware stamping, and a time stamp like that is actually available? then it must have been for this skb right here β because we only allow only one such packet into the queue at a time. periodt. π
so like, there's no "which packet was this for π€" detective work happening. the queue is a strict one-in-one-out situation, so the stamp can only belong to the one packet we let in. it's giving exclusive π absolutely no queue drama, no confusion, just vibes and a guaranteed one-to-one match. ngl it's kind of iconic how simple that is π
β SEE ALSO β
this one's got a whole friend group, iykyk π«Ά β go say hi to the kernel file π
./drivers/net/ethernet/intel/igb/igb_ptp.c
and the rest of the igb_ptp crew, fr fr:
igb_ptp_systim_to_hwtstamp(9)igb_ptp_tx_work(9)igb_ptp_rx_hang(9)igb_ptp_tx_hang(9)igb_ptp_rx_pktstamp(9)igb_ptp_rx_rgtstamp(9)igb_ptp_hwtstamp_get(9)igb_ptp_set_timestamp_mode(9)igb_ptp_hwtstamp_set(9)igb_ptp_init(9)igb_ptp_sdp_init(9)igb_ptp_suspend(9)igb_ptp_stop(9)igb_ptp_reset(9)
all of them. every single one. we do not skip the squad π§π
lowkey a reminder: this page ships out of ./drivers/net/ethernet/intel/igb and it's dated October 2026 πΈ so when you're citing it, cite it cute. π
k bye bestie, go stamp some packets πβ¨π
π¦ 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