RE: [PATCH 0/2] mlx5: fix miss NULL check in devargs parsing

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, October 24, 2022 3:34 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko > Subject: [PATCH 0/2] mlx5: fix miss NULL check in devargs parsing > > The MLX5 PMD parses th

[PATCH 0/2] mlx5: fix miss NULL check in devargs parsing

2022-10-24 Thread Michael Baum
The MLX5 PMD parses the devargs in several places. It gets structure called "devargs" as a member of EAL device containing all needed information. When "devargs" structure is invalid, the PMD avoids parsing it. However, when it valid but its field "args" is invalid, the PMD tries to parse it and d