diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-01-24 13:06:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-24 16:29:00 -0500 |
commit | dc54a08cd3620e6457382c0cd0c8f03513dd749a (patch) | |
tree | 5661b5350c2fee7199899e5ff36766280101ec08 /Kbuild | |
parent | b8b835a89b2f7a7fe681983dfe5c489cb9ad9500 (diff) | |
download | lwn-dc54a08cd3620e6457382c0cd0c8f03513dd749a.tar.gz lwn-dc54a08cd3620e6457382c0cd0c8f03513dd749a.zip |
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 <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions