[PATCH 3/3] ntb_hw_switchtec: Fix setup MW with failure bug

2019-06-06 Thread Kelvin Cao
From: Joey Zhang Switchtec does not support setting multiple MWs simultaneously. The driver takes a hardware lock to ensure that two peers are not doing this simultaneously and it fails if someone else takes the lock. In most cases, this is fine as clients only setup the MWs once on one side of

[PATCH 3/3] ntb_hw_switchtec: Fix setup MW with failure bug

2019-04-22 Thread Wesley Sheng
From: Joey Zhang Switchtec does not support setting multiple MWs simultaneously. The driver takes a hardware lock to ensure that two peers are not doing this simultaneously and it fails if someone else takes the lock. In most cases, this is fine as clients only setup the MWs once on one side of

[PATCH 3/3] ntb_hw_switchtec: Fix setup MW with failure bug

2019-04-08 Thread Wesley Sheng
From: Joey Zhang Switchtec does not support setting multiple MWs simultaneously. The driver takes a hardware lock to ensure that two peers are not doing this simultaneously and it fails if someone else takes the lock. In most cases, this is fine as clients only setup the MWs once on one side of