Re: [RFC rdma-core] srp_daemon: handle SM lid change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Le 08/12/2017 à 14:33, Hal Rosenstock a écrit :
> On 12/8/2017 4:36 AM, Nicolas Morey-Chaisemartin wrote:
>>  
>>  int create_ah(struct ud_resources *ud_res)
>> @@ -641,7 +649,7 @@ static int register_to_trap(struct sync_resources *sync_res,
>>  			pthread_mutex_unlock(res->mad_buffer_mutex);
>>  		} while (rc == 2); // while old response.
>>  
>> -	} while (rc == 0 && ++counter < 3);
>> +	} while (rc == 0 && ++counter < 5);
>>  
>>  	if (counter==3) {
> This should be changed from 3 to 5 also. Change both to some define ?
I thought I changed that back to 3 during my tests.
No I have a big doubt that the issue is fully resolved, or just hidden because on timeout, the pr_err is never reached.
I'll retest that in Monday.

Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux