Re: [dpdk-dev] [PATCH] net/bnxt: cleanup and fixes in Rx/Tx queue release ops

2020-10-21 Thread Ajit Khaparde
On Mon, Oct 19, 2020 at 9:19 PM Somnath Kotur wrote: > > Some of the ring related memory was not being freed in both the release > ops. Fix to free them now > Add some more NULL ptr checks in the corresponding queue_release_mbufs() > and queue_release_op() respectively. > Also call queue_release_o

[dpdk-dev] [PATCH] net/bnxt: cleanup and fixes in Rx/Tx queue release ops

2020-10-20 Thread Somnath Kotur
Some of the ring related memory was not being freed in both the release ops. Fix to free them now Add some more NULL ptr checks in the corresponding queue_release_mbufs() and queue_release_op() respectively. Also call queue_release_op() in the error path of the corresponding queue_setup_op() Fixes