Re: [dpdk-dev] [PATCH] net/mlx5: fix modify field action endianness

2021-04-11 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Friday, April 2, 2021 5:08 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko > Subject: [PATCH] net/mlx5: fix modify field action endianness > > Converting modify_field action masks to the big end

Re: [dpdk-dev] [PATCH] net/mlx5: fix modify field action endianness

2021-04-07 Thread Slava Ovsiienko
> -Original Message- > From: Alexander Kozyrev > Sent: Friday, April 2, 2021 5:08 > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko > Subject: [PATCH] net/mlx5: fix modify field action endianness > > Converting modify_field action masks to the big endian form

[dpdk-dev] [PATCH] net/mlx5: fix modify field action endianness

2021-04-01 Thread Alexander Kozyrev
Converting modify_field action masks to the big endian format is wrong for small (less than 4 bytes) fields. Use the BE conversions appropriate for a field size, not rte_cpu_to_be_32 for everything. Fixes: 7ffda9dbed ("net/mlx5: adjust modify field action endianness") Cc: sta...@dpdk.org Signed-o