diff options
author | Bjørn Mork <bjorn@mork.no> | 2014-05-16 21:48:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-16 22:39:01 -0400 |
commit | 70559b8970e52aa9962dc823fd4498af06809544 (patch) | |
tree | 830aa1d9187223a54eb91bbe0f904c7cd72c98bd /fs/logfs | |
parent | 6c4e548ff36672eeb78f8288a2920d66fa4a6a66 (diff) | |
download | lwn-70559b8970e52aa9962dc823fd4498af06809544.tar.gz lwn-70559b8970e52aa9962dc823fd4498af06809544.zip |
net: cdc_ncm: use true max dgram count for header estimates
Many newer NCM and MBIM devices will request a maximum tx
datagram count which is much smaller than our hard-coded
absolute max. We can reduce the overhead without sacrificing
any of the simplicity for these devices, by simply using the
true negotiated count in when calculated the maximum NTH and
NDP header sizes.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/logfs')
0 files changed, 0 insertions, 0 deletions