Re: [PATCH 1/1] usb: cdc-ncm: Increase maximum allowed datagram size

From: Oliver Neukum
Date: Wed Feb 15 2012 - 03:51:07 EST


Am Dienstag, 14. Februar 2012, 23:27:29 schrieb Alexey Orishko:
> On Tue, Feb 14, 2012 at 8:46 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
> >
> > Can a USB expert please sanity check this before I apply it?
>
> I would recommend to change CDC_NCM_NTB_MAX_SIZE_TX(RX) to 32K and
> simply set MAX_DATAGRAM_SIZE to 16K

Have you tried that under severe memory presssure?

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/