Re: [RFC] gadget ethernet dma align fix

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

 



Hi,

Felipe Balbi a écrit :
> Hi,
> 
> On Tue, Jan 12, 2010 at 02:35:18PM +0100, ext Gupta, Ajay Kumar wrote:
>> I also tested it on OMAP3730 EVM (based on 3630) and observed that
>> Basic ping works (64 byte) but ping for packet size 2K fails.
>>
>> I tried flood ping and that also is failing.
> 
> with the script below it's easy to see if it fails. For me it's 
> failing when it reaches 1471 bytes.
> 
> #!/bin/sh
> 
> MIN_SIZE=$1
> MAX_SIZE=$2
> 
> SIZE=$MIN_SIZE
> 
> ITER=1
> 
> ifconfig usb0 10.10.10.1 up
> sleep 1
> while [ 1 ]; do
> 	echo "Pinging with size $SIZE"
> 	if ! ping -c 1 10.10.10.2 -s $SIZE > /dev/null 2>&1; then
> 		echo "Ping failed with size $SIZE"
> 		break
> 	fi
> 	SIZE=$(expr $SIZE + 1)
> 
> 	if [ $SIZE -gt $MAX_SIZE ]; then
> 		SIZE=$MIN_SIZE
> 		ITER=$(expr $ITER + 1)
> 	fi
> done
> echo "Test ran up to $SIZE for $ITER iterations"
> 
Do you know if it is related to the align patch ?

May be it could be interesting to enable debug in ethernet gadget driver.


Matthieu
--
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