STRUCT KERNEL_ETHTOOL_TS_INFO(9)
πΈ struct kernel_ethtool_ts_info(9) πΈ
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct kernel_ethtool_ts_info, which is literally just the kernel's own little copy of struct ethtool_ts_info. no cap. it's giving "same energy, different address space" π
π NAME π
struct kernel_ethtool_ts_info β kernel copy of struct ethtool_ts_info
like. it's the kernel-side version of that struct. that's the whole vibe π¦
β¨ SYNOPSIS β¨
struct kernel_ethtool_ts_info {
u32 cmd;
u32 so_timestamping;
int phc_index;
enum hwtstamp_provider_qualifier phc_qualifier;
enum hwtstamp_source phc_source;
int phc_phyindex;
u32 tx_types;
u32 rx_filters;
};
that's the whole struct, laid out, iconic, no crumbs π
π Members π
okay bestie, field by field, let's go π₯
cmdβ the command number, and it is literallyETHTOOL_GET_TS_INFO. that's it. that's the field πso_timestampingβ a bit mask of the sum of the supportedSO_TIMESTAMPINGflags. yes, the sum. as a bit mask. slay πphc_indexβ device index of the associated PHC, or-1if there is none. so if you see-1, that's the "no PHC bestie" signal πphc_qualifierβ qualifier of the associated PHC. type isenum hwtstamp_provider_qualifier. it's the qualifier. very demure, very mindful πphc_sourceβ source device of the associated PHC. type isenum hwtstamp_sourceβ¨phc_phyindexβ index of the PHY device source of the associated PHC. not to be confused withphc_indexup there, they are two different fields, i don't make the rules π«Άtx_typesβ a bit mask of the supportedhwtstamp_tx_typesenumeration values πrx_filtersβ a bit mask of the supportedhwtstamp_rx_filtersenumeration values π¦
π SEE ALSO π
the main character reference: Kernel file ./include/linux/ethtool.h π
and now the group chat β every single one of these showed up to the party, and we are NOT leaving anyone out:
enum ethtool_phys_id_state(9), struct kernel_ethtool_ringparam(9), enum ethtool_supported_ring_param(9), ethtool_rxfh_indir_default(9), struct ethtool_rxfh_context(9), ethtool_link_ksettings_zero_link_mode(9), ethtool_link_ksettings_add_link_mode(9), ethtool_link_ksettings_del_link_mode(9), ethtool_link_ksettings_test_link_mode(9), ethtool_intersect_link_masks(9), struct ethtool_phy_stats(9), struct ethtool_pause_stats(9), struct ethtool_fec_hist_range(9), struct ethtool_fec_stats(9), struct ethtool_rmon_hist_range(9), struct ethtool_rmon_stats(9), struct ethtool_ts_stats(9), struct ethtool_module_eeprom(9), struct ethtool_module_power_mode_params(9), struct ethtool_mm_state(9), struct ethtool_mm_cfg(9), struct ethtool_mm_stats(9), struct ethtool_mmsv_ops(9), struct ethtool_mmsv(9), struct ethtool_rxfh_param(9), struct ethtool_rxfh_fields(9), struct ethtool_ops(9), struct ethtool_netdev_state(9), struct ethtool_phy_ops(9), ethtool_set_ethtool_phy_ops(9), ethtool_params_from_link_mode(9), ethtool_get_phc_vclocks(9), ethtool_mm_frag_size_add_to_min(9), ethtool_mm_frag_size_min_to_add(9), ethtool_get_ts_info_by_layer(9), ethtool_sprintf(9), ethtool_puts(9), ethtool_cpy(9)
π«Ά friendly reminder bestie:phc_indexbeing-1means there's no associated PHC. don't panic, it's not a bug, it's just the documented value. periodt.
and that's the page!! π brought to you by the fine folks in ./include/linux (that's the source, mwah π), dated October 2026 β β go read the other ethtool pages, they're all in the group chat above, ily, bye π§
π¦ 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