diff options
author | Maxim Mikityanskiy <[email protected]> | 2022-10-01 21:56:25 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-10-03 16:55:28 -0700 |
commit | c6f0420468fb2e7bbe006ed492608d63a4ac9e28 (patch) | |
tree | 11aaabc9b8a43ffed81f5f621a815fb000876b98 /scripts/generate_rust_analyzer.py | |
parent | 139213451046eb6653a058a8922796f29b267b0f (diff) |
net/mlx5e: xsk: Print a warning in slow configurations
On striding RQ, when the XSK frame size doesn't match the MKey page
size, KLM is used for memory mappings, which is a slower mechanism than
MTT or KSM. It may happen in two cases:
1. Frame size is not a power of two (only possible in the unaligned mode
of XSK).
2. Frame size is 2048 bytes, and the firmware doesn't support MKey pages
smaller than 4096 bytes.
Depending on the case, print a warning and recommend to disable striding
RQ or upgrade the firmware.
Signed-off-by: Maxim Mikityanskiy <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions