create_sg_component(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

✨ NAME ✨

Okay so create_sg_component is the function that creates SG componets for the N5 device. That's the vibe. πŸ’–

🌸 SYNOPSIS 🌸

int create_sg_component (struct nitrox_softreq *sr , struct
       nitrox_sgtable *sgtbl , int map_nents );

πŸŽ€ ARGUMENTS πŸŽ€

  • sr β€” Request structure. Like the request's main character. πŸ’…
  • sgtbl β€” SG table. The table doing SG things. πŸ¦‹
  • map_nents β€” number of dma mapped entries. Literally the count, bestie. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Component structure. Not me staring at the ASCII art, but here it is exactly as the manual hands it to us:

       Component structure

       63     48 47     32 31    16 15      0
       -------------------------------------- |   LEN0  |  LEN1  |  LEN2  |
       LEN3  | |------------------------------------- |               PTR0
       | -------------------------------------- |               PTR1
       | -------------------------------------- |               PTR2
       | -------------------------------------- |               PTR3
       | --------------------------------------

Returns 0 if success or a negative errno code on error. No cap. 🫢

πŸ”₯ SEE ALSO πŸ”₯


Source/version: ./drivers/crypto/cavium/nitrox β€’ Date: October 2026 β€’ page: create_sg_component(9) β€” that's the cute sign-off, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from