OmniPath physical state bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dennis,

I'm almost finished to work on the third wave of my RDMAtool patches -
expose through UAPI various device capability bits, physical states, e.t.c.

While writing rdma_link_phys_state bits, I saw that OmniPath using 8-15
bits and I would like to add ability for RDMAtool to handle it properly.

The last piece before I can send the patches is the lack of
documentation for those bits. Can you please provide short description
for them so I'll be able to add it to the exported header file?
It will serve as a documentation for the RDAMtool users.

Right now, it looks like this:

156 /*
157  * When writing this field, only values 0, 1, 2, and 3
158  * are valid. Other values are ignored. See InfiniBand Architecture
159  * Specification Volume 2, Link/Phy Interface chapter.
160  */
161 enum rdma_link_phys_state {
162         /*
163          * 0 - 7 are according to the IB specification
164          * 8 - 15 -  Reserved and ignored in IB, but partially
165          *           in use by OmniPath
166          */
167         RDMA_LINK_PHYS_STATE_NOP,
168         RDMA_LINK_PHYS_STATE_SLEEP,
169         RDMA_LINK_PHYS_STATE_POLLING,
170         RDMA_LINK_PHYS_STATE_DISABLED,
171         RDMA_LINK_PHYS_STATE_PORT_CONFIGURATION_TRAINING,
172         RDMA_LINK_PHYS_STATE_LINK_UP,
173         RDMA_LINK_PHYS_STATE_LINK_ERROR_RECOVER,
174         RDMA_LINK_PHYS_STATE_LINK_PHY_TEST,
175         /* 8 is reserved */
176         RDMA_LINK_PHYS_STATE_OFFLINE = 9,
177         RDMA_LINK_PHYS_STATE_GANGED,
178         RDMA_LINK_PHYS_STATE_TEST,
179         RDMA_LINK_PHYS_STATE_MAX,
180         /* values 12-15 are reserved/ignored */
181 };

Thanks

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux