STRUCT DPSECI_CFG(9)
π struct dpseci_cfg(9) π
Okay bestie, welcome to the struct dpseci_cfg(9) page from the Kernel API Manual β yes, that's the manual name, it's giving kernel-docs royalty, we love her for it. This is the configuration struct for DPSECI, and she's honestly pretty lowkey but every field matters, so let's get into it π«Ά
β¨ NAME β¨
struct dpseci_cfg β the structure that represents the DPSECI configuration. That's it, that's the whole vibe. Main character energy, minimal words π
πΈ SYNOPSIS πΈ
struct dpseci_cfg {
u32 options;
u8 num_tx_queues;
u8 num_rx_queues;
u8 priorities[DPSECI_MAX_QUEUE_NUM];
};
Look at her. Iconic. Four members, zero notes. Copy this exactly, please β no "fixing" the spacing, no renaming anything, we are not doing that today π
π¦ Members π¦
optionsβ literally any combination of these flags:DPSECI_OPT_HAS_CG. That's the one listed, that's the one you get β¨num_tx_queuesβ the num of queues towards the SEC. Sending-side queue count, slay.num_rx_queuesβ the num of queues back from the SEC. Coming back the other way, we love a round trip πprioritiesβ priorities for the SEC hardware processing π₯. Each place in the array is the priority of the tx queue towards the SEC. Valid priorities are configured with values1-8β so1through8, no cap, that's the range, respect it.
ngl bestie, that array is sizedDPSECI_MAX_QUEUE_NUM, and each slot maps to a tx queue's priority β so the index is doing real work here. Priorities outside1-8are not the valid ones, mwah π
π SEE ALSO π
Go read the whole fam, they're all in the kernel file ./drivers/crypto/caam/dpseci.h and honestly they ate:
struct dpseci_attr(9)enum dpseci_dest(9)struct dpseci_dest_cfg(9)struct dpseci_rx_queue_cfg(9)struct dpseci_rx_queue_attr(9)struct dpseci_tx_queue_attr(9)struct dpseci_sec_attr(9)enum dpseci_congestion_unit(9)struct dpseci_congestion_notification_cfg(9)
aaaand that's the page bestie, you understood it, you slayed it, periodt πβ¨
Sign-off szn: this little cutie lives in ./drivers/crypto/caam, and the date on the tin is October 2026. Go forth and configure responsibly ππ§ββοΈ
π¦ 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