STRUCT CTX_HDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ctx_hdr(9) ✨

okay bestie, so we're in the Kernel API Manual today and the star of the show is struct ctx_hdr β€” literally the bookkeeping data about the crypto context πŸŽ€ like it's the little admin gremlin holding the receipts so the actual crypto work can slay πŸ’…


πŸ’– NAME πŸ’–

struct ctx_hdr β€” book keeping data about the crypto context ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ctx_hdr {
    struct dma_pool *pool;
    dma_addr_t dma;
    dma_addr_t ctx_dma;
 };

no cap, that's the whole vibe right there πŸ‘‘


🌸 Members 🌸

  • pool β€” the pool used to allocate the crypto context, like the little closet where the context lives πŸŽ€
  • dma β€” base DMA address of the crypto context, the address-address iykyk ✨
  • ctx_dma β€” the actual usable crypto context for NITROX, the one that actually does the work πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/crypto/cavium/nitrox/nitrox_req.h plus the whole friend group πŸ’–:

  • struct gphdr(9)
  • union se_req_ctrl(9)
  • struct se_crypto_request(9)
  • struct crypto_keys(9)
  • struct auth_keys(9)
  • struct flexi_crypto_context(9)
  • struct nitrox_aead_rctx(9)
  • struct nitrox_rfc4106_rctx(9)
  • union pkt_instr_hdr(9)
  • union pkt_hdr(9)
  • union slc_store_info(9)
  • struct nps_pkt_instr(9)
  • struct aqmq_command_s(9)
  • struct nitrox_softreq(9)
  • create_single_sg(9)
  • create_multi_sg(9)

go read those too bestie, they're all part of the same nitrox saga πŸ§šβ€β™€οΈ

and that's the whole page!! mwah πŸ’‹ this one lives in ./drivers/crypto/cavium/nitrox and it was dated October 2026 β€” periodt, see u in the next manpage 🫢

πŸ“¦ where this page comes from