diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-08-24 09:41:27 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-09-24 18:10:17 +0200 |
commit | 9e47a683e9d222c0c08d7c9c70989591b0431cbd (patch) | |
tree | 4dd023191758bf38c465c43b26fb0eca7b2f5f06 /drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c | |
parent | mt76: mt7603: tune tx ring size (diff) | |
download | linux-9e47a683e9d222c0c08d7c9c70989591b0431cbd.tar.xz linux-9e47a683e9d222c0c08d7c9c70989591b0431cbd.zip |
mt76: mt76x02: tune tx ring size
Increase data queue size to improve performance.
Reduce PS/mgmt queue size
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c b/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c index 66453c85f0de..4016ffe840ed 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c @@ -209,13 +209,13 @@ int mt76x02_dma_init(struct mt76x02_dev *dev) for (i = 0; i < IEEE80211_NUM_ACS; i++) { ret = mt76x02_init_tx_queue(dev, i, mt76_ac_to_hwq(i), - MT_TX_RING_SIZE); + MT76x02_TX_RING_SIZE); if (ret) return ret; } ret = mt76x02_init_tx_queue(dev, MT_TXQ_PSD, - MT_TX_HW_QUEUE_MGMT, MT_TX_RING_SIZE); + MT_TX_HW_QUEUE_MGMT, MT76x02_PSD_RING_SIZE); if (ret) return ret; |