|
@@ -6053,7 +6053,7 @@ int t4_bar2_sge_qregs(struct adapter *adapter,
|
|
* o The BAR2 Queue ID.
|
|
* o The BAR2 Queue ID.
|
|
* o The BAR2 Queue ID Offset into the BAR2 page.
|
|
* o The BAR2 Queue ID Offset into the BAR2 page.
|
|
*/
|
|
*/
|
|
- bar2_page_offset = ((qid >> qpp_shift) << page_shift);
|
|
|
|
|
|
+ bar2_page_offset = ((u64)(qid >> qpp_shift) << page_shift);
|
|
bar2_qid = qid & qpp_mask;
|
|
bar2_qid = qid & qpp_mask;
|
|
bar2_qid_offset = bar2_qid * SGE_UDB_SIZE;
|
|
bar2_qid_offset = bar2_qid * SGE_UDB_SIZE;
|
|
|
|
|