diff options
| author | Ratheesh Kannoth <rkannoth@marvell.com> | 2026-09-16 07:51:11 +0530 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-21 16:17:10 -0700 |
| commit | d06f2ebf67ff2962fe00d687e4f0d4703eb41a12 (patch) | |
| tree | 054e8f647d7644eca7548c6bc441401efb00abe0 /tools/perf/scripts/python | |
| parent | 12fec40907fafe5262216e477e7b6ae74e40ab58 (diff) | |
| download | linux-d06f2ebf67ff2962fe00d687e4f0d4703eb41a12.tar.gz linux-d06f2ebf67ff2962fe00d687e4f0d4703eb41a12.zip | |
octeontx2-af: Fix memory scaling limitation in SR-IOV mode
The original code used DMA_ATTR_FORCE_CONTIGUOUS, which could exhaust
the CMA pool when a large number of VFs were requested.
Fix this by switching to the DMA streaming API. This is equivalent on
Octeon platforms, which provide full I/O coherency via the SMMU.
Cc: Leon Romanovsky <leon@kernel.org>
Fixes: 73d33dbc0723 ("octeontx2-af: Use DMA_ATTR_FORCE_CONTIGUOUS attribute in DMA alloc")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Reviewed-by: Leon Romanovsky <leon@kernel.org>
Link: https://patch.msgid.link/20260916022111.1083017-1-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
