From: Bjørn Mork Date: Fri, 1 Nov 2013 10:16:49 +0000 (+0100) Subject: net: cdc_ncm: no point in filling up the NTBs if we send ZLPs X-Git-Tag: v3.13-rc1~105^2~79^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d619f625a6011618de9fccc4b282d314d792897;p=pandora-kernel.git 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 Signed-off-by: Bjørn Mork Signed-off-by: David S. Miller --- Reading git-diff-tree failed