]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Flush slowpath tasklet on stop
authorTomer Tayar <Tomer.Tayar@cavium.com>
Tue, 23 May 2017 06:41:24 +0000 (09:41 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:14 +0000 (22:32 -0700)
commit5069a904b10abac1316b529fa3c499cee81c1477
tree1225eb54e4983a65ee921a6f937c0a8288fa931f
parentc815fe658d532d0f19151bfa6a5a4f8c32f8b2f6
qed: Flush slowpath tasklet on stop

Orabug: 26783820

Today, driver has a synchronization point while closing
the device which synchronizes its slowpath interrupt line.
However, that's insufficient as that ISR would schedule the
slowpath-tasklet - so even after ISR is over it's possible the
handling of the interrupt has not completed.

By doing a disable/enable on the taskelt we guarantee that all
HW events that should no longer be genereated from that point
onward in the flow are truly behind us.

Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit 06892f2ea2bd6b146707e4ab367aa5b20eac0ba7 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_main.c