cxgbe: set the minimum burst size when fetching fl buffers to 128B for
netmap rx queues too. This should have gone in as part of r283858.
This commit is contained in:
parent
0bf3ddb7a7
commit
a40200ca80
@ -297,7 +297,7 @@ alloc_nm_rxq_hwq(struct port_info *pi, struct sge_nm_rxq *nm_rxq, int cong)
|
|||||||
(fl_pad ? F_FW_IQ_CMD_FL0PADEN : 0) |
|
(fl_pad ? F_FW_IQ_CMD_FL0PADEN : 0) |
|
||||||
(black_hole == 2 ? F_FW_IQ_CMD_FL0PACKEN : 0));
|
(black_hole == 2 ? F_FW_IQ_CMD_FL0PACKEN : 0));
|
||||||
c.fl0dcaen_to_fl0cidxfthresh =
|
c.fl0dcaen_to_fl0cidxfthresh =
|
||||||
htobe16(V_FW_IQ_CMD_FL0FBMIN(X_FETCHBURSTMIN_64B) |
|
htobe16(V_FW_IQ_CMD_FL0FBMIN(X_FETCHBURSTMIN_128B) |
|
||||||
V_FW_IQ_CMD_FL0FBMAX(X_FETCHBURSTMAX_512B));
|
V_FW_IQ_CMD_FL0FBMAX(X_FETCHBURSTMAX_512B));
|
||||||
c.fl0size = htobe16(na->num_rx_desc / 8 + spg_len / EQ_ESIZE);
|
c.fl0size = htobe16(na->num_rx_desc / 8 + spg_len / EQ_ESIZE);
|
||||||
c.fl0addr = htobe64(nm_rxq->fl_ba);
|
c.fl0addr = htobe64(nm_rxq->fl_ba);
|
||||||
|
Loading…
Reference in New Issue
Block a user