Re: [dpdk-dev] [PATCH 2/6] net/mlx5: fix PCI probing error flow

2021-09-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Tuesday, August 31, 2021 11:37 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > sta...@dpdk.org > Subject: [PATCH 2/6] net/mlx5: fix PCI probing error flow > How about changing to something like this:

[dpdk-dev] [PATCH 2/6] net/mlx5: fix PCI probing error flow

2021-08-31 Thread Michael Baum
In PCI probing, there is internal probe function that is called several times for several PFs. When one of them fails, the previous PFs are not destroyed what may cause a memory leak. Destroy them. Fixes: 08c2772fc747 ("net/mlx5: support list of representor PF") Cc: sta...@dpdk.org Signed-off-b