From: Jon Cooper Date: Mon, 2 Sep 2013 17:24:29 +0000 (+0100) Subject: sfc: Use TX PIO for sufficiently small packets X-Git-Tag: v3.13-rc1~105^2~341^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee45fd92c739;p=pandora-kernel.git sfc: Use TX PIO for sufficiently small packets Sufficiently small linear packets can be copied into the PIO buffer with a single call to memcpy_toio(). Non-linear packets require an intermediate cache-line-sized buffer. [bwh: I wrote the first version of this, but Jon did the hard work to handle non-linear packets.] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed