Determine pkt type in dpdk-input node using ethertype only (VPP-647) 63/5563/4
authorJohn Lo <loj@cisco.com>
Tue, 28 Feb 2017 21:34:35 +0000 (16:34 -0500)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 2 Mar 2017 16:10:40 +0000 (16:10 +0000)
commit584282a1d2a283a2aefce6b543da022d95356c4e
tree2fd1bdde12338207ecdbf6024b18fa0899872530
parent8ab4ccc900d786f65e517d95c1317292e6c66f6c
Determine pkt type in dpdk-input node using ethertype only (VPP-647)

Remove reliance on DPDK driver provided mbuf packet type in dpdk-input
node as some NIC driver provide misleading information. Now using
ethertype from the packet itself to determine packet type for next node.

Change-Id: Ie7b514a984f9382c29f1a1e3eb423d68f817c064
Signed-off-by: John Lo <loj@cisco.com>
src/plugins/dpdk/device/node.c