STRUCT SEC_HW_SGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct sec_hw_sge(9) ✨

okay bestie, welcome to the Kernel API Manual entry for struct sec_hw_sge β€” it's a kernel struct, it's from sec_drv.h, and it's literally just here to track each of the 64 element SEC HW SGL entries. sixty-four of them. iconic. πŸ’…


πŸŽ€ NAME πŸŽ€

struct sec_hw_sge β€” Track each of the 64 element SEC HW SGL entries.

like. that's the whole job. she tracks. she's the entry tracker. πŸ¦‹


🌸 SYNOPSIS 🌸

struct sec_hw_sge {
    dma_addr_t buf;
    unsigned int len;
    unsigned int pad;
 };

look at her. three members. no drama. no cap. πŸ”₯


πŸ’– Members πŸ’–

  • buf β€” the IOV dma address for this entry. that's the address, bestie, hold it gently 🫢
  • len β€” length of this IOV. how much IOV. the size. the amount. ✨
  • pad β€” reserved space. it's giving "don't touch, it's reserved" energy, so… don't touch it πŸ™ˆ

🌈 SEE ALSO 🌈

kernel file ./drivers/crypto/hisilicon/sec/sec_drv.h β€” plus these absolute main characters, go say hi to them:

  • struct sec_queue_ring_cmd(9)
  • struct sec_alg_tfm_ctx(9)
  • struct sec_request(9)
  • struct sec_request_el(9)
  • struct sec_queue(9)
  • struct sec_hw_sgl(9)
  • struct sec_dev_info(9)

the whole friend group fr fr πŸ‘‘


lowkey a reminder that pad is reserved space β€” that's stated in the original and I'm not inventing anything, so just leave it alone, okay? πŸ’€

and that's the page! πŸ“ big kiss to ./drivers/crypto/hisilicon/sec for hosting her, and happy October 2026 to this struct sec_hw_sge(9) girlie β€” she ate and left no crumbs πŸ§šπŸ’œ

πŸ“¦ where this page comes from