RE: [PATCH v2] net/mlx5/hws: fix action creation check for HWS support

2022-11-08 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alex Vesker > Sent: Monday, November 7, 2022 1:04 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 action creation check for HWS support

2022-11-07 Thread Alex Vesker
Fix segmentation fault when a user will request to allocate a HWS action while current device doesn't support HWS. Fixes: f8c8a6d ("net/mlx5/hws: add action object") Signed-off-by: Alex Vesker Reviewed-by: Erez Shitrit Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_action.c | 7 +++