]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf797f655255b0f1f3673770dfa062af3b54fce13
tree13d4cdf035ef2e6c4c2d7eaa03a0220908d416dc
parent254be05f969fafe3c3ce7f738b123d69b9e1f8d8
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