Re: [PATCH] dmaengine: idxd: Fix default allowed read buffers value in group

From: Vinod Koul
Date: Fri Feb 10 2023 - 01:06:39 EST


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