Hi, > -----Original Message----- > From: Alexander Kozyrev <[email protected]> > Sent: Wednesday, June 16, 2021 5:46 PM > To: [email protected] > Cc: Raslan Darawsheh <[email protected]>; Slava Ovsiienko > <[email protected]>; Matan Azrad <[email protected]> > Subject: [PATCH] net/mlx5: convert meta register to big-endian > > Metadata is stored in the CPU order (little-endian format on x86), > while all the packet header fields are stored in the network order. > That leads to the wrong results whenever we try to use the metadata > value in the modify_field actions: bytes are swapped as a result. > > Convert the metadata into the big-endian format before storing it > in the Mellanox NIC to achieve consistent behaviour. > > Signed-off-by: Alexander Kozyrev <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

