diff options
author | Maxim Mikityanskiy <[email protected]> | 2022-09-27 13:36:00 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-09-28 19:36:35 -0700 |
commit | 44f4fd03b51705ce8af54c103c9af55926c5d950 (patch) | |
tree | be6fb621478946e8259986072d0ae2c0658cf6ca /tools/perf/scripts/python/check-perf-trace.py | |
parent | 7e49abb1e393c3fe741bd47462f5c1f5d714ec24 (diff) |
net/mlx5e: Validate striding RQ before enabling XDP
Currently, the driver can silently fall back to legacy RQ after enabling
XDP, even if striding RQ was active before. It happens when PAGE_SIZE is
bigger than the maximum supported stride size. This commit changes this
behavior to more straightforward: if an operation (enabling XDP) doesn't
support the current parameters (striding RQ mode), it fails.
Signed-off-by: Maxim Mikityanskiy <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions