ENUM ETHTOOL_TEST_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ethtool_test_flags(9) β€” a page from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in ethtool land and you need to know what the test flags actually mean. That's literally this page. Welcome to enum ethtool_test_flags, the little enum that tells your NIC test run what kind of vibe it's on. 🌸


✨ NAME ✨

enum ethtool_test_flags β€” the flags definition of ethtool_test, periodt. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

enum ethtool_test_flags {
    ETH_TEST_FL_OFFLINE ,
    ETH_TEST_FL_FAILED ,
    ETH_TEST_FL_EXTERNAL_LB ,
    ETH_TEST_FL_EXTERNAL_LB_DONE

};

πŸ‘‘ Constants πŸ‘‘

Four of them. Each one is doing its own little job and honestly? They ate. πŸ’…

  • ETH_TEST_FL_OFFLINE β€” if this one is set, you perform online and offline tests. If it's not set, you only do the online tests. That's the whole deal. ✨
  • ETH_TEST_FL_FAILED β€” the driver sets this flag when the test fails. So if you see it, yeah… the test did not slay. 😭
  • ETH_TEST_FL_EXTERNAL_LB β€” this is the application saying "hey, please go perform an external loopback test." A request, bestie. 🫢
  • ETH_TEST_FL_EXTERNAL_LB_DONE β€” and this one means the driver actually did the external loopback test. Iconic follow-through. βœ…

🌈 SEE ALSO 🌈

So many friends. The whole ethtool extended universe is here, iykyk. It all lives in the kernel file ./include/uapi/linux/ethtool.h, and here's everyone:

  • struct ethtool_cmd(9)
  • struct ethtool_drvinfo(9)
  • struct ethtool_wolinfo(9)
  • struct ethtool_regs(9)
  • struct ethtool_eeprom(9)
  • struct ethtool_eee(9)
  • struct ethtool_modinfo(9)
  • struct ethtool_coalesce(9)
  • struct ethtool_ringparam(9)
  • struct ethtool_channels(9)
  • struct ethtool_pauseparam(9)
  • enum ethtool_stringset(9)
  • enum ethtool_mac_stats_src(9)
  • enum ethtool_module_power_mode_policy(9)
  • enum ethtool_module_power_mode(9)
  • enum ethtool_c33_pse_ext_state(9)
  • enum ethtool_c33_pse_ext_substate_mr_mps_valid(9)
  • enum ethtool_c33_pse_ext_substate_error_condition(9)
  • enum ethtool_c33_pse_ext_substate_mr_pse_enable(9)
  • enum ethtool_c33_pse_ext_substate_option_detect_ted(9)
  • enum ethtool_c33_pse_ext_substate_option_vport_lim(9)
  • enum ethtool_c33_pse_ext_substate_ovld_detected(9)
  • enum ethtool_c33_pse_ext_substate_power_not_available(9)
  • enum ethtool_c33_pse_ext_substate_short_detected(9)
  • enum ethtool_pse_types(9)
  • enum ethtool_c33_pse_admin_state(9)
  • enum ethtool_c33_pse_pw_d_status(9)
  • enum ethtool_podl_pse_admin_state(9)
  • enum ethtool_podl_pse_pw_d_status(9)
  • enum ethtool_mm_verify_status(9)
  • enum ethtool_module_fw_flash_status(9)
  • struct ethtool_gstrings(9)
  • struct ethtool_sset_info(9)
  • struct ethtool_test(9)
  • struct ethtool_stats(9)
  • struct ethtool_perm_addr(9)
  • struct ethtool_tcpip4_spec(9)
  • struct ethtool_ah_espip4_spec(9)
  • struct ethtool_usrip4_spec(9)
  • struct ethtool_tcpip6_spec(9)
  • struct ethtool_ah_espip6_spec(9)
  • struct ethtool_usrip6_spec(9)
  • struct ethtool_flow_ext(9)
  • struct ethtool_rx_flow_spec(9)
  • struct ethtool_rxnfc(9)
  • struct ethtool_rxfh_indir(9)
  • struct ethtool_rxfh(9)
  • struct ethtool_rx_ntuple_flow_spec(9)
  • struct ethtool_rx_ntuple(9)
  • struct ethtool_dump(9)
  • struct ethtool_get_features_block(9)
  • struct ethtool_gfeatures(9)
  • struct ethtool_set_features_block(9)
  • struct ethtool_sfeatures(9)
  • struct ethtool_ts_info(9)
  • struct ethtool_per_queue_op(9)
  • struct ethtool_fecparam(9)
  • enum ethtool_fec_config_bits(9)
  • struct ethtool_link_settings(9)
  • enum phy_upstream(9)

ngl bestie, that's a lot of see-alsos. But every single one is valid and they all live in ./include/uapi/linux/ethtool.h, so go read them if you're curious. πŸ“š

okay that's the whole page!! this little drop came from ./include/uapi/linux, dated October 2026, and it's the enum ethtool_test_flags(9) page from the Kernel API Manual. mwah, go forth and test your NICs responsibly πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from