ef4_ethtool_fill_self_tests(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ef4_ethtool_fill_self_tests(9) β€” Kernel API Manual ✨

okay so bestie, we're in the Kernel API Manual today and the star of the show is ef4_ethtool_fill_self_tests. she's giving driver-internals main character energy and honestly? she ate. πŸŽ€


🌸 NAME 🌸

ef4_ethtool_fill_self_tests β€” literally just get self-test details, that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

int ef4_ethtool_fill_self_tests (struct ef4_nic *efx , struct
       ef4_self_tests *tests , u8 *strings , u64 *data );

like, one function, four args, no drama (well, okay, some drama β€” see the DESCRIPTION) πŸ’–


🫢 ARGUMENTS 🫢

  • efx β€” the Efx NIC itself, your actual network card babe, the whole reason we're here πŸ‘‘
  • tests β€” the Efx self-test results structure, or NULL (yes, NULL is a valid choice here, we love a flexible queen) πŸ™ˆ
  • strings β€” ethtool strings, or NULL (again, NULL is fine, no judgement) 🌸
  • data β€” ethtool test results, or NULL (third time's the charm, NULL-friendly fr fr) ⭐

πŸ’œ DESCRIPTION πŸ’œ

so what she actually does: get the self-test number of strings, the strings themselves, and/or the test results. return value is the number of strings β€” and lowkey that's == the number of test results, so if you were wondering, yeah, they match. πŸ’…

now here's the tea, the lore, the why β˜• β€” the reason for merging these three functions is to make sure that they can never be inconsistent. like, ever. no cap. that's the whole design philosophy and honestly it's iconic. πŸ”₯


🌈 SEE ALSO 🌈

go read those too, iykyk 🧚


okay that's the whole page bestie, you're officially educated πŸ’– this lil slice of kernel API manual lives in ./drivers/net/ethernet/sfc/falcon and it's dated October 2026 β€” and the title, obviously, is ef4_ethtool_fill_self_tests(9). slay, go forth and fill those self-tests 🌟

πŸ“¦ where this page comes from