diff options
author | Karsten Graul <[email protected]> | 2020-04-29 17:10:38 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-29 12:26:32 -0700 |
commit | f3c1deddb21c19fb0eec3c61e80567ef4a79b58b (patch) | |
tree | 18455e9e33f02232611fae878bb0e273a1202dc2 /lib/test_overflow.c | |
parent | fdff704dc60418e9a1bac78ae09c857d05c65aa3 (diff) |
net/smc: separate function for link initialization
Move the initialization of a new link into its own function, separate
from smc_lgr_create, to allow more than one link per link group.
Do an extra check if the IB device initialization was successful, and
reset the link state if any error occurs during smcr_link_init().
And rename two existing functions to use the prefix smcr_ to indicate
that they belong to the SMC-R code path.
Signed-off-by: Karsten Graul <[email protected]>
Reviewed-by: Ursula Braun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions