]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qed: Delete redundant doorbell recovery types
authorDenis Bolotin <dbolotin@marvell.com>
Sun, 14 Apr 2019 14:23:05 +0000 (17:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:59:48 +0000 (13:59 -0700)
commit9ac6bb1414ac0d45fe9cefbd1f5b06f0e1a3c98a
tree89d5750c1165ec8f6d07328cf5d38af2e63dc29f
parentc543cb4a5f07e09237ec0fc2c60c9f131b2c79ad
qed: Delete redundant doorbell recovery types

DB_REC_DRY_RUN (running doorbell recovery without sending doorbells) is
never used. DB_REC_ONCE (send a single doorbell from the doorbell recovery)
is not needed anymore because by running the periodic handler we make sure
we check the overflow status later instead.
This patch is needed because in the next patches, the only doorbell
recovery type being used is DB_REC_REAL_DEAL, and the fixes are much
cleaner without this enum.

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>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_int.h