diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-02-27 20:50:38 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-03-12 21:07:56 +0400 |
commit | fae8563b25f73dc584a07bcda7a82750ff4f7672 (patch) | |
tree | 3a3722b4905ad3de3cc467108290ae4a779249f7 /drivers/pinctrl/pinconf-generic.c | |
parent | c73e787a8db9117d59b5180baf83203a42ecadca (diff) | |
download | linux-fae8563b25f73dc584a07bcda7a82750ff4f7672.tar.xz |
sfc: Only use TX push if a single descriptor is to be written
Using TX push when notifying the NIC of multiple new descriptors in
the ring will very occasionally cause the TX DMA engine to re-use an
old descriptor. This can result in a duplicated or partly duplicated
packet (new headers with old data), or an IOMMU page fault. This does
not happen when the pushed descriptor is the only one written.
TX push also provides little latency benefit when a packet requires
more than one descriptor.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
0 files changed, 0 insertions, 0 deletions