aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/sge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb4/sge.c')
-rw-r--r--drivers/net/cxgb4/sge.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/sge.c b/drivers/net/cxgb4/sge.c
index 17022258ed68..cc0b9975d472 100644
--- a/drivers/net/cxgb4/sge.c
+++ b/drivers/net/cxgb4/sge.c
@@ -2014,6 +2014,8 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,
2014 2014
2015 flsz = fl->size / 8 + STAT_LEN / sizeof(struct tx_desc); 2015 flsz = fl->size / 8 + STAT_LEN / sizeof(struct tx_desc);
2016 c.iqns_to_fl0congen = htonl(FW_IQ_CMD_FL0PACKEN | 2016 c.iqns_to_fl0congen = htonl(FW_IQ_CMD_FL0PACKEN |
2017 FW_IQ_CMD_FL0FETCHRO(1) |
2018 FW_IQ_CMD_FL0DATARO(1) |
2017 FW_IQ_CMD_FL0PADEN); 2019 FW_IQ_CMD_FL0PADEN);
2018 c.fl0dcaen_to_fl0cidxfthresh = htons(FW_IQ_CMD_FL0FBMIN(2) | 2020 c.fl0dcaen_to_fl0cidxfthresh = htons(FW_IQ_CMD_FL0FBMIN(2) |
2019 FW_IQ_CMD_FL0FBMAX(3)); 2021 FW_IQ_CMD_FL0FBMAX(3));
@@ -2106,6 +2108,7 @@ int t4_sge_alloc_eth_txq(struct adapter *adap, struct sge_eth_txq *txq,
2106 c.viid_pkd = htonl(FW_EQ_ETH_CMD_VIID(pi->viid)); 2108 c.viid_pkd = htonl(FW_EQ_ETH_CMD_VIID(pi->viid));
2107 c.fetchszm_to_iqid = htonl(FW_EQ_ETH_CMD_HOSTFCMODE(2) | 2109 c.fetchszm_to_iqid = htonl(FW_EQ_ETH_CMD_HOSTFCMODE(2) |
2108 FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) | 2110 FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) |
2111 FW_EQ_ETH_CMD_FETCHRO(1) |
2109 FW_EQ_ETH_CMD_IQID(iqid)); 2112 FW_EQ_ETH_CMD_IQID(iqid));
2110 c.dcaen_to_eqsize = htonl(FW_EQ_ETH_CMD_FBMIN(2) | 2113 c.dcaen_to_eqsize = htonl(FW_EQ_ETH_CMD_FBMIN(2) |
2111 FW_EQ_ETH_CMD_FBMAX(3) | 2114 FW_EQ_ETH_CMD_FBMAX(3) |
@@ -2158,6 +2161,7 @@ int t4_sge_alloc_ctrl_txq(struct adapter *adap, struct sge_ctrl_txq *txq,
2158 c.physeqid_pkd = htonl(0); 2161 c.physeqid_pkd = htonl(0);
2159 c.fetchszm_to_iqid = htonl(FW_EQ_CTRL_CMD_HOSTFCMODE(2) | 2162 c.fetchszm_to_iqid = htonl(FW_EQ_CTRL_CMD_HOSTFCMODE(2) |
2160 FW_EQ_CTRL_CMD_PCIECHN(pi->tx_chan) | 2163 FW_EQ_CTRL_CMD_PCIECHN(pi->tx_chan) |
2164 FW_EQ_CTRL_CMD_FETCHRO |
2161 FW_EQ_CTRL_CMD_IQID(iqid)); 2165 FW_EQ_CTRL_CMD_IQID(iqid));
2162 c.dcaen_to_eqsize = htonl(FW_EQ_CTRL_CMD_FBMIN(2) | 2166 c.dcaen_to_eqsize = htonl(FW_EQ_CTRL_CMD_FBMIN(2) |
2163 FW_EQ_CTRL_CMD_FBMAX(3) | 2167 FW_EQ_CTRL_CMD_FBMAX(3) |
@@ -2207,6 +2211,7 @@ int t4_sge_alloc_ofld_txq(struct adapter *adap, struct sge_ofld_txq *txq,
2207 FW_EQ_OFLD_CMD_EQSTART | FW_LEN16(c)); 2211 FW_EQ_OFLD_CMD_EQSTART | FW_LEN16(c));
2208 c.fetchszm_to_iqid = htonl(FW_EQ_OFLD_CMD_HOSTFCMODE(2) | 2212 c.fetchszm_to_iqid = htonl(FW_EQ_OFLD_CMD_HOSTFCMODE(2) |
2209 FW_EQ_OFLD_CMD_PCIECHN(pi->tx_chan) | 2213 FW_EQ_OFLD_CMD_PCIECHN(pi->tx_chan) |
2214 FW_EQ_OFLD_CMD_FETCHRO(1) |
2210 FW_EQ_OFLD_CMD_IQID(iqid)); 2215 FW_EQ_OFLD_CMD_IQID(iqid));
2211 c.dcaen_to_eqsize = htonl(FW_EQ_OFLD_CMD_FBMIN(2) | 2216 c.dcaen_to_eqsize = htonl(FW_EQ_OFLD_CMD_FBMIN(2) |
2212 FW_EQ_OFLD_CMD_FBMAX(3) | 2217 FW_EQ_OFLD_CMD_FBMAX(3) |