ethtool_lin...ro_link_mode(9)
π ethtool_link_ksettings_zero_link_mode π
okay bestie, welcome to the Kernel API Manual, the manual name is literally that and this page is ethtool_lin...ro_link_mode(9) β yes the title's got that truncated little nickname going on, it's giving mysterious, we love that for it β¨
π NAME π
ethtool_link_ksettings_zero_link_mode β bestie, this one clears the link mode mask, no cap. That's the whole job. It zeros it out. Gone. Poof π«Ά
β¨ SYNOPSIS β¨
ethtool_link_ksettings_zero_link_mode (ptr , name );
like, that's it, that's the call π
πΈ ARGUMENTS πΈ
ptrβ a pointer tostruct ethtool_link_ksettings. Yeah it's a pointer. It's always a pointer. You know the vibes by now πnameβ literally one ofsupported/advertising/lp_advertising. Those are your three choices, pick one, no secret fourth option, iykyk π
π¦ SEE ALSO π¦
okay so this list is a whole friend group, strap in, we're meeting everyone π
The kernel file is ./include/linux/ethtool.h, and from that friend circle we've got:
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_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 kernel_ethtool_ts_info(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)
like, that's the whole group chat and yes they're all invited to the function party π₯
lowkey the most important part: this page lives in./include/linux, it's dated October 2026, and it's brought to you under theethtool_lin...ro_link_mode(9)name in the Kernel API Manual β so like, cite it right when you quote it bestie π§
and that's the page!! go forth and zero those masks, you're gonna 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