hnae_ae_register(9)
π hnae_ae_register(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this one's a little function from the kernel's network stack world, and it's literally just here to do one job: hook an AE engine up to the hnae framework. no drama, no complicated lore. let's get into it π«Ά
πΈ NAME πΈ
hnae_ae_register β register a AE engine to hnae framework
like, that's the whole vibe. you got an AE engine? you want it registered into the hnae framework? bestie, this is your function π
β¨ SYNOPSIS β¨
int hnae_ae_register (struct hnae_ae_dev *hdev , struct module *owner );
returns an int, takes two args, moves on with its life. iconic behaviour, honestly π
π ARGUMENTS π
hdevβ the hnae ae engine device π¦ this is the device you're handing over, the main character of the whole operation.ownerβ the module who provides this dev π iykyk, it's the module that's putting this device out into the world.
β οΈ NOTE β οΈ
the duplicated name will not be checked π
fr fr, this function is NOT doing a vibe check on your naming. if you've got two things with the same name, that's on you, not on hnae_ae_register. no cap.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hnae.cβ go read the source bestie, it's literally right there π hnae_ae_unregister(9)β the reverse operation, for when you need to let it go π¦
okay that's the whole page, you ate that π ngl this one's short and sweet β which is kind of the dream, right? no forty-option wall of flags, just register your engine and go live your life πΈ
signed off with love: this page came from the source path ./drivers/net/ethernet/hisilic... and it's dated October 2026 π mark your calendars bestie, that's the version and date situation. mwah π
π¦ 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