Re: [PATCH net-next v2] net/smc: Reduce overflow of smc clcsock listen queue

Karsten Graul
2022-01-05T13:17:51Z

On 05/01/2022 09:57, dust.li wrote:
> On Wed, Jan 05, 2022 at 12:40:49PM +0800, D. Wythe wrote:
> I'm thinking maybe we can actively fall back to TCP in this case ? Not
> sure if this is a good idea.

I think its a good decision to switch new connections to use the TCP fallback when the
current queue of connections waiting for a SMC handshake is too large.
With this the application is able to accept all incoming connections and they are not
dropped. The only thing that is be different compared to TCP is that the order of the
accepted connections is changed, connections that came in later might reach the user space
application earlier than connections that still run the SMC hand shake processing.
But I think that is semantically okay.