net/i40e: add packet type metadata in vector Rx
authorDamjan Marion <damarion@cisco.com>
Thu, 6 Oct 2016 06:38:09 +0000 (02:38 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commit5ea0942129a45be1a1e06e814fb3c9ade8a71f3a
tree56b0c26d5edb1e9f77ff9b2b9426534bc8b78fc7
parentc771e4ef3898152b0a7a4b3dcb80356306bd39e7
net/i40e: add packet type metadata in vector Rx

The ptype is decoded from the Rx descriptor and stored
in the packet type field in the mbuf using the same function
in the non-vector driver.

Signed-off-by: Damjan Marion <damarion@cisco.com>
Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/i40e/i40e_rxtx.c
drivers/net/i40e/i40e_rxtx.h
drivers/net/i40e/i40e_rxtx_vec.c