RE: [PATCH] common/mlx5: fix shared MR ranges allocation

2021-11-23 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Tuesday, November 23, 2021 2:49 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh ; Dmitry Kozlyuk > > Subject: [PATCH] common/mlx5: fix shared MR ranges allocation > > Memor

[PATCH] common/mlx5: fix shared MR ranges allocation

2021-11-23 Thread Bing Zhao
Memory regions (MRs) were allocated in one chunk of memory with a mempool registration object. However, MRs can be reused among different mempool registrations. When the registration that allocated the MRs originally was destroyed, the dangling pointers to the MRs could be left in other registrati