On 28/12/2021 14:44, Tony Lu wrote: > This implements TCP ULP for SMC, helps applications to replace TCP with > SMC protocol in place. And we use it to implement transparent > replacement. > > This replaces original TCP sockets with SMC, reuse TCP as clcsock when > calling setsockopt with TCP_ULP option, and without any overhead. This looks very interesting. Can you provide a simple userspace example about how to use ULP with smc? And how do you make sure that the in-band CLC handshake doesn't interfere with the previous TCP traffic, is the idea to put some kind of protocol around it so both sides 'know' when the protocol ended and the CLC handshake starts?