STRUCT RL_SLA(9)
π struct rl_sla(9) β like, the SLA object data structure bestie
okay so this is a page from the Kernel API Manual, and it's literally about struct rl_sla β the SLA object data structure. that's it, that's the vibe. it lives deep in the kernel and it's lowkey iconic π
β¨ NAME β¨
struct rl_sla β the SLA object data structure, no cap π
πΈ SYNOPSIS πΈ
struct rl_sla {
struct rl_sla *parent;
enum rl_node_type type;
enum adf_base_services srv;
u32 sla_id;
u32 node_id;
u32 cir;
u32 pir;
u32 rem_cir;
u16 ring_pairs_ids[RL_RP_CNT_PER_LEAF_MAX];
u16 ring_pairs_cnt;
};
like, there it is. the whole struct. eat it up π₯
π Members π
so bestie, every single field has a job and here's the tea on each one:
parentβ pointer to the parent SLA (root/cluster). your fave's fave, iykyk β¨typeβ the SLA type. which flavor of SLA are we dealing with π¦srvβ the service associated with this SLA. it's giving "who do you belong to" πsla_idβ ID of the SLA. this one's doing double duty fr fr: it's used as the element number in the SLA array and as an identifier shared with the user πnode_idβ ID of the node. heads up: each of the SLA types has a separate ID list βcirβ committed information rate πΈpirβ peak information rate, and yes,PIR >= CIR. it's a whole rule, respect it πrem_cirβ okay so if this SLA is a parent, then this field represents a remaining value to be used by child SLAs. handing down the leftovers like a good parent π«Άring_pairs_idsβ array with the numeric ring pairs IDs assigned to this SLA. it's an array, it's full of IDs, it's doing the most β¨ring_pairs_cntβ the number of assigned ring pairs listed in the array above. yes, the count for the array two lines up. keeping it accountable π
π SEE ALSO π
- the kernel file
./drivers/crypto/intel/qat/qat_common/adf_rl.h struct adf_rl_sla_input_data(9)struct adf_rl(9)
ngl, go read those too. the lore is deep and it's worth it π§π
π mwah, that's the whole page. this gem comes to you from ./drivers/crypto/intel/qat/qat... and it's dated October 2026, so mark your calendar bestie β struct rl_sla(9), official, slayed, 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