|
@@ -2047,7 +2047,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,
|
|
adap->sge.ingr_map[iq->cntxt_id] = iq;
|
|
adap->sge.ingr_map[iq->cntxt_id] = iq;
|
|
|
|
|
|
if (fl) {
|
|
if (fl) {
|
|
- fl->cntxt_id = htons(c.fl0id);
|
|
|
|
|
|
+ fl->cntxt_id = ntohs(c.fl0id);
|
|
fl->avail = fl->pend_cred = 0;
|
|
fl->avail = fl->pend_cred = 0;
|
|
fl->pidx = fl->cidx = 0;
|
|
fl->pidx = fl->cidx = 0;
|
|
fl->alloc_failed = fl->large_alloc_failed = fl->starving = 0;
|
|
fl->alloc_failed = fl->large_alloc_failed = fl->starving = 0;
|