diff options
author | Fenghua Yu <[email protected]> | 2023-01-27 11:28:55 -0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-02-16 18:45:48 +0530 |
commit | 601bdadadb505a72d9a76cc20cdfa252cba7ddc0 (patch) | |
tree | 5e788a051c0a71fdc0d758c5ee648f19ae0849c4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b02e07015a5ac7bbc029da931ae17914b8ae0339 (diff) |
dmaengine: idxd: Fix default allowed read buffers value in group
Currently default read buffers that is allowed in a group is 0.
grpcfg will be configured to max read buffers that IDXD can support if
the group's allowed read buffers value is 0. But 0 is an invalid
read buffers value and user may get confused when seeing the invalid
initial value 0 through sysfs interface.
To show only valid allowed read buffers value and eliminate confusion,
directly initialize the allowed read buffers to IDXD's max read buffers.
User still can change the value through sysfs interface.
Suggested-by: Ramesh Thomas <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Reviewed-by: Nikhil Rao <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions