net/bnxt: fix memzone free for Tx and Rx rings
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 20 Sep 2021 23:11:51 +0000 (16:11 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Sun, 26 Sep 2021 21:15:37 +0000 (23:15 +0200)
commit64a4d59df5d668e18762a80d360a1aa8a9e8d81d
tree9d7780b0ca18a4241189506d2c1efbd5fd310595
parent0f22fe124bffcbfa15a8179b9cc835ae64b1a3fe
net/bnxt: fix memzone free for Tx and Rx rings

The device cleanup logic was freeing most of the ring related memory,
but was not freeing up the memzone associated with the rings.
This patch fixes the issue.

Fixes: 2eb53b134aae ("net/bnxt: add initial Rx code")
Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c
drivers/net/bnxt/bnxt_txr.c