libnvme(2)
πΈ libnvme β enum nvmf_rdma_prtype π
okay bestie, gather round, because today we're decoding the RDMA Provider Type codes that live inside the TSAS RDMA_PRTYPE field of a Discovery Log Page entry. yes this is real, yes it's in the libnvme API manual, and yes it's giving "small enum, big responsibilities" β¨
β¨ NAME β¨
enum nvmf_rdma_prtype β the RDMA Provider Type codes for the Discovery Log Page entry TSAS RDMA_PRTYPE field π¦
like. that's the whole assignment. it tells you which flavour of RDMA somebody is out here using. no cap. π
π SYNOPSIS π
enum nvmf_rdma_prtype {
NVMF_RDMA_PRTYPE_NOT_SPECIFIED ,
NVMF_RDMA_PRTYPE_IB ,
NVMF_RDMA_PRTYPE_ROCE ,
NVMF_RDMA_PRTYPE_ROCEV2 ,
NVMF_RDMA_PRTYPE_IWARP
};
look at her. five constants, zero drama, all iconic π
π Constants π
bestie here's the lineup, and every single one of them matters, so no skipping π«Ά
NVMF_RDMA_PRTYPE_NOT_SPECIFIEDβ literally nobody specified a provider π it's the "we forgot to pick" option.NVMF_RDMA_PRTYPE_IBβ InfiniBand. the classic. the main character. π₯NVMF_RDMA_PRTYPE_ROCEβ InfiniBand RoCE. same energy, new transport π«NVMF_RDMA_PRTYPE_ROCEV2β InfiniBand RoCEV2. the sequel that actually ate πNVMF_RDMA_PRTYPE_IWARPβ iWARP. yes she's here too, and she's valid πΈ
fr fr, that's the entire enum. five provider types and a whole lot of fabric energy. go forth and populate your TSAS RDMA_PRTYPE field with confidence π
and that's the vibe check, bestie β this was the libnvme API manual, section 2, page enum nvmf_rdma_prtype, dated July 2026. slay, periodt, see you in the next log page πβ¨π¦
π¦ 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