libnvme(9)
π libnvme β enum nvme_rate_limiting_rlc
okay so bestie, welcome to the libnvme(9) API manual β¨ this little page is all about one enum and honestly? she's small but she's mighty. it's the Rate Limiting Data Buffer β Rate Limits Control, aka RLC π (yes the acronym is doing a lot, we love her anyway)
β¨ NAME β¨
enum nvme_rate_limiting_rlc β Rate Limiting Data Buffer - Rate Limits Control (RLC)
like, the whole vibe is: this is the enum that gives you the shift amounts and masks to poke at rate limiting fields. no cap π
πΈ SYNOPSIS πΈ
enum nvme_rate_limiting_rlc {
NVME_RATE_LIMITING_RLC_RLM_SHIFT ,
NVME_RATE_LIMITING_RLC_RLM_MASK ,
NVME_RATE_LIMITING_RLC_RLE_SHIFT ,
NVME_RATE_LIMITING_RLC_RLE_MASK
};
that's it. that's the whole enum. four members, zero drama π¦
π Constants π
okay these are the actual constants, bestie, and each one is a little helper for getting or setting a specific field. let's go one by one, main character energy only π₯
NVME_RATE_LIMITING_RLC_RLM_SHIFTβ the shift amount you use to get/set the Rate Limiting Mode (RLM). and like, if you wanna know what the actual modes are, seeenum nvme_rate_limiting_modeβ that's where the RLM lore lives, iykyk πβ¨NVME_RATE_LIMITING_RLC_RLM_MASKβ the mask for getting/setting RLM. same field as above, this is just the mask half of the duo π«ΆNVME_RATE_LIMITING_RLC_RLE_SHIFTβ the shift amount you use to get/set the Rate Limiting Enable (RLE). yes queen, enable/disable energy βNVME_RATE_LIMITING_RLC_RLE_MASKβ the mask for getting/setting RLE. mask bestie to the shift bestie, they come as a set π
ngl the pattern here is iconic in its simplicity:_SHIFTtells you how far to scoot,_MASKtells you what to keep. RLM and RLE each get one of each. that's the whole story π
and that's the page!! four constants, two fields, one very cute enum. go forth and rate-limit responsibly bestie π
mwah π this was October 2026 β enum nvme_rate_limiting_rlc β libnvme(9) β see you in the next manpage, ily, bye πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms