libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME πŸ’–

Hey bestie, welcome to the libnvme(9) API Manual πŸ’…. This page is all about struct nvme_mi_read_port_info β€” the Port Information Data Structure. That’s the whole vibe: port info, struct edition. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

Here’s the struct in all its main-character glory:

       struct nvme_mi_read_port_info {
           __u8 portt;
           __u8 prtcap;
           __le16 mmctptus;
           __le32 meb;
           union {
             struct nvme_mi_port_pcie pcie;
             struct nvme_mi_port_smb smb;
           };
        };

πŸŽ€ Members πŸŽ€

  • portt β€” Port Type. Literally telling you the type of the port, no cap.
  • prtcap β€” Port Capabilities, so peek at enum nvme_mi_port_prtcap for the details. iykyk πŸ‘€
  • mmctptus β€” Maximum MCTP Transmission Unit Size. Big name, big responsibility.
  • meb β€” Management Endpoint Buffer Size. It’s giving buffer size, management endpoint style.
  • {unnamed_union} β€” anonymous. Yes bestie, this union is unnamed β€” mysterious, lowkey iconic, and just there.
  • pcie β€” PCIe Port Specific Data. All the PCIe-specific data lives right here.
  • smb β€” SMBus Port Specific Data. And the SMBus-specific data is right here too.

Bye bestie 🫢 β€” sign-off from October 2026, struct nvme_mi_read_port_info, libnvme(9) API Manual. Periodt. πŸ’‹

πŸ“¦ where this page comes from