Hi, > -----Original Message----- > From: Viacheslav Ovsiienko <viachesl...@nvidia.com> > Sent: Sunday, March 7, 2021 1:46 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh <rasl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com>; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix Rx metadata leftovers > > The Rx metadata might use the metadata register C0 to keep the > values. The same register C0 might be used by kernel for source > vport value handling, kernel uses upper half of the register, > leaving the lower half for application usage. > > In the extended metadata mode 1 (dv_xmeta_en devarg is > assigned with value 1) the metadata width is 16 bits only, > the Rx datapath code fetched the entire 32-bit value of the > metadata register and presented one to application. The patch > provides data masking depending on the chosen metadata mode. > > Fixes: 6c55b622a956 ("net/mlx5: set dynamic flow metadata in Rx queues") > Cc: sta...@dpdk.org > > Signed-off-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh