[PATCH v2 1/2] net/mlx5: fix metadata endianness in modify field action

Raslan Darawsheh rasland at nvidia.com
Wed Feb 9 09:50:17 CET 2022


Hi,

> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo at nvidia.com>
> Sent: Thursday, February 3, 2022 10:47 AM
> To: dev at dpdk.org
> Cc: ferruh.yigit at intel.com; Matan Azrad <matan at nvidia.com>; Raslan
> Darawsheh <rasland at nvidia.com>; stable at dpdk.org
> Subject: [PATCH v2 1/2] net/mlx5: fix metadata endianness in modify field
> action
> 
> As modify field action immediate source parameter the metadata should
> follow the CPU endianness (according to SET_META action structure format),
> and mlx5 PMD wrongly handled the immediate parameter metadata buffer
> as big-endian, resulting in wrong metadata set action with incorrect
> endianness.
> 
> Fixes: 40c8fb1fd3b3 ("net/mlx5: update modify field action")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list