No, it doesn't. 

I've also thought about this strategy, and implemented it in my setup. 
For the soft-reboot, it works well, I can receive the link up event when it complete rebooting.
But for power-on reset ( in this case, the switchtec is also power-reset ), I don't receiver any message of linking-up. So the good peer cannot reset link status as mention above. But if I reload the drivers on the good peer, they work perfectly.

Thanks !

On Nov 28, 2017 1:38 AM, "Jon Mason" <jdmason@kudzu.us> wrote:
On Mon, Nov 27, 2017 at 12:09 PM, Logan Gunthorpe <logang@deltatee.com> wrote:
>
>
> On 27/11/17 10:00 AM, Jon Mason wrote:
>>
>> We can have a SW watchdog timer to poll it (aka heartbeat) to detect
>> this, but that's going to eat cycles and could allow for a windows
>> where the link is down and the sender is writing into oblivion.
>> Thoughts?
>
>
> I think the easiest way is if we get a link up event, and we already think
> the link is up, then we just put the link down before sending a second link
> up event. I can probably look at doing something like that shortly. However,
> unfortunately, my setup isn't suited to test this as I'm actually looping
> back both partitions to a single host :(. I'll submit a patch that others
> can test though.

Sounds great.  ThanhTuThai, can you test this?

>
> Logan
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-ntb" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linux-ntb+unsubscribe@googlegroups.com.
> To post to this group, send email to linux-ntb@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linux-ntb/e4c00ca2-3d74-5d88-1824-c517250d164f%40deltatee.com.
> For more options, visit https://groups.google.com/d/optout.