RE: [PATCH] net/mlx5: remove unneeded SQ null checking

2022-10-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Wednesday, October 26, 2022 9:33 AM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH] net/mlx5: remove unneeded SQ null checking > > The ASO SQ is a dynamic a

[PATCH] net/mlx5: remove unneeded SQ null checking

2022-10-25 Thread Suanming Mou
The ASO SQ is a dynamic array in the ASO pool struct. That means the checking of the SQ pointer is incorrect and not needed. And the mlx5_aso_destroy_sq() function internally also checks if inside the SQ any resources need to be released or not. There is no need to have that extra checking. This c