nvme_init_get_features_rrl(9)

πŸ“¦ version 3.2, in arch rolling

✨ nvme_init_get_features_rrl ✨

okay so bestie, welcome to the libnvme API manual πŸ’… this one's a little one-pager about nvme_init_get_features_rrl and honestly? she's short, she's sweet, she slays. let's get into it 🫢


🌸 NAME 🌸

nvme_init_get_features_rrl β€” initialize the passthru command for Get Features - Read Recovery Level ✨

like, she sets up your command buffer so it's ready to go ask a device "hey bestie, what's your Read Recovery Level?" πŸŽ€


πŸ’œ SYNOPSIS πŸ’œ

void nvme_init_get_features_rrl (struct libnvme_passthru_cmd *cmd , enum
       nvme_get_features_sel sel );

no return value, she's a void girlie, she just does the thing and dips πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the passthru command you're gonna use 🫢 this is the buffer she's initializing, so hand her your command struct and she'll do her little magic on it.
  • sel β€” which type of attribute to return, fr fr. it's a enum nvme_get_features_sel, so go peek at that enum if you wanna know your options. iykyk ✨

🌈 DESCRIPTION 🌈

so what does she actually do? she initializes the passthru command buffer for the Get Features command, and she sets the FID value to NVME_FEAT_FID_RRL πŸ‘‘

that's it. that's the whole vibe. main character energy in like four lines of C πŸ˜­πŸ’–

ngl this is a "just call it and move on" situation β€” no gotchas hiding in here, she's literally just prepping your command buffer πŸ’…

πŸŽ€ the cute sign-off πŸŽ€

and that's the whole page bestie!! this lil cutie lives in the libnvme API manual, dated October 2026 β€” go forth and initialize those passthru commands, you absolute icon πŸŒŸπŸ“πŸ’œ

πŸ“¦ where this page comes from