net/smc: convert static link ID instances to support multiple links
As a preparation for the support of multiple links remove the usage of a static link id (SMC_SINGLE_LINK) and allow dynamic link ids. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Reviewed-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -662,6 +662,8 @@ void smc_llc_link_deleting(struct smc_link *link)
|
||||
/* called in tasklet context */
|
||||
void smc_llc_link_inactive(struct smc_link *link)
|
||||
{
|
||||
if (link->state == SMC_LNK_INACTIVE)
|
||||
return;
|
||||
link->state = SMC_LNK_INACTIVE;
|
||||
cancel_delayed_work(&link->llc_testlink_wrk);
|
||||
smc_wr_wakeup_reg_wait(link);
|
||||
|
在新工单中引用
屏蔽一个用户