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

2021-05-18 Thread Slava Ovsiienko
, 2021 14:33 To: NBU-Contact-Thomas Monjalon ; Alexander Kozyrev ; Raslan Darawsheh Cc: dev@dpdk.org; sta...@dpdk.org; Raslan Darawsheh ; Matan Azrad ; Slava Ovsiienko Subject: Re: [dpdk-dev] [PATCH] net/mlx5: check meta register width for modify field I didn't plan to have it in this release

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

2021-05-18 Thread Asaf Penso
revert it. Regards, Asaf Penso From: Thomas Monjalon Sent: Tuesday, May 18, 2021 12:43:34 PM To: Alexander Kozyrev Cc: dev@dpdk.org ; sta...@dpdk.org ; Raslan Darawsheh ; Matan Azrad ; Slava Ovsiienko ; Asaf Penso Subject: Re: [dpdk-dev] [PATCH] net/mlx5: check

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

2021-05-18 Thread Thomas Monjalon
> > 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

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

2021-05-18 Thread Slava Ovsiienko
> -Original Message- > From: Alexander Kozyrev > Sent: Thursday, May 13, 2021 22:55 > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad > Subject: [PATCH] net/mlx5: check meta register width for modify field > > The modify_field Flow API assumes t

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

2021-05-13 Thread Alexander Kozyrev
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 modi