__lb_run_test(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’» __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 πŸ”. An enum hnae_loop value, 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:

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