[dpdk-dev] [PATCH] net/mlx5: check meta register width for modify field

Thomas Monjalon thomas at monjalon.net
Tue May 18 11:43:34 CEST 2021


> > The modify_field Flow API assumes that the META item is 32 bits wide.
> > But the C Register that is used for Meta item can be 16 or 32 bits wide
> > depending on kernel and firmware configurations.
> > Take this into consideration and use the appropriate META width.
> > 
> > Fixes: 641dbe4fb0 ("net/mlx5: support modify field flow action")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Applied in next-net-mlx, thanks.





More information about the dev mailing list