Re: net2280: is use_dma_chaining obsolete?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

On Tue, Nov 25, 2014 at 6:05 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, 25 Nov 2014, Ricardo Ribalda Delgado wrote:
>
>> Hello Alan
>>
>> Could you test if the parameter dma_chaining works on your board with
>> the current kernel?
>>
>> #on the target
>> modprobe net2280 use_dma_chaining=1 #(it it is already loaded, rmmod)
>> dd if=/dev/zero of=/tmp/mem bs=256M count=1
>> modprobe g_mass_storage file=/tmp/mem
>>
>> #on the host
>> #Check if /dev/sdX has apperared
>> dd if=/dev/sdX of=/dev/null
>
> It doesn't even come close to working.  The system grinds to a halt
> when the UDC fails to send the third bulk-out packet.  The first two
> packets get sent okay.

Exactly the same that I am experiencing. I am preparing a patch that
removes the option, does some dma cleanout and then add support for
sg.

I might ask you to test it in the future :)

Thanks for your help!

>
> Alan Stern
>



-- 
Ricardo Ribalda
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux