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>