|
@@ -1370,7 +1370,7 @@ qed_hw_init_pf_doorbell_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt)
|
|
NULL) +
|
|
NULL) +
|
|
qed_cxt_get_proto_cid_count(p_hwfn, PROTOCOLID_ETH,
|
|
qed_cxt_get_proto_cid_count(p_hwfn, PROTOCOLID_ETH,
|
|
NULL);
|
|
NULL);
|
|
- norm_regsize = roundup(QED_PF_DEMS_SIZE * non_pwm_conn, 4096);
|
|
|
|
|
|
+ norm_regsize = roundup(QED_PF_DEMS_SIZE * non_pwm_conn, PAGE_SIZE);
|
|
min_addr_reg1 = norm_regsize / 4096;
|
|
min_addr_reg1 = norm_regsize / 4096;
|
|
pwm_regsize = db_bar_size - norm_regsize;
|
|
pwm_regsize = db_bar_size - norm_regsize;
|
|
|
|
|