Searched refs:SMC_MAX_PORTS (Results 1 – 3 of 3) sorted by relevance
20 #define SMC_MAX_PORTS 2 /* Max # of ports */ macro35 struct ib_port_attr pattr[SMC_MAX_PORTS]; /* ib dev. port attrs */41 char mac[SMC_MAX_PORTS][ETH_ALEN];43 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN];45 bool pnetid_by_user[SMC_MAX_PORTS];
242 for_each_set_bit(port_idx, &smcibdev->port_event_mask, SMC_MAX_PORTS) { in smc_ib_port_event_work()262 for (port_idx = 0; port_idx < SMC_MAX_PORTS; port_idx++) in smc_ib_global_event_handler()270 if (port_idx < SMC_MAX_PORTS) { in smc_ib_global_event_handler()308 if (port_idx < SMC_MAX_PORTS) { in smc_ib_qp_event_handler()547 i < min_t(size_t, port_cnt, SMC_MAX_PORTS); in smc_ib_add_dev()
130 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in smc_pnet_remove_by_pnetid()371 pnetelem->ib_port > SMC_MAX_PORTS) in smc_pnet_fill_entry()511 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in _smc_pnet_dump()771 for (i = 1; i <= SMC_MAX_PORTS; i++) { in smc_pnet_find_rdma_dev()816 for (i = 1; i <= SMC_MAX_PORTS; i++) { in smc_pnet_find_roce_by_pnetid()