diff options
author | Michael Chan <michael.chan@broadcom.com> | 2019-07-09 03:50:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-09 12:17:54 -0700 |
commit | 12479f627f7c2017e6fcd50b56c2537592674c50 (patch) | |
tree | ed3a0007a7c06837b2c72670a7361be7db4a2473 /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 216dcb059b767ef526499f3ed287e98b37af03c3 (diff) |
bnxt_en: Add page_pool_destroy() during RX ring cleanup.
Add page_pool_destroy() in bnxt_free_rx_rings() during normal RX ring
cleanup, as Ilias has informed us that the following commit has been
merged:
1da4bbeffe41 ("net: core: page_pool: add user refcnt and reintroduce page_pool_destroy")
The special error handling code to call page_pool_free() can now be
removed. bnxt_free_rx_rings() will always be called during normal
shutdown or any error paths.
Fixes: 322b87ca55f2 ("bnxt_en: add page_pool support")
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Acked-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
0 files changed, 0 insertions, 0 deletions