Dowiedziałem się, że patch nr. 7 będzie przeportowany do 3.10.x. Oraz że można spróbować na sztywno zmienić rożmiar bufora poprzez edycje lini
#define CDC_NCM_NTB_MAX_SIZE_TX 32768 /* bytes */
#define CDC_NCM_NTB_MAX_SIZE_RX 32768 /* bytes */
w cdc_ncm.h
Spróbuje może jutro.
Cytuje autora
"Well, without the ability to tune the buffers after init, you can just
as well simply change these values in v3.10:
#define CDC_NCM_NTB_MAX_SIZE_TX 32768 /* bytes */
#define CDC_NCM_NTB_MAX_SIZE_RX 32768 /* bytes */
It is much simpler and will have the same effect.
Patch no. 7 is a candidate for backporting on the other hand. I don't
know how important it is, but I have a feeling that the excessive zero
padding is a big part of the picture as well. If you have 32kB TX
buffers, and try to send a single packet larger than ~300 bytes, then
the driver will fill up the TX buffer with 31kB of zero bytes! This is
close to insane, but I haven't had much success arguing that we
shouldn't do it in the past. So patch no. 7 just tries to improve the
ratio a bit for the largest buffers, requiring you to have at least
~30kB of data to send before padding the rest of a 32kB buffer."