netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* usbnet: why is by default dev->rx_urb_size equal to dev->hard_mtu?
@ 2011-04-28 23:00 DMITRIY GRUZMAN
  0 siblings, 0 replies; only message in thread
From: DMITRIY GRUZMAN @ 2011-04-28 23:00 UTC (permalink / raw)
  To: netdev

Hello,

Currently, usbnet_probe() in drivers/net/usb/usbnet.c driver sets
dev->rx_urb_size equal to dev->hard_mtu unless the dev->rx_urb size is
previously set in the bind() call.  I do not think that there is any
correlation between those values and I think that setting
dev->rx_urb_size to dev->maxpacket would be more appropriate.

Please provide your comments so I know if I should proceed with making
such a change.

Thanks,

Dmitriy Gruzman

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-28 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 23:00 usbnet: why is by default dev->rx_urb_size equal to dev->hard_mtu? DMITRIY GRUZMAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).