Searched refs:port_cnt (Results 1 – 1 of 1) sorted by relevance
745 u8 port_cnt; in smc_ib_ndev_change() local750 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_ndev_change()751 for (i = 0; i < min_t(size_t, port_cnt, SMC_MAX_PORTS); i++) { in smc_ib_ndev_change()772 u8 port_cnt; in smc_ib_add_dev() local796 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev()798 smcibdev->ibdev->name, port_cnt); in smc_ib_add_dev()800 i < min_t(size_t, port_cnt, SMC_MAX_PORTS); in smc_ib_add_dev()