diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-09-27 17:21:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-30 21:52:53 -0700 |
commit | 56d7b53f47e7c9a0ab1c6289f2669a8d3a65cf17 (patch) | |
tree | d07ed00e0c65e64622b53182ad063e7cd51675c4 /net/dcb | |
parent | 12861b7bc2a32f7d36cdbc2ab5236819fa203836 (diff) | |
download | op-kernel-dev-56d7b53f47e7c9a0ab1c6289f2669a8d3a65cf17.zip op-kernel-dev-56d7b53f47e7c9a0ab1c6289f2669a8d3a65cf17.tar.gz |
ethernet: use likely() for common Ethernet encap
Mark code path's likely/unlikely based on most common usage.
* Very few devices use dsa tags.
* Most traffic is Ethernet (not 802.2)
* No sane person uses trailer type or Novell encapsulation
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions