Deleted Added
full compact
29c29
< __FBSDID("$FreeBSD: head/sys/dev/cxgbe/t4_sge.c 221911 2011-05-14 19:27:15Z np $");
---
> __FBSDID("$FreeBSD: head/sys/dev/cxgbe/t4_sge.c 222085 2011-05-18 22:09:04Z np $");
103c103
< int);
---
> int, int);
1107c1107
< int intr_idx)
---
> int intr_idx, int cong)
1157a1158,1159
> if (cong >= 0)
> c.iqns_to_fl0congen = htobe32(F_FW_IQ_CMD_IQFLINTCONGEN);
1201c1203,1211
< htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE));
---
> htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE) |
> F_FW_IQ_CMD_FL0FETCHRO | F_FW_IQ_CMD_FL0DATARO |
> F_FW_IQ_CMD_FL0PADEN);
> if (cong >= 0) {
> c.iqns_to_fl0congen |=
> htobe32(V_FW_IQ_CMD_FL0CNGCHMAP(cong) |
> F_FW_IQ_CMD_FL0CONGCIF |
> F_FW_IQ_CMD_FL0CONGEN);
> }
1328c1338
< return alloc_iq_fl(NULL, iq, NULL, intr_idx);
---
> return alloc_iq_fl(NULL, iq, NULL, intr_idx, -1);
1345c1355
< rc = alloc_iq_fl(pi, &rxq->iq, &rxq->fl, intr_idx);
---
> rc = alloc_iq_fl(pi, &rxq->iq, &rxq->fl, intr_idx, 1 << pi->tx_chan);
1439c1449
< V_FW_EQ_CTRL_CMD_PCIECHN(idx) |
---
> V_FW_EQ_CTRL_CMD_PCIECHN(idx) | F_FW_EQ_CTRL_CMD_FETCHRO |
1564c1574
< V_FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) |
---
> V_FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) | F_FW_EQ_ETH_CMD_FETCHRO |