开发者
资源

HixlClientDesc

Client的描述信息。

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] = {};
};

字段说明如下。

字段

类型

描述

server_ip

const char*

目标Server Host IP。

server_port

uint32_t

目标Server Host端口。

local_endpoint

const EndpointDesc*

本端Endpoint描述(定义请参考https://gitcode.com/cann/hcomm/blob/master/include/hcomm_res_defs.h )。

remote_endpoint

const EndpointDesc*

远端Endpoint描述(定义请参考https://gitcode.com/cann/hcomm/blob/master/include/hcomm_res_defs.h)。

tc

uint8_t

RDMA网卡的traffic class。

sl

uint8_t

RDMA网卡的service level。

reserved

uint8_t[98]

HixlClientDesc配置保留字段,用于未来扩展,结构体总大小保持为128字节。