Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/ofi_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ static inline void ofi_addr_set_port(struct sockaddr *addr, uint16_t port)
break;
case AF_IB:
sib = (struct ofi_sockaddr_ib *)addr;
sib->sib_sid = htonll(((uint64_t)OFI_RDMA_PS_IB << 16) + ntohs(port));
sib->sib_sid = htonll(((uint64_t)OFI_RDMA_PS_IB << 16) + port);
sib->sib_sid_mask = htonll(OFI_IB_IP_PS_MASK | OFI_IB_IP_PORT_MASK);
break;
default:
Expand Down