]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: Reset transport QP link stats on down
authorAllen Hubbe <Allen.Hubbe@emc.com>
Tue, 12 May 2015 12:09:15 +0000 (08:09 -0400)
committerJon Mason <jdmason@kudzu.us>
Sat, 4 Jul 2015 18:06:34 +0000 (14:06 -0400)
commitc4a12222a7aa2964b4c29a8775e6841f2176b5af
treea1ec2942f8bd258e86dceb4151f974f40506d7c0
parentbd97a34265e53039e20f80b7b273301b9c3b8e55
NTB: Reset transport QP link stats on down

Reset the link stats when the link goes down.  In particular, the TX and
RX index and count must be reset, or else the TX side will be sending
packets to the RX side where the RX side is not expecting them.  Reset
all the stats, to be consistent.

Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c