> -----Original Message----- > From: Joyce Kong <joyce.k...@arm.com> > Sent: Friday, December 17, 2021 1:36 PM > To: Ruifeng Wang <ruifeng.w...@arm.com>; Xing, Beilei > <beilei.x...@intel.com> > Cc: dev@dpdk.org; n...@arm.com; Joyce Kong <joyce.k...@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.k...@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> Applied to dpdk-next-net-intel. Thanks Qi