[dpdk-dev] [PATCH v2] fm10k: set packet type for multi-segment packets

Chen, Jing D jing.d.chen at intel.com
Mon Apr 18 16:05:23 CEST 2016


Hi,

> -----Original Message-----
> From: Michael Frasca [mailto:michael.frasca at oracle.com]
> Sent: Monday, April 18, 2016 8:52 PM
> To: Chen, Jing D <jing.d.chen at intel.com>
> Cc: dev at dpdk.org; Michael Frasca <michael.frasca at oracle.com>
> Subject: [PATCH v2] fm10k: set packet type for multi-segment packets
> 
> When building a chain of mbufs for a multi-segment packet, the packet_type
> field resides at the end of the chain. It should be copied forward to the head
> of the list.
> 
> Also, uses RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE to guard packet-type
> computation. The mbuf fields are not copied when this define is not set.
> 
> Fixes: fe65e1e1ce61 ("fm10k: add vector scatter Rx")
> 
> Signed-off-by: Michael Frasca <michael.frasca at oracle.com>
Acked-by : Jing Chen <jing.d.chen at intel.com>



More information about the dev mailing list