aboutsummaryrefslogtreecommitdiffstats
path: root/net/smc/smc_llc.c
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-05-04 14:18:37 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-04 10:54:39 -0700
commitf0ec4f1d32ad49a23b93156949208dd9348e3590 (patch)
tree18011695bbd3cad6e09cc2d2ed51509ca0f00d1b /net/smc/smc_llc.c
parentMerge branch 'bnxt_en-Updates-for-net-next' (diff)
downloadlinux-dev-f0ec4f1d32ad49a23b93156949208dd9348e3590.tar.xz
linux-dev-f0ec4f1d32ad49a23b93156949208dd9348e3590.zip
net/smc: save state of last sent CDC message
When a link goes down and all connections of this link need to be switched to an other link then the producer cursor and the sequence of the last successfully sent CDC message must be known. Add the two fields to the SMC connection and update it in the tx completion handler. And to allow matching of sequences in error cases reset the seqno to the old value in smc_cdc_msg_send() when the actual send failed. 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_llc.c')
0 files changed, 0 insertions, 0 deletions