commit | 4d619f625a6011618de9fccc4b282d314d792897 | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Fri Nov 01 11:16:49 2013 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 02 02:02:03 2013 -0400 |
tree | 6d5d366360ae74fe8cfde8a15170f25f9ae7df36 | |
parent | 9fe0234c0bf8b3c412df0adc9ebbe6a1e95daf51 [diff] |
net: cdc_ncm: no point in filling up the NTBs if we send ZLPs Padding NTBs to max size is part of the support for devices optimizing their DMA transfers. This optimization depends on max sized NTBs not being ZLP terminated. So we are much better off dropping the padding if we are going to send a ZLP anyway. Cc: Alexey Orishko <alexey.orishko@gmail.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>