Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c43 qedr_fill_sockaddr4(const struct qed_iwarp_cm_info *cm_info, in qedr_fill_sockaddr4() argument
52 laddr->sin_port = htons(cm_info->local_port); in qedr_fill_sockaddr4()
53 raddr->sin_port = htons(cm_info->remote_port); in qedr_fill_sockaddr4()
55 laddr->sin_addr.s_addr = htonl(cm_info->local_ip[0]); in qedr_fill_sockaddr4()
56 raddr->sin_addr.s_addr = htonl(cm_info->remote_ip[0]); in qedr_fill_sockaddr4()
60 qedr_fill_sockaddr6(const struct qed_iwarp_cm_info *cm_info, in qedr_fill_sockaddr6() argument
71 laddr6->sin6_port = htons(cm_info->local_port); in qedr_fill_sockaddr6()
72 raddr6->sin6_port = htons(cm_info->remote_port); in qedr_fill_sockaddr6()
76 htonl(cm_info->local_ip[i]); in qedr_fill_sockaddr6()
78 htonl(cm_info->remote_ip[i]); in qedr_fill_sockaddr6()
[all …]
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_cm.c215 struct i40iw_cm_info *cm_info) in i40iw_get_addr_info() argument
217 cm_info->ipv4 = cm_node->ipv4; in i40iw_get_addr_info()
218 cm_info->vlan_id = cm_node->vlan_id; in i40iw_get_addr_info()
219 memcpy(cm_info->loc_addr, cm_node->loc_addr, sizeof(cm_info->loc_addr)); in i40iw_get_addr_info()
220 memcpy(cm_info->rem_addr, cm_node->rem_addr, sizeof(cm_info->rem_addr)); in i40iw_get_addr_info()
221 cm_info->loc_port = cm_node->loc_port; in i40iw_get_addr_info()
222 cm_info->rem_port = cm_node->rem_port; in i40iw_get_addr_info()
223 cm_info->user_pri = cm_node->user_pri; in i40iw_get_addr_info()
314 memcpy(event->cm_info.rem_addr, cm_node->rem_addr, sizeof(event->cm_info.rem_addr)); in i40iw_create_event()
315 memcpy(event->cm_info.loc_addr, cm_node->loc_addr, sizeof(event->cm_info.loc_addr)); in i40iw_create_event()
[all …]
Di40iw_cm.h396 struct i40iw_cm_info cm_info; member
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c680 tcp->vlan_id = cpu_to_le16(ep->cm_info.vlan); in qed_iwarp_tcp_offload()
691 tcp->ip_version = ep->cm_info.ip_version; in qed_iwarp_tcp_offload()
694 tcp->remote_ip[i] = cpu_to_le32(ep->cm_info.remote_ip[i]); in qed_iwarp_tcp_offload()
695 tcp->local_ip[i] = cpu_to_le32(ep->cm_info.local_ip[i]); in qed_iwarp_tcp_offload()
698 tcp->remote_port = cpu_to_le16(ep->cm_info.remote_port); in qed_iwarp_tcp_offload()
699 tcp->local_port = cpu_to_le16(ep->cm_info.local_port); in qed_iwarp_tcp_offload()
762 ep->cm_info.ord = (u8)min_t(u16, in qed_iwarp_mpa_received()
766 ep->cm_info.ird = (u8)min_t(u16, in qed_iwarp_mpa_received()
791 ep->cm_info.ord = QED_IWARP_ORD_DEFAULT; in qed_iwarp_mpa_received()
792 ep->cm_info.ird = QED_IWARP_IRD_DEFAULT; in qed_iwarp_mpa_received()
[all …]
Dqed_iwarp.h119 struct qed_iwarp_cm_info cm_info; member
/Linux-v5.10/include/linux/qed/
Dqed_rdma_if.h494 const struct qed_iwarp_cm_info *cm_info; member
506 struct qed_iwarp_cm_info cm_info; member