Re: [dpdk-dev] [PATCH] net/mlx5: fix use of uninitialized array

2020-02-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dekel Peled > Sent: Wednesday, February 5, 2020 8:42 AM > To: Matan Azrad ; Slava Ovsiienko > ; Raslan Darawsheh > Cc: dev@dpdk.org; Bing Zhao > Subject: [PATCH] net/mlx5: fix use of uninitialized array > > Previous patch changed the format of struct >

Re: [dpdk-dev] [PATCH] net/mlx5: fix use of uninitialized array

2020-02-04 Thread Slava Ovsiienko
Very nice, Dekel, we found the root cause of the failure. Acked-by: Viacheslav Ovsiienko > -Original Message- > From: Dekel Peled > Sent: Wednesday, February 5, 2020 8:42 > To: Matan Azrad ; Slava Ovsiienko > ; Raslan Darawsheh > Cc: dev@dpdk.org; Bing Zhao > Subject: [PATCH] net/mlx5

[dpdk-dev] [PATCH] net/mlx5: fix use of uninitialized array

2020-02-04 Thread Dekel Peled
Previous patch changed the format of struct mlx5_flow_dv_modify_hdr_resource, to use a flexible array for modification actions. In __flow_dv_translate() a union was defined with item of this struct, and an array of maximal possible size. Aray elements are filled in several functions. In function fl