summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMohsin Bashir <mohsin.bashr@gmail.com>2026-01-15 03:33:51 +0300
committerJakub Kicinski <kuba@kernel.org>2026-01-21 05:18:41 +0300
commit301ae0d5391a19d9897c342c874240b36f7bc85f (patch)
tree4219c1c5335e1e41087bed1d5a3247bd94c0ffb7 /include
parent0c86b52b1a942debbabf02f569b2d54117701f89 (diff)
downloadlinux-301ae0d5391a19d9897c342c874240b36f7bc85f.tar.xz
eth: fbnic: Reuse RX mailbox pages
Currently, the RX mailbox frees and reallocates a page for each received message. Since FW Rx messages are processed synchronously, and nothing hold these pages (unlike skbs which we hand over to the stack), reuse the pages and put them back on the Rx ring. Now that we ensure the ring is always fully populated we don't have to worry about filling it up after partial population during init, either. Update fbnic_mbx_process_rx_msgs() to recycle pages after message processing. Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com> Link: https://patch.msgid.link/20260115003353.4150771-4-mohsin.bashr@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions