efx_ethtool_fill_self_tests(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… efx_ethtool_fill_self_tests(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's a little kernel-side helper and honestly it's giving "one function to rule them all" energy πŸ‘‘


🌸 NAME 🌸

efx_ethtool_fill_self_tests β€” get self-test details 🧚


✨ SYNOPSIS ✨

int efx_ethtool_fill_self_tests (struct efx_nic *efx , struct
       efx_self_tests *tests , u8 *strings , u64 *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • efx β€” the efx NIC πŸ–₯️ like, the actual network interface card in question, no cap.
  • tests β€” the efx self-test results structure, or NULL if you're not about that life πŸ™ˆ
  • strings β€” the ethtool strings, or NULL (same deal, optional bestie) 🧡
  • data β€” the ethtool test results, or NULL β€” you can absolutely pass nothing here and it's fine πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

So what does it actually do? It gets the self-test number of strings, the strings, and/or the test results. Pick your fighter πŸ’… You get back the number of strings β€” and lowkey the tea is that number is == the number of test results πŸ‘‘

The reason for merging these three functions is to make sure that they can never be inconsistent. fr fr, that's the whole point β€” one function, zero chance of two of them drifting apart and lying to each other 😭 iconic design honestly

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page bestie 🫢 signing off from ./drivers/net/ethernet/sfc/siena, October 2026 β€” brought to you by efx_ethtool_fill_self_tests(9) ✨ go fill some self-tests, slay πŸ’–

πŸ“¦ where this page comes from