create_sg_component(9)
π 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 π₯
- Kernel file
./drivers/crypto/cavium/nitrox/nitrox_reqmgr.c dma_map_inbufs(9)post_se_instr(9)nitrox_process_se_request(9)process_response_list(9)
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
- 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