hns3_lp_run_test(9)
π hns3_lp_run_test(9) β Kernel API Manual, but make it make sense π
okay so bestie, welcome to the hns3_lp_run_test(9) page β this is the kernel API manual, and no, we are not gatekeeping it. Sit down, hydrate, let's go π«Ά
β¨ NAME β¨
hns3_lp_run_test β literally just runs the loopback test π₯ that's it, that's the whole job, and it ate π
π¦ SYNOPSIS π¦
int hns3_lp_run_test (struct net_device *ndev , enum hnae3_loop mode );
so it takes two things and hands you back an int, periodt. π
π ARGUMENTS π
ndevβ the net device π like, the actual network interface we're doing all this for, main character vibes nglmodeβ the loopback type π iykyk, it's theenum hnae3_loopsituation telling us which flavour of loopback we're running
πΈ RETURN πΈ
returns 0 when everything slays β
β otherwise you get a NIC loopback test error code on failure π so like, 0 good, anything else, go read the code and vibe check it fr fr
β SEE ALSO β
- Kernel file:
./drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.cπ hns3_self_test(9)β the sibling page, go read it too bestie π§
π©· reminder queen: if it's not 0, that's not a success, that's a cry for help from your loopback test. no cap.
and that's the page!! π source/version lives at ./drivers/net/ethernet/hisilic... and the date is October 2026 β mwah, go touch some ethernet cables, ily, bye πβ¨π¦
π¦ 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