diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-09-28 02:21:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-01 06:52:53 +0200 |
commit | 56d7b53f47e7c9a0ab1c6289f2669a8d3a65cf17 (patch) | |
tree | d07ed00e0c65e64622b53182ad063e7cd51675c4 /net/openvswitch/vport-vxlan.c | |
parent | ethernet: cleanup eth_type_trans (diff) | |
download | linux-56d7b53f47e7c9a0ab1c6289f2669a8d3a65cf17.tar.xz linux-56d7b53f47e7c9a0ab1c6289f2669a8d3a65cf17.zip |
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/openvswitch/vport-vxlan.c')
0 files changed, 0 insertions, 0 deletions