diff options
author | Maxim Mikityanskiy <[email protected]> | 2022-07-29 15:13:56 +0300 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-08-02 15:07:09 +0200 |
commit | 8eaa1d110800fac050bab44001732747a1c39894 (patch) | |
tree | fe66eedeb474ba7847bf051bb604c47d4c909f54 /scripts/gdb/linux/utils.py | |
parent | c67cc4315a8e605ec875bd3a1210a549e3562ddc (diff) |
net/mlx5e: xsk: Discard unaligned XSK frames on striding RQ
Striding RQ uses MTT page mapping, where each page corresponds to an XSK
frame. MTT pages have alignment requirements, and XSK frames don't have
any alignment guarantees in the unaligned mode. Frames with improper
alignment must be discarded, otherwise the packet data will be written
at a wrong address.
Fixes: 282c0c798f8e ("net/mlx5e: Allow XSK frames smaller than a page")
Signed-off-by: Maxim Mikityanskiy <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions