diff options
| author | stephen hemminger <[email protected]> | 2017-01-24 13:06:08 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-24 16:29:00 -0500 |
| commit | dc54a08cd3620e6457382c0cd0c8f03513dd749a (patch) | |
| tree | 5661b5350c2fee7199899e5ff36766280101ec08 /tools/perf/scripts/python | |
| parent | b8b835a89b2f7a7fe681983dfe5c489cb9ad9500 (diff) | |
netvsc: optimize receive path
Do manual optimizations of receive path:
- remove checks for impossible conditions (but keep checks
for bad data from host)
- pass argument down, rather than having callee recompute what
is already known
- remove indirection about receive buffer datalength
- remove dependence on VLAN_TAG_PRESENCE
- use _hot/_cold and likely/unlikely
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions