RE: [RFC] gadget ethernet dma align fix

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

 



Hi,
> -----Original Message-----
> From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Gupta, Ajay Kumar
> Sent: Tuesday, March 23, 2010 2:39 PM
> To: Matthieu CASTET; Pandita, Vikram
> Cc: felipe.balbi@xxxxxxxxx; matthieu castet; linux-usb@xxxxxxxxxxxxxxx;
> Alan Stern
> Subject: RE: [RFC] gadget ethernet dma align fix
> 
> Hi,
> > > > Works fine:
> > > > With the alignment fix in the MUSB controller driver [2] rather than
> > g-
> > > ether,
> > > > the problem with ping size >= 1471 is not observed.
> > > >
> > > I found the problem. I was on rx path were skb->len were wrong.
> > >
> > > I attach a new patch that fix the issue.
> >
> > Thanks for updated patch. It does fix the ping issue for packet size
> > Beyond 1470+.
> 
> Though it (v4-patch)fixes ping beyond 1470 but I still observed iperf
> failing. I ran iperf in windows in server mode (iperf.exe -s) and in
> client mode on OMAP3630EVM.

Looks like it related to caching after memmove. I used flush_cache_all()
Soon after memmove() and issue goes away but with reduced throughput.

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