net/hinic/base: optimize doorbell area initialization
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Tue, 17 Mar 2020 15:01:13 +0000 (23:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:04 +0000 (13:57 +0200)
commit62d2083dd78edf628dc03b46ced95e3c4a4b3c4b
tree6f3b2ffa37d9178342ee0b9604fd998db5e225e2
parent0194313b2df66d9308c79f501d1018a99b32098b
net/hinic/base: optimize doorbell area initialization

The maximum doorbell area is initialized from hardware param, and not
uses const macro param.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/base/hinic_pmd_hwif.c
drivers/net/hinic/base/hinic_pmd_hwif.h