idpf_get_ts_info(9)
π idpf_get_ts_info β get device PHC association π
okay so this is a page straight out of the Kernel API Manual, and the star of the show is idpf_get_ts_info(9) β literally the function that gets you the device's PHC association. yes bestie, that's the whole vibe. it's a little guy with a big job and i'm obsessed π
β¨ NAME β¨
idpf_get_ts_info β get device PHC association π
πΈ SYNOPSIS πΈ
int idpf_get_ts_info (struct net_device *netdev , struct
kernel_ethtool_ts_info *info );
that's it. two args, one int coming back at you. no cap. β¨
π¦ ARGUMENTS π¦
netdevβ the network interface device structure π«Ά like, this is the net device we're talking about, bestie.infoβ the ethtool timestamping info structure π this is the lil struct where the timestamping tea gets stored.
π RETURN π
0 on success, -errno otherwise. so if it's zero you're slaying, and if it's negative it's giving error energy β check your errno, iykyk π
π SEE ALSO π
the whole friend group, fr fr π first up, the source:
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_ethtool.c
and then the entire squad (yes, all of them, i'm not skipping a single one π):
idpf_get_rx_ring_count(9)idpf_get_rxnfc(9)idpf_add_flow_steer(9)idpf_del_flow_steer(9)idpf_get_rxfh_key_size(9)idpf_get_rxfh_indir_size(9)idpf_get_rxfh(9)idpf_set_rxfh(9)idpf_get_channels(9)idpf_set_channels(9)idpf_get_ringparam(9)idpf_set_ringparam(9)struct idpf_stats(9)__idpf_add_qstat_strings(9)idpf_add_qstat_strings(9)idpf_add_stat_strings(9)idpf_get_stat_strings(9)idpf_get_strings(9)idpf_get_sset_count(9)idpf_add_one_ethtool_stat(9)idpf_add_queue_stats(9)idpf_add_empty_queue_stats(9)idpf_add_port_stats(9)idpf_collect_queue_stats(9)idpf_get_ethtool_stats(9)idpf_find_rxq_vec(9)idpf_find_txq_vec(9)__idpf_get_q_coalesce(9)idpf_get_q_coalesce(9)idpf_get_coalesce(9)idpf_get_per_q_coalesce(9)__idpf_set_q_coalesce(9)idpf_set_q_coalesce(9)idpf_set_coalesce(9)idpf_set_per_q_coalesce(9)idpf_get_msglevel(9)idpf_set_msglevel(9)idpf_get_link_ksettings(9)idpf_get_timestamp_filters(9)idpf_get_ts_stats(9)idpf_set_ethtool_ops(9)
go read them all, bestie, they're literally all in the same file and they all ate ππ₯
π the cute lil sign-off π
source: ./drivers/net/ethernet/intel/idpf, dated October 2026, and the whole thing answers to the name idpf_get_ts_info(9). mwah, bye bestie, go get that PHC association π«Άπβ¨
π¦ 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