diff options
author | Haiyang Zhang <[email protected]> | 2024-06-17 13:17:26 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-18 18:21:18 -0700 |
commit | 382d1741b5b2feffef7942dd074206372afe1a96 (patch) | |
tree | b303eb04982881fcddbc510c22697a7437103062 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2c6a4b969c1fb8277421374caa5299a6620b5691 (diff) |
net: mana: Add support for page sizes other than 4KB on ARM64
As defined by the MANA Hardware spec, the queue size for DMA is 4KB
minimal, and power of 2. And, the HWC queue size has to be exactly
4KB.
To support page sizes other than 4KB on ARM64, define the minimal
queue size as a macro separately from the PAGE_SIZE, which we always
assumed it to be 4KB before supporting ARM64.
Also, add MANA specific macros and update code related to size
alignment, DMA region calculations, etc.
Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions