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

2022-02-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Slava Ovsiienko > Sent: Thursday, February 3, 2022 10:47 AM > To: dev@dpdk.org > Cc: ferruh.yi...@intel.com; Matan Azrad ; Raslan > Darawsheh ; sta...@dpdk.org > Subject: [PATCH v2 1/2] net/mlx5: fix metadata endianness in modify f

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

2022-02-03 Thread Viacheslav Ovsiienko
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. Fix