Messages in this thread | | | Date | Fri, 10 Feb 2023 11:36:25 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH] dmaengine: idxd: Fix default allowed read buffers value in group |
| |
On 27-01-23, 11:28, Fenghua Yu wrote: > 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.
Applied, thanks
-- ~Vinod
| |