Expand ethernet-input node speed-path for non-L2 paths 24/4324/2
authorJohn Lo <loj@cisco.com>
Wed, 14 Dec 2016 20:42:45 +0000 (15:42 -0500)
committerDave Barach <openvpp@barachs.net>
Thu, 15 Dec 2016 14:29:10 +0000 (14:29 +0000)
commitcc53285baf2c3a45b95e22dd66c8592d634568ee
tree649e864d9dfa163e7707a7fcbf9ac937cbe50852
parentfb9931ff1687e79461df5f92210d81d96fffa3ad
Expand ethernet-input node speed-path for non-L2 paths

Improve ethernet-input speed path for untagged packets to also handle
L3 and other forwarding paths. In the IP4 forwarding path for untagged
IP4 packets, per packet clock count in ethernet-input node is reduced
to ~14 clocks from ~43 clocks.

Change-Id: I8e6f121820e056d6085dff3eb95d6913fc422f99
Signed-off-by: John Lo <loj@cisco.com>
vnet/vnet/ethernet/node.c