net/smc: assign link to a new connection
authorKarsten Graul <kgraul@linux.ibm.com>
Mon, 4 May 2020 12:18:43 +0000 (14:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 17:54:39 +0000 (10:54 -0700)
commit56bc3b2094b428d808dd1704fdb3086c66bcb310
treee014d8371def0970a60079fa12985982fda748da
parentf3811fd7bc97587b142fed9edf8c726694220cb2
net/smc: assign link to a new connection

For new connections, assign a link from the link group, using some
simple load balancing.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c