kernel_optimize_test/net/smc
Karsten Graul fbed3b37c8 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>
2020-05-01 16:20:04 -07:00
..
af_smc.c net/smc: multiple link support for rmb buffer registration 2020-05-01 16:20:04 -07:00
Kconfig
Makefile
smc_cdc.c net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_cdc.h
smc_clc.c net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_clc.h net/smc: adapt SMC client code to use the LLC flow 2020-04-30 12:44:33 -07:00
smc_close.c
smc_close.h
smc_core.c net/smc: extend smc_llc_send_add_link() and smc_llc_send_delete_link() 2020-05-01 16:20:04 -07:00
smc_core.h net/smc: map and register buffers for a new link 2020-05-01 16:20:04 -07:00
smc_diag.c
smc_ib.c net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_ib.h net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_ism.c net/smc: rework pnet table to support SMC-R failover 2020-04-29 12:26:32 -07:00
smc_ism.h
smc_llc.c net/smc: extend smc_llc_send_add_link() and smc_llc_send_delete_link() 2020-05-01 16:20:04 -07:00
smc_llc.h net/smc: extend smc_llc_send_add_link() and smc_llc_send_delete_link() 2020-05-01 16:20:04 -07:00
smc_netns.h
smc_pnet.c net/smc: rework pnet table to support SMC-R failover 2020-04-29 12:26:32 -07:00
smc_pnet.h net/smc: rework pnet table to support SMC-R failover 2020-04-29 12:26:32 -07:00
smc_rx.c
smc_rx.h
smc_tx.c net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_tx.h
smc_wr.c net/smc: add new link state and related helpers 2020-04-29 12:26:32 -07:00
smc_wr.h
smc.h net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00