RE: [PATCH v2] net/mlx5/hws: fix possible action setter segmenation fault

2022-11-08 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alex Vesker > Sent: Monday, November 7, 2022 12:18 PM > To: Alex Vesker ; Slava Ovsiienko > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Suanming Mou ; > Matan Azrad > Cc: dev@dpdk.org; Ori Kam > Subject: [PATCH v2] net/ml

[PATCH v2] net/mlx5/hws: fix possible action setter segmenation fault

2022-11-07 Thread Alex Vesker
When the maximum action combination in RX is used we can get a segfault due to an incorrecrt max array size define. This bug can happen on RX/TX or FDB in the most complex cases. Current max was set to 7, but actual max is: Max TX: 8, Max RX: 10, Max FDB: 9 Fixes: f8c8a6d ("net/mlx5/hws: add actio