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