diff options
| author | Eric Dumazet <[email protected]> | 2013-08-01 06:49:52 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-08-03 21:55:52 -0700 |
| commit | f27070158d6754765f2f5fd1617e8e42a0ea2318 (patch) | |
| tree | e203a11394a14d0a4659933e6210e7bfe0f50661 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 0e76a3a587fc7abda2badf249053b427baad255e (diff) | |
ax88179_178a: avoid copy of tx tcp packets
ax88179_tx_fixup() has quite complex code trying to push 8 bytes
of control data (len/mss), but fails to do it properly for TCP packets,
incurring an extra copy and point of memory allocation failure.
Lets use the simple and approved way.
dev->needed_headroom being 8, all frames should have 8 bytes of
headroom, so the extra copy should be unlikely anyway.
This patch should improve performance for TCP xmits.
Reported-by: Ming Lei <[email protected]>
Tested-by: Ming Lei <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions