[PATCH v1] net/i40e: add flow mark capability to NEON vector routine

Zhang, Qi Z qi.z.zhang at intel.com
Tue Feb 15 09:03:21 CET 2022



> -----Original Message-----
> From: Joyce Kong <joyce.kong at arm.com>
> Sent: Friday, December 17, 2021 1:36 PM
> To: Ruifeng Wang <ruifeng.wang at arm.com>; Xing, Beilei
> <beilei.xing at intel.com>
> Cc: dev at dpdk.org; nd at arm.com; Joyce Kong <joyce.kong at arm.com>
> Subject: [PATCH v1] net/i40e: add flow mark capability to NEON vector routine
> 
> This commit adds a flow director support to i40e NEON vector RX path.
> 
> I40e can have 16 and 32 byte descriptors, and the Flow Director ID data and
> indication-bit are in different locations for each size descriptor. The support is
> implemented in two separate functions as they require vastly different
> operations.
> 
> The 16B descriptor re-purposes the "filter-status" u32 field to indicate FDIR ID
> when the FLM bit is set. No extra loads are required, however we do have to
> store to mbuf->fdir.hi, which is not stored to in the RX path before this patch.
> 
> The 32B descriptor requires loading the 2nd 16 bytes of each descriptor, to get
> the FLEXBH_STAT and FD Filter ID from qword3. The resulting data must also be
> stored to
> mbuf->fdir.hi, same as the 16B code path.
> 
> Signed-off-by: Joyce Kong <joyce.kong at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list