Thanks, I applied a version of this that checks the vendor field is != 0xffff instead of checking it against the mellanox value, because someone may build HCAs with a different vendor value. Also is it worth taking the semaphore in the mthca reset function? - R.