commit | dc54a08cd3620e6457382c0cd0c8f03513dd749a | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Tue Jan 24 13:06:08 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 24 16:29:00 2017 -0500 |
tree | 5661b5350c2fee7199899e5ff36766280101ec08 | |
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 <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>