diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-05-01 12:48:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-01 16:20:04 -0700 |
commit | fbed3b37c89633eb602f4ec8e30186e601b793e5 (patch) | |
tree | 8eed11d10c4b29aef2896c351923ca8444810dc7 /net/smc/smc_core.h | |
parent | fb33d27727254618aaf6bc2fedcb0fda1d5c0239 (diff) |
net/smc: extend smc_llc_send_add_link() and smc_llc_send_delete_link()
All LLC sends are done from worker context only, so remove the prep
functions which were used to build the message before it was sent, and
add the function content into the respective send function
smc_llc_send_add_link() and smc_llc_send_delete_link().
Extend smc_llc_send_add_link() to include the qp_mtu value in the LLC
message, which is needed to establish a link after the initial link was
created. Extend smc_llc_send_delete_link() to contain a link_id and a
reason code for the link deletion in the LLC message, which is needed
when a specific link should be deleted.
And add the list of existing DELETE_LINK reason codes.
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>
Diffstat (limited to 'net/smc/smc_core.h')
0 files changed, 0 insertions, 0 deletions