STRUCT ADF_RL(9)
π struct adf_rl(9) β Kernel API Manual, but make it cute β¨
ok so bestie, welcome to the struct adf_rl page β this is a Kernel API Manual entry and honestly it's giving "backstage pass to the rate limiting closet" π
πΈ NAME πΈ
struct adf_rl β the ratelimiting data structure. yeah. that's the whole vibe. it's the data structure, it does ratelimiting, we move π
β¨ SYNOPSIS β¨
ok here's the actual shape of it, and pls don't touch a single character because this is exactly how it's declared:
struct adf_rl {
struct adf_accel_dev *accel_dev;
struct adf_rl_hw_data *device_data;
struct rl_sla *sla[RL_NODES_CNT_MAX];
struct rl_sla *root[RL_ROOT_MAX];
struct rl_sla *cluster[RL_CLUSTER_MAX];
struct rl_sla *leaf[RL_LEAF_MAX];
bool rp_in_use[RL_RP_CNT_MAX];
struct mutex rl_lock;
struct adf_rl_interface_data user_input;
};
like, look at her. all those arrays. main character energy fr π«Ά
π¦ Members π¦
okay bestie, member by member, no cap, nothing left out:
accel_devβ pointer to acceleration device data. literally the pointer to the accel device's data, that's it πdevice_dataβ pointer to rate limiting data specific to a device type (or revision). so like, per-device-type / per-revision RL data lives here πslaβ array of pointers to SLA objects. all of them. the whole squad πrootβ array of pointers to root type SLAs, and the element number reflectsnode_idβclusterβ array of pointers to cluster type SLAs, element number reflectsnode_idπ§leafβ array of pointers to leaf type SLAs, element number reflectsnode_idπrp_in_useβ array of ring pair IDs already used in one of the SLAs π (so like, taken. spoken for. do not touch.)rl_lockβ mutex object which is protecting data in this structure π the bodyguard, the bouncer, the "not you" at the door π
tiny heads up: user_input also shows up in the struct up there, but this page doesn't describe it β so we're not gonna make anything up about it. we simply don't know her like that π
π SEE ALSO π
- Kernel file
./drivers/crypto/intel/qat/qat_common/adf_rl.h struct adf_rl_sla_input_data(9)struct rl_sla(9)
go read those next, iykyk π₯
and that's the page, bestie! π¦ this one came out of ./drivers/crypto/intel/qat/qat... and it's dated October 2026 β so like, mark your calendar, stan the struct, and remember: the lock protects the data, periodt π
β¨
π¦ 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