[dpdk-dev] [PATCH v4 1/2] i40e: Add packet_type metadata in the i40e vPMD

Chen, Jing D jing.d.chen at intel.com
Thu Oct 6 17:28:39 CEST 2016


> -----Original Message-----
> From: Shaw, Jeffrey B
> Sent: Wednesday, October 5, 2016 11:38 PM
> To: dev at dpdk.org
> Cc: Zhang, Helin <helin.zhang at intel.com>; Wu, Jingjing
> <jingjing.wu at intel.com>; damarion at cisco.com; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Chen, Jing D <jing.d.chen at intel.com>
> Subject: [PATCH v4 1/2] i40e: Add packet_type metadata in the i40e vPMD
> 
> From: Damjan Marion <damarion at cisco.com>
> 
> The ptype is decoded from the rx descriptor and stored in the packet type
> field in the mbuf using the same function as the non-vector driver.
> 
> Signed-off-by: Damjan Marion <damarion at cisco.com>
> Signed-off-by: Jeff Shaw <jeffrey.b.shaw at intel.com>
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>
> ---
> 
> Changes in v2:
>  - Add missing reference to i40e_recv_scattered_pkts_vec() when
>    querying supported packet types.
> 
> Changes in v3:
>  - None. (Please ignore this version).
> 
> Changes in v4:
>  - Fix rss/fdir status mask and shift to get accurate Flow Director Filter
>    Match (FLM) indication.
> 
>  drivers/net/i40e/i40e_rxtx.c     | 567 +--------------------------------------
>  drivers/net/i40e/i40e_rxtx.h     | 563
> ++++++++++++++++++++++++++++++++++++++
>  drivers/net/i40e/i40e_rxtx_vec.c |  16 ++
>  3 files changed, 582 insertions(+), 564 deletions(-)
Acked-by : Jing Chen <jing.d.chen at intel.com>



More information about the dev mailing list