STRUCT RL_SLA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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