libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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, see enum 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: _SHIFT tells you how far to scoot, _MASK tells 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