commit | ee45fd92c739db5b7950163d91dfe5f016af6d24 | [log] [tgz] |
---|---|---|
author | Jon Cooper <jcooper@solarflare.com> | Mon Sep 02 18:24:29 2013 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Fri Sep 20 19:31:52 2013 +0100 |
tree | 43955c4c76179b0e80449a4a2c3ae0cb77942006 | |
parent | 0fe5565b64667677a405cf14df49a7af8de4bff4 [diff] |
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 <bhutchings@solarflare.com>