RE: [PATCH v2] common/mlx5: fix MPRQ mempool registration

2021-11-16 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dmitry Kozlyuk > Sent: Tuesday, November 16, 2021 1:56 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko > Subject: [PATCH v2] common/mlx5: fix MPRQ mempool registration > > Mempool registration

[PATCH v2] common/mlx5: fix MPRQ mempool registration

2021-11-16 Thread Dmitry Kozlyuk
Mempool registration code had a wrong assumption that it is always dealing with packet mempools and always called rte_pktmbuf_priv_flags(), which returned a random value for different types of mempools. In particular, it could consider MPRQ mempools as having externally pinned buffers, which is wro