Home
last modified time | relevance | path

Searched refs:SMC_MAX_PORTS (Results 1 – 3 of 3) sorted by relevance

/linux/net/smc/
H A Dsmc_ib.h22 #define SMC_MAX_PORTS 2 /* Max # of ports */ macro
38 struct ib_port_attr pattr[SMC_MAX_PORTS]; /* ib dev. port attrs */
44 char mac[SMC_MAX_PORTS][ETH_ALEN];
46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN];
48 bool pnetid_by_user[SMC_MAX_PORTS];
53 DECLARE_BITMAP(ports_going_away, SMC_MAX_PORTS);
57 atomic_t lnk_cnt_by_port[SMC_MAX_PORTS];
59 int ndev_ifidx[SMC_MAX_PORTS]; /* ndev if indexes */
H A Dsmc_pnet.c144 for (ibport = 0; ibport < SMC_MAX_PORTS; ibport++) { in smc_pnet_remove_by_pnetid()
518 if (ibport < 1 || ibport > SMC_MAX_PORTS) in smc_pnet_enter()
1011 for (i = 1; i <= SMC_MAX_PORTS; i++) { in _smc_pnet_find_roce_by_pnetid()
1054 for (i = 1; i <= SMC_MAX_PORTS; i++) { in smc_pnet_find_rdma_dev()
H A Dsmc_core.c2722 for (i = 0; i < SMC_MAX_PORTS; i++) in smc_core_going_away()