Home
last modified time | relevance | path

Searched refs:dst_ib (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c417 struct sockaddr_ib *dst_ib = (struct sockaddr_ib *)dst; in rtrs_str_gid_to_sockaddr() local
424 ret = in6_pton(addr, len, dst_ib->sib_addr.sib_raw, '\0', NULL); in rtrs_str_gid_to_sockaddr()
428 dst_ib->sib_family = AF_IB; in rtrs_str_gid_to_sockaddr()
433 dst_ib->sib_sid = cpu_to_be64(RDMA_IB_IP_PS_IB | port); in rtrs_str_gid_to_sockaddr()
434 dst_ib->sib_sid_mask = cpu_to_be64(0xffffffffffffffffULL); in rtrs_str_gid_to_sockaddr()
435 dst_ib->sib_pkey = cpu_to_be16(0xffff); in rtrs_str_gid_to_sockaddr()