diff options
| author | Ezequiel Garcia <[email protected]> | 2014-05-30 13:40:07 -0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-06-02 16:16:05 -0700 |
| commit | 2e3173a3d38bbb5e29a6a734e7366855c12efbe9 (patch) | |
| tree | 7a13e38888596dbceb401a7fae2a87481426fa39 /tools/perf/scripts/python | |
| parent | ba7e46ef9d4550f76efb70739728c50bbf94c3a9 (diff) | |
net: mvneta: Avoid unmapping the TSO header buffers
The buffers for the TSO headers belong to a DMA coherent region which is
allocated at ndo_open() time, and released at ndo_stop() time.
Therefore, and contrary to the TSO payload descriptor buffers, the TSO header
buffers don't need to be unmapped. This commit adds a check to detect a
TSO header buffer and explicitly prevent the unmap.
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions