> -----Original Message-----
> From: Joyce Kong <[email protected]>
> Sent: Friday, December 17, 2021 1:36 PM
> To: Ruifeng Wang <[email protected]>; Xing, Beilei
> <[email protected]>
> Cc: [email protected]; [email protected]; Joyce Kong <[email protected]>
> 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 <[email protected]>
> Reviewed-by: Ruifeng Wang <[email protected]>

Applied to dpdk-next-net-intel.

Thanks
Qi

Reply via email to