summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/Makefile
diff options
context:
space:
mode:
authorDenis Bolotin2019-04-14 16:23:08 +0200
committerDavid S. Miller2019-04-14 22:59:49 +0200
commit0d72c2ac89185f179da1e8a91c40c82f3fa38f0b (patch)
tree663b75e7ae6af848fab55a34c1fb192b6be32f67 /drivers/net/ethernet/qlogic/Makefile
parentqed: Fix missing DORQ attentions (diff)
downloadkernel-qcow2-linux-0d72c2ac89185f179da1e8a91c40c82f3fa38f0b.tar.gz
kernel-qcow2-linux-0d72c2ac89185f179da1e8a91c40c82f3fa38f0b.tar.xz
kernel-qcow2-linux-0d72c2ac89185f179da1e8a91c40c82f3fa38f0b.zip
qed: Fix the DORQ's attentions handling
Separate the overflow handling from the hardware interrupt status analysis. The interrupt status is a single register and is common for all PFs. The first PF reading the register is not necessarily the one who overflowed. All PFs must check their overflow status on every attention. In this change we clear the sticky indication in the attention handler to allow doorbells to be processed again as soon as possible, but running the doorbell recovery is scheduled for the periodic handler to reduce the time spent in the attention handler. Checking the need for DORQ flush was changed to "db_bar_no_edpm" because qed_edpm_enabled()'s result could change dynamically and might have prevented a needed flush. Signed-off-by: Denis Bolotin <dbolotin@marvell.com> Signed-off-by: Michal Kalderon <mkalderon@marvell.com> Signed-off-by: Ariel Elior <aelior@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/Makefile')
0 files changed, 0 insertions, 0 deletions