All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] mt76: switch to page_pool allocator
@ 2023-01-01 11:59 Lorenzo Bianconi
  2023-01-01 11:59 ` [PATCH 1/3] wifi: " Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lorenzo Bianconi @ 2023-01-01 11:59 UTC (permalink / raw)
  To: nbd; +Cc: lorenzo.bianconi, linux-wireless

In order to reduce possible memory allocation failures due to memory
fragmentation caused by page_frag_cache allocator, switch to page_pool
allocator for dma and usb mt76 drivers.
Remove per rx-queue page_frag_cache

Lorenzo Bianconi (3):
  wifi: mt76: switch to page_pool allocator
  wifi: mt76: dma: keep rx pages DMA mapped
  wifi: mt76: enable page_pool stats

 drivers/net/wireless/mediatek/mt76/Kconfig    |  2 +
 drivers/net/wireless/mediatek/mt76/dma.c      | 83 ++++++++++---------
 drivers/net/wireless/mediatek/mt76/mac80211.c | 57 +++++++++++++
 drivers/net/wireless/mediatek/mt76/mt76.h     | 24 +++++-
 .../net/wireless/mediatek/mt76/mt7915/main.c  | 26 +++---
 .../net/wireless/mediatek/mt76/mt7915/mmio.c  | 21 ++---
 .../net/wireless/mediatek/mt76/mt7921/main.c  | 31 ++++++-
 drivers/net/wireless/mediatek/mt76/usb.c      | 42 +++++-----
 8 files changed, 198 insertions(+), 88 deletions(-)

-- 
2.38.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-01 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-01 11:59 [PATCH 0/3] mt76: switch to page_pool allocator Lorenzo Bianconi
2023-01-01 11:59 ` [PATCH 1/3] wifi: " Lorenzo Bianconi
2023-01-01 11:59 ` [PATCH 2/3] wifi: mt76: dma: keep rx pages DMA mapped Lorenzo Bianconi
2023-01-01 11:59 ` [PATCH 3/3] wifi: mt76: enable page_pool stats Lorenzo Bianconi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.