net/bnxt: refactor doorbell handling
authorLance Richardson <lance.richardson@broadcom.com>
Sun, 2 Jun 2019 17:42:42 +0000 (13:42 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:29 +0000 (23:54 +0900)
commitbb0546edfa6776b93b3011618dfc4f2af6a51f76
treeec8e56d738b05a8e93f41128dd793afe3d875740
parent79cc1efd99c6d9659a30f3b3c7fbc558343645a2
net/bnxt: refactor doorbell handling

Reduce code duplication and prepare for newer controllers that
use different doorbell protocols by refactoring doorbell handling
code.

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_cpr.h
drivers/net/bnxt/bnxt_irq.c
drivers/net/bnxt/bnxt_ring.c
drivers/net/bnxt/bnxt_ring.h
drivers/net/bnxt/bnxt_rxr.c
drivers/net/bnxt/bnxt_rxr.h
drivers/net/bnxt/bnxt_rxtx_vec_sse.c
drivers/net/bnxt/bnxt_txr.c
drivers/net/bnxt/bnxt_txr.h