Re: [dpdk-dev] [PATCH] net/mlx4: fix buffer leakage on device close

2021-04-28 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Saturday, April 17, 2021 8:14 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Matan > Azrad ; Ori Kam > Subject: [PATCH] net/mlx4: fix buffer leakage on device close > > The mlx4 PMD tracks the buffers (mbufs)

[dpdk-dev] [PATCH] net/mlx4: fix buffer leakage on device close

2021-04-17 Thread Viacheslav Ovsiienko
The mlx4 PMD tracks the buffers (mbufs) for the packets being transmitted in the dedicated array named as "elts". The tx_burst routine frees the mbufs from this array once it needs to rearm the hardware descriptor and store the new mbuf, so it looks like as replacement mbuf pointer in the elts arra