aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireless/mediatek/mt76/mt7915/pci.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-12-03 18:02:41 +0100
committerFelix Fietkau <nbd@nbd.name>2021-12-19 15:24:02 +0100
commite4232f05207daa2ccc45a32ee70a64ff7df62a71 (patch)
tree95f9233caccd1df725c8acf970cc6e3bd5ed5363 /drivers/net/wireless/mediatek/mt76/mt7915/pci.c
parentmt76: allow drivers to drop rx packets early (diff)
downloadwireguard-linux-e4232f05207daa2ccc45a32ee70a64ff7df62a71.tar.xz
wireguard-linux-e4232f05207daa2ccc45a32ee70a64ff7df62a71.zip
mt76: mt7915: process txfree and txstatus without allocating skbs
Reduces pressure on the memory allocator Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7915/pci.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7915/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/pci.c b/drivers/net/wireless/mediatek/mt76/mt7915/pci.c
index 0af4cdb897b7..8130ea43971f 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7915/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/pci.c
@@ -230,6 +230,7 @@ static int mt7915_pci_probe(struct pci_dev *pdev,
.tx_prepare_skb = mt7915_tx_prepare_skb,
.tx_complete_skb = mt7915_tx_complete_skb,
.rx_skb = mt7915_queue_rx_skb,
+ .rx_check = mt7915_rx_check,
.rx_poll_complete = mt7915_rx_poll_complete,
.sta_ps = mt7915_sta_ps,
.sta_add = mt7915_mac_sta_add,