From: Lorenzo Bianconi <lorenzo@kernel.org>
To: nbd@nbd.name
Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org
Subject: [PATCH 0/3] mt76: switch to page_pool allocator
Date: Sun, 1 Jan 2023 12:59:56 +0100 [thread overview]
Message-ID: <cover.1672574310.git.lorenzo@kernel.org> (raw)
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
next reply other threads:[~2023-01-01 12:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-01 11:59 Lorenzo Bianconi [this message]
2023-01-01 11:59 ` [PATCH 1/3] wifi: mt76: switch to page_pool allocator 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1672574310.git.lorenzo@kernel.org \
--to=lorenzo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=nbd@nbd.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).