]> git.baikalelectronics.ru Git - 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)
commit20c04e6a3b6aa6c7806ae335573f4ce3d67e11ca
tree89d5750c1165ec8f6d07328cf5d38af2e63dc29f
parent8d42759a69f1eac7ef3e7bf14f4d32c673b3ac72
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