]> 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)
commitf97ed46579b5e92ed794adeaef5d132e453df482
treea1ec2942f8bd258e86dceb4151f974f40506d7c0
parentc5943f12566b292bc5563ada3710fc4fb20aec4a
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