__lb_run_test(9)
π» __lb_run_test(9) β like, the loopback test runner bestie π
Ok so real talk, this page lives in the Kernel API Manual, and it's all about __lb_run_test β yes that's the name, yes it starts with two underscores, no we don't ask why π«Ά. It runs the loopback test. That's the whole vibe. Short page, iconic energy, let's go β¨
πΈ NAME πΈ
__lb_run_test β run loopback test π
Like, literally just: run the loopback test. No cap. It's giving "small function, important job" and honestly? Obsessed π
β¨ SYNOPSIS β¨
int __lb_run_test (struct net_device *ndev , enum hnae_loop loop_mode );
That's the whole signature, bestie β returns an int, takes a struct net_device * and an enum hnae_loop. Copy it exactly, commas and all, because we do not be paraphrasing code around here π₯
π¦ ARGUMENTS π¦
ndevβ the net device π. Like, the network device you're working with. That's it, that's the whole description, keep it moving.loop_modeβ the loopback mode π. Anenum hnae_loopvalue, telling it which flavour of loopback we're doing. Vibe check passed.
Two args. Two. We love a low-maintenance function π
π SEE ALSO π
Ok this is where it gets iconic because the SEE ALSO list is long and honestly it ate π Every single one of these, bestie, no skipping:
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_ethtool.cβ yeah, that's where the magic lives, go read it π hns_nic_get_link(9)hns_nic_get_link_ksettings(9)hns_nic_set_link_ksettings(9)hns_nic_self_test(9)hns_nic_get_drvinfo(9)hns_get_ringparam(9)hns_get_pauseparam(9)hns_set_pauseparam(9)hns_get_coalesce(9)hns_set_coalesce(9)hns_get_channels(9)hns_get_ethtool_stats(9)hns_get_strings(9)hns_get_sset_count(9)hns_phy_led_set(9)hns_set_phys_id(9)hns_get_regs(9)hns_get_regs_len(9)hns_nic_nway_reset(9)
Like, that's the whole hns friend group and they're all invited to the group chat π«Άβ¨
ngl bestie, this page is short and sweet β but every detail still counts, so don't go deleting any of those SEE ALSO entries just because the list is long. They're all main characters π
Mwah π β this page came from ./drivers/net/ethernet/hisilic..., dated October 2026, and it's filed under __lb_run_test(9) in the Kernel API Manual. That's the tea, drink it up π§π
π¦ 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