Home
last modified time | relevance | path

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

/net/smc/
Dsmc_ib.c240 u8 port_idx; in smc_ib_port_event_work() local
242 for_each_set_bit(port_idx, &smcibdev->port_event_mask, SMC_MAX_PORTS) { in smc_ib_port_event_work()
243 smc_ib_remember_port_attr(smcibdev, port_idx + 1); in smc_ib_port_event_work()
244 clear_bit(port_idx, &smcibdev->port_event_mask); in smc_ib_port_event_work()
245 if (!smc_ib_port_active(smcibdev, port_idx + 1)) in smc_ib_port_event_work()
246 smc_port_terminate(smcibdev, port_idx + 1); in smc_ib_port_event_work()
255 u8 port_idx; in smc_ib_global_event_handler() local
262 for (port_idx = 0; port_idx < SMC_MAX_PORTS; port_idx++) in smc_ib_global_event_handler()
263 set_bit(port_idx, &smcibdev->port_event_mask); in smc_ib_global_event_handler()
269 port_idx = ibevent->element.port_num - 1; in smc_ib_global_event_handler()
[all …]