Re: [PATCH] tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
From: Ilias Tsitsimpis
Date: Fri Mar 31 2017 - 16:53:36 EST
Hi Xiubo,
On Fri, Mar 31, 2017 at 10:35AM, lixiubo@xxxxxxxxxxxxxxxxxxxx wrote:
> From: Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx>
>
> For the bidirectional case, the Data-Out buffer blocks will always at
> the head of the tcmu_cmd's bitmap, and before gathering the Data-In
> buffer, first of all it should skip the Data-Out ones, or the device
> supporting BIDI commands won't work.
>
> Fixed: 26418649eead ("target/user: Introduce data_bitmap, replace
> data_length/data_head/data_tail")
> Reported-by: Ilias Tsitsimpis <iliastsi@xxxxxxxxxxx>
> Signed-off-by: Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx>
Thanks for taking care of this.
Tested-by: Ilias Tsitsimpis <iliastsi@xxxxxxxxxxx>
Best,
--
Ilias