mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 01:21:10 +03:00
[bnxt] Allocate TX rings with firmware input
Use queue_id value retrieved from firmware unconditionally when allocating TX rings. Signed-off by: Joseph Wong <joseph.wong@broadcom.com>
This commit is contained in:
committed by
Michael Brown
parent
77cc3ed108
commit
bd90abf487
@@ -1840,7 +1840,7 @@ static int bnxt_hwrm_ring_alloc ( struct bnxt *bp, u8 type )
|
||||
req->page_size = LM_PAGE_BITS ( 8 );
|
||||
req->int_mode = RING_ALLOC_REQ_INT_MODE_POLL;
|
||||
req->length = ( u32 )bp->tx.ring_cnt;
|
||||
req->queue_id = TX_RING_QID;
|
||||
req->queue_id = ( u16 )bp->queue_id;
|
||||
req->stat_ctx_id = ( u32 )bp->stat_ctx_id;
|
||||
req->cmpl_ring_id = bp->cq_ring_id;
|
||||
req->page_tbl_addr = virt_to_bus ( bp->tx.bd_virt );
|
||||
|
||||
Reference in New Issue
Block a user