NVME_INIT_GET_FEATURES_RATE_LIMITING-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

✨ nvme_init_get_features_rate_limiting ✨

okay so bestie, you're in the libnvme API manual now and this page is all about nvme_init_get_features_rate_limiting(9) β€” yes that's a whole mouthful, we're just gonna vibe with it πŸ’…


🌸 NAME 🌸

nvme_init_get_features_rate_limiting β€” sets up the passthru command for Get Features - Rate Limiting, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void nvme_init_get_features_rate_limiting (struct libnvme_passthru_cmd *cmd,
                                           enum nvme_get_features_sel sel,
                                           __u8 target,
                                           __u16 tid,
                                           struct nvme_rate_limiting_data *data);

literally that's the whole signature, don't come for me 🫢


πŸ’– ARGUMENTS πŸ’–

  • cmd β€” the passthru command you're gonna use, hand it over and let it cook πŸ”₯
  • sel β€” picks which type of attribute to return, peek at enum nvme_get_features_sel for the deets ✨
  • target β€” the target of the rate limits setting, check enum nvme_rate_limiting_target (iykyk) 🎯
  • tid β€” the Target Identifier for whichever target you specified, it's giving very specific energy ngl πŸ’«
  • data β€” the buffer that receives the Rate Limiting data buffer, see struct nvme_rate_limiting_data 🌸

πŸ‘‘ DESCRIPTION πŸ‘‘

So what this icon actually does: it initializes the passthru command buffer for the Get Features command, with the FID value set to NVME_FEAT_FID_RATE_LIMITING β€” and that's the whole flex πŸ’…βœ¨

bestie pls note: it only initializes the command buffer. everything else is on you 🫢

that's a wrap, mwah πŸ’‹ β€” this page came from the libnvme API manual, dated October 2026, and honestly? iconic. go forth and rate-limit responsibly πŸ§šβ€β™€οΈπŸŒˆ

πŸ“¦ where this page comes from