aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2022-05-30 21:06:03 +0300
committerSaeed Mahameed <[email protected]>2022-07-28 13:44:26 -0700
commit52586d2f56b3e4f528ca7268d65074e92c936681 (patch)
tree971f0ca00b782ba7adc2196951b416b3453f6723 /tools/perf/scripts/python/syscall-counts.py
parent562696c3c62c7c23dd896e9447252ce9268cb812 (diff)
net/mlx5e: xsk: Account for XSK RQ UMRs when calculating ICOSQ size
ICOSQ is used to post UMR WQEs for both regular RQ and XSK RQ. However, space in ICOSQ is reserved only for the regular RQ, which may cause ICOSQ overflows when using XSK (the most risk is on activating channels). This commit fixes the issue by reserving space for XSK UMR WQEs as well. As XSK may be enabled without restarting the channel and recreating the ICOSQ, this space is reserved unconditionally. Fixes: db05815b36cb ("net/mlx5e: Add XSK zero-copy support") Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions