OSDN Git Service

net/smc: move link group list to smc_core
authorHans Wippel <hwippel@linux.ibm.com>
Fri, 18 May 2018 07:34:11 +0000 (09:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 17:15:01 +0000 (13:15 -0400)
commit9fda3510ab6002a9c77cc21de0d6d8c48cf1abba
tree13d4cdf035ef2e6c4c2d7eaa03a0220908d416dc
parent69cb7dc0218b2c54416722eddf181e720f24c305
net/smc: move link group list to smc_core

This patch moves the global link group list to smc_core where the link
group functions are. To make this work, it moves code in af_smc and
smc_ib that operates on the link group list to smc_core as well.

While at it, the link group counter is integrated into the list
structure and initialized to zero.

Signed-off-by: Hans Wippel <hwippel@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_ib.c