Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/infiniband/hw/irdma/
Dcm.c75 struct irdma_cm_info *cm_info) in irdma_get_addr_info() argument
77 memset(cm_info, 0, sizeof(*cm_info)); in irdma_get_addr_info()
78 cm_info->ipv4 = cm_node->ipv4; in irdma_get_addr_info()
79 cm_info->vlan_id = cm_node->vlan_id; in irdma_get_addr_info()
80 memcpy(cm_info->loc_addr, cm_node->loc_addr, sizeof(cm_info->loc_addr)); in irdma_get_addr_info()
81 memcpy(cm_info->rem_addr, cm_node->rem_addr, sizeof(cm_info->rem_addr)); in irdma_get_addr_info()
82 cm_info->loc_port = cm_node->loc_port; in irdma_get_addr_info()
83 cm_info->rem_port = cm_node->rem_port; in irdma_get_addr_info()
244 memcpy(event->cm_info.rem_addr, cm_node->rem_addr, in irdma_create_event()
245 sizeof(event->cm_info.rem_addr)); in irdma_create_event()
[all …]
Dtrace_cm.h21 TP_PROTO(struct irdma_device *iwdev, struct irdma_cm_info *cm_info),
22 TP_ARGS(iwdev, cm_info),
29 __entry->lport = cm_info->loc_port;
30 __entry->ipv4 = cm_info->ipv4;
32 cm_info->loc_addr, 4);
Dcm.h345 struct irdma_cm_info cm_info; member
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c682 tcp->vlan_id = cpu_to_le16(ep->cm_info.vlan); in qed_iwarp_tcp_offload()
693 tcp->ip_version = ep->cm_info.ip_version; in qed_iwarp_tcp_offload()
696 tcp->remote_ip[i] = cpu_to_le32(ep->cm_info.remote_ip[i]); in qed_iwarp_tcp_offload()
697 tcp->local_ip[i] = cpu_to_le32(ep->cm_info.local_ip[i]); in qed_iwarp_tcp_offload()
700 tcp->remote_port = cpu_to_le16(ep->cm_info.remote_port); in qed_iwarp_tcp_offload()
701 tcp->local_port = cpu_to_le16(ep->cm_info.local_port); in qed_iwarp_tcp_offload()
764 ep->cm_info.ord = (u8)min_t(u16, in qed_iwarp_mpa_received()
768 ep->cm_info.ird = (u8)min_t(u16, in qed_iwarp_mpa_received()
793 ep->cm_info.ord = QED_IWARP_ORD_DEFAULT; in qed_iwarp_mpa_received()
794 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-v6.6/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