net/bnxt: cache address of doorbell to subsequent access
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 20 Apr 2018 14:22:00 +0000 (07:22 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:56 +0000 (15:54 +0100)
commite3d8f1e6a665f9f06bf4df01131f738395c9b97d
tree61e2cca8b882e664ca3da740057b7e286ba5662c
parent3a14b29bff9cc427920c83391b37cededa48fd2f
net/bnxt: cache address of doorbell to subsequent access

While creating TX, Rx, CQ rings use cached DB address instead of
getting it from the PCI memory resource.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_cpr.c
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_ring.c