Use SSE instructions for matching tagged frames by ethertype 38/2938/4
authorDamjan Marion <damarion@cisco.com>
Mon, 19 Sep 2016 09:32:03 +0000 (11:32 +0200)
committerJohn Lo <loj@cisco.com>
Tue, 20 Sep 2016 17:37:02 +0000 (17:37 +0000)
commitb94bdad5c04450aad59feb8a5806a87fe37da088
tree3b4bd38253e5b00d76c8a66ae83dc710f3a10003
parent48a9a54e7c8e295c0cba3491a05c8aa0a5a1f81a
Use SSE instructions for matching tagged frames by ethertype

This change improves performance in l2 scenarios for about 1-2%.

Change-Id: Ie35ed8ad70a3b95dd78c0d158c485a10dabaf0eb
Signed-off-by: Damjan Marion <damarion@cisco.com>
vnet/vnet/ethernet/ethernet.h
vnet/vnet/ethernet/node.c
vnet/vnet/l2/l2_input.h