Home
last modified time | relevance | path

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

/net/smc/
Dsmc_ib.c52 qp_attr.port_num = lnk->ibport; in smc_ib_modify_qp_init()
71 rdma_ah_set_port_num(&qp_attr.ah_attr, lnk->ibport); in smc_ib_modify_qp_rtr()
146 static int smc_ib_fill_mac(struct smc_ib_device *smcibdev, u8 ibport) in smc_ib_fill_mac() argument
151 attr = rdma_get_gid_attr(smcibdev->ibdev, ibport, 0); in smc_ib_fill_mac()
155 rc = rdma_read_gid_l2_fields(attr, NULL, smcibdev->mac[ibport - 1]); in smc_ib_fill_mac()
166 u8 ibport) in smc_ib_define_local_systemid() argument
168 memcpy(&local_systemid[2], &smcibdev->mac[ibport - 1], in smc_ib_define_local_systemid()
169 sizeof(smcibdev->mac[ibport - 1])); in smc_ib_define_local_systemid()
173 bool smc_ib_port_active(struct smc_ib_device *smcibdev, u8 ibport) in smc_ib_port_active() argument
175 return smcibdev->pattr[ibport - 1].state == IB_PORT_ACTIVE; in smc_ib_port_active()
[all …]
Dsmc_pnet.c103 int ibport; in smc_pnet_remove_by_pnetid() local
130 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in smc_pnet_remove_by_pnetid()
131 if (ibdev->pnetid_by_user[ibport] && in smc_pnet_remove_by_pnetid()
134 ibdev->pnetid[ibport]))) { in smc_pnet_remove_by_pnetid()
135 memset(ibdev->pnetid[ibport], 0, in smc_pnet_remove_by_pnetid()
137 ibdev->pnetid_by_user[ibport] = false; in smc_pnet_remove_by_pnetid()
480 int ibport; in _smc_pnet_dump() local
512 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in _smc_pnet_dump()
513 if (ibdev->pnetid_by_user[ibport]) { in _smc_pnet_dump()
515 !smc_pnet_match(ibdev->pnetid[ibport], in _smc_pnet_dump()
[all …]
Dsmc_ib.h57 bool smc_ib_port_active(struct smc_ib_device *smcibdev, u8 ibport);
81 int smc_ib_determine_gid(struct smc_ib_device *smcibdev, u8 ibport,
Dsmc_core.h75 u8 ibport; /* port - values 1 | 2 */ member
289 void smc_port_terminate(struct smc_ib_device *smcibdev, u8 ibport);
Dsmc_core.c249 lnk->ibport = ini->ib_port; in smc_lgr_create()
257 rc = smc_ib_determine_gid(lnk->smcibdev, lnk->ibport, in smc_lgr_create()
501 void smc_port_terminate(struct smc_ib_device *smcibdev, u8 ibport) in smc_port_terminate() argument
509 lgr->lnk[SMC_SINGLE_LINK].ibport == ibport) in smc_port_terminate()
Dsmc_diag.c154 .lnk[0].ibport = smc->conn.lgr->lnk[0].ibport, in __smc_diag_dump()
Dsmc_llc.c205 memcpy(confllc->sender_mac, link->smcibdev->mac[link->ibport - 1], in smc_llc_send_confirm_link()
447 link->smcibdev->mac[link->ibport - 1], in smc_llc_rx_add_link()
452 link->smcibdev->mac[link->ibport - 1], in smc_llc_rx_add_link()
Dsmc_clc.c507 memcpy(&cclc.lcl.mac, &link->smcibdev->mac[link->ibport - 1], in smc_clc_send_confirm()
579 memcpy(&aclc.lcl.mac, link->smcibdev->mac[link->ibport - 1], in smc_clc_send_accept()
Daf_smc.c416 link->smcibdev->mac[link->ibport - 1], in smc_clnt_conf_first_link()
1051 link->smcibdev->mac[link->ibport - 1], in smc_serv_conf_first_link()