Lines Matching refs:ibport
109 int ibport; in smc_pnet_remove_by_pnetid() local
144 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in smc_pnet_remove_by_pnetid()
145 if (ibdev->pnetid_by_user[ibport] && in smc_pnet_remove_by_pnetid()
148 ibdev->pnetid[ibport]))) { in smc_pnet_remove_by_pnetid()
153 ibport + 1, in smc_pnet_remove_by_pnetid()
154 ibdev->pnetid[ibport]); in smc_pnet_remove_by_pnetid()
155 memset(ibdev->pnetid[ibport], 0, in smc_pnet_remove_by_pnetid()
157 ibdev->pnetid_by_user[ibport] = false; in smc_pnet_remove_by_pnetid()
484 u8 ibport = 1; in smc_pnet_enter() local
517 ibport = nla_get_u8(tb[SMC_PNETID_IBPORT]); in smc_pnet_enter()
518 if (ibport < 1 || ibport > SMC_MAX_PORTS) in smc_pnet_enter()
521 rc = smc_pnet_add_ib(pnettable, string, ibport, pnet_name); in smc_pnet_enter()