diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-06-26 07:43:59 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-26 07:43:59 -0700 |
commit | 2e2de714d65d9c2739c774f4759e530b9c311c0b (patch) | |
tree | 37ed8f9072561ee2f0c5c52b1562bb6dcb5afe7b /tools/testing/selftests/drivers/net/hw/rss_ctx.py | |
parent | a6a6a98094116b60e5523a571d9443c53325f5b1 (diff) | |
parent | 36437f469d7e92635c8e07b63bd490f0c14c3cba (diff) |
Merge branch 'mlxsw-reduce-memory-footprint-of-mlxsw-driver'
Petr Machata says:
====================
mlxsw: Reduce memory footprint of mlxsw driver
Amit Cohen writes:
A previous patch-set used page pool to allocate buffers, to simplify the
change, we first used one continuous buffer, which was allocated with
order > 0. This set improves page pool usage to allocate the exact number
of pages which are required for packet.
This change requires using fragmented SKB, till now all the buffer was in
the linear part. Note that 'skb->truesize' is decreased for small packets.
This set significantly reduces memory consumption of mlxsw driver. The
footprint is reduced by 26%.
Patch set overview:
Patch #1 calculates number of scatter/gather entries and stores the value
Patch #2 converts the driver to use fragmented buffers
====================
Link: https://patch.msgid.link/cover.1719321422.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_ctx.py')
0 files changed, 0 insertions, 0 deletions