HcclChannelDesc
Function
Defines the communication channel parameters.
Prototype
typedef struct {
CommAbiHeader header;
uint32_t remoteRank; /* Remote rank ID */
CommProtocol channelProtocol; /* Communication protocol */
EndpointDesc localEndpoint; /* Description of the local network device, supported only by the Atlas 350 Accelerator Card. */
EndpointDesc remoteEndpoint; /* Description of the remote network device, supported only by the Atlas 350 Accelerator Card. */
uint32_t notifyNum; /* Number of synchronization signals on the channel. The value ranges from 0 to 64. The default value is 0. */
void *memHandles; /* Handles of the memory to be exchanged, registered with the communicator. Supported only by the AIV engine of the Atlas 350 Accelerator Card. */
uint32_t memHandleNum; /* Number of handles of the memory to be exchanged, registered with the communicator. Supported only by the AIV engine of the Atlas 350 Accelerator Card. */
union {
uint8_t raws[128]; /* General buffer */
struct {
uint32_t queueNum; /* Number of QPs. Currently, only one QP is supported. */
uint32_t retryCnt; /* Maximum number of retransmissions. The value ranges from 0 to 7. The default value is 7. */
uint32_t retryInterval; /* Retransmission interval. The value ranges from 5 to 24. The default value is 20 (corresponding to 4.096 × 2^20 μs). */
uint8_t tc; /* Traffic category (QoS). The value ranges from 0 to 255. The default value is 132. */
uint8_t sl; /* Service level (QoS). The value ranges from 0 to 7. The default value is 4. */
} roceAttr;
};
} HcclChannelDesc;
Parent topic: Definitions of Data Types