cxgbe(4): Setup congestion response for T6 rx queues.
This commit is contained in:
parent
0730e3f558
commit
ca30620018
@ -178,7 +178,7 @@ alloc_nm_rxq_hwq(struct vi_info *vi, struct sge_nm_rxq *nm_rxq, int cong)
|
||||
nm_rxq->fl_db_val = V_QID(nm_rxq->fl_cntxt_id) |
|
||||
sc->chip_params->sge_fl_db;
|
||||
|
||||
if (is_t5(sc) && cong >= 0) {
|
||||
if (chip_id(sc) >= CHELSIO_T5 && cong >= 0) {
|
||||
uint32_t param, val;
|
||||
|
||||
param = V_FW_PARAMS_MNEM(FW_PARAMS_MNEM_DMAQ) |
|
||||
|
@ -2800,7 +2800,7 @@ alloc_iq_fl(struct vi_info *vi, struct sge_iq *iq, struct sge_fl *fl,
|
||||
FL_UNLOCK(fl);
|
||||
}
|
||||
|
||||
if (is_t5(sc) && !(sc->flags & IS_VF) && cong >= 0) {
|
||||
if (chip_id(sc) >= CHELSIO_T5 && !(sc->flags & IS_VF) && cong >= 0) {
|
||||
uint32_t param, val;
|
||||
|
||||
param = V_FW_PARAMS_MNEM(FW_PARAMS_MNEM_DMAQ) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user