Lines Matching refs:ibport
108 int ibport; in smc_pnet_remove_by_pnetid() local
142 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in smc_pnet_remove_by_pnetid()
143 if (ibdev->pnetid_by_user[ibport] && in smc_pnet_remove_by_pnetid()
146 ibdev->pnetid[ibport]))) { in smc_pnet_remove_by_pnetid()
151 ibport + 1, in smc_pnet_remove_by_pnetid()
152 ibdev->pnetid[ibport]); in smc_pnet_remove_by_pnetid()
153 memset(ibdev->pnetid[ibport], 0, in smc_pnet_remove_by_pnetid()
155 ibdev->pnetid_by_user[ibport] = false; in smc_pnet_remove_by_pnetid()
476 u8 ibport = 1; in smc_pnet_enter() local
509 ibport = nla_get_u8(tb[SMC_PNETID_IBPORT]); in smc_pnet_enter()
510 if (ibport < 1 || ibport > SMC_MAX_PORTS) in smc_pnet_enter()
513 rc = smc_pnet_add_ib(pnettable, string, ibport, pnet_name); in smc_pnet_enter()