libnvme(2)
π libnvme(2) β the API manual, bestie edition π
okay so welcome to the libnvme manual page, section 2 (that's the API one, iykyk). today's main character is a lil enum that tells you which way the data is going. that's literally it. that's the whole vibe. and yet. it's iconic. π¦
β¨ NAME β¨
enum nvme_data_tfr β the enum that says which direction data is flowing in a command, bestie. no cap.
πΈ SYNOPSIS πΈ
enum nvme_data_tfr {
NVME_DATA_TFR_NO_DATA_TFR ,
NVME_DATA_TFR_HOST_TO_CTRL ,
NVME_DATA_TFR_CTRL_TO_HOST ,
NVME_DATA_TFR_BIDIRECTIONAL
};
like. look at her. four constants. perfect. no notes. π
π Constants π
okay so here's the whole squad, one by one:
NVME_DATA_TFR_NO_DATA_TFRβ no data transfer. like, none. zero. the command is just vibing, not moving any bytes anywhere. π«ΆNVME_DATA_TFR_HOST_TO_CTRLβ host to controller. data goes from the host over to the controller. she's leaving home. β¨NVME_DATA_TFR_CTRL_TO_HOSTβ controller to host</c> β ugh wait, sorry, let me redo that: controller to host. data comes back from the controller to the host. she's coming home. πNVME_DATA_TFR_BIDIRECTIONALβ bidirectional. going both ways. main character energy fr fr, she does it all. π₯
reminder bestie:no data transfer,host to controller,controller to host, andbidirectionalare the exact meanings of these constants. i am not embellishing. i am simply relaying the facts with β¨flairβ¨.
and that's the page!! π thanks for reading, love u, mwah π
okay so the boring-but-required bit: this was the enum nvme_data_tfr page out of libnvme(2), dated July 2026, and it's part of the big libnvme API manual. periodt. π
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms