HixlClientDesc

Client description.

struct HixlClientDesc {
  const EndpointDesc *local_endpoint;
  const EndpointDesc *remote_endpoint;
  const char *server_ip;
  uint32_t server_port;
  uint8_t tc;
  uint8_t sl;
  uint8_t reserved[98] = {};
};

The following table describes the involved fields.

Field

Type

Description

server_ip

const char*

Host IP address of the target server.

server_port

uint32_t

Host port of the target server.

local_endpoint

const EndpointDesc*

Local endpoint description. For details, see https://gitcode.com/cann/hcomm/blob/master/include/hcomm_res_defs.h.

remote_endpoint

const EndpointDesc*

Remote endpoint description. For details, see https://gitcode.com/cann/hcomm/blob/master/include/hcomm_res_defs.h.

tc

uint8_t

Traffic class of the RDMA NIC.

sl

uint8_t

Service level of the RDMA NIC.

reserved

uint8_t[98]

Reserved field for the HixlClientDesc configuration, which is used for future extension. The total size of the structure is 128 bytes.