erj 68049ffe3a iflib: cleanup memory leaks on driver detach
From Jake:
The iflib stack failed to release all of the memory allocated under
M_IFLIB during device detach.

Specifically, the ifmp_ring, the ift_ifdi Tx DMA info, and the ifr_ifdi Rx
DMA info were not being released.

Release this memory so that iflib won't leak memory when a device
detaches.

Since we're freeing the ift_ifdi pointer during iflib_txq_destroy we
need to call this only after iflib_dma_free in iflib_tx_structures_free.

Additionally, also ensure that we destroy the callout mutex associated
with each Tx queue when we free it.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Submitted by:	Jacob Keller <jacob.e.keller@intel.com>
Reviewed by:	erj@, gallatin@
MFC after:	1 week
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D22157
2019-10-30 20:45:12 +00:00
..
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2018-05-31 09:11:21 +00:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2019-10-07 22:40:05 +00:00
2019-10-07 22:40:05 +00:00
2019-10-07 22:40:05 +00:00
2019-07-25 22:23:34 +00:00
2019-07-24 16:10:20 +00:00
2019-09-17 18:49:13 +00:00
2019-09-30 15:59:07 +00:00
2019-05-09 11:34:46 +00:00
2019-10-07 22:40:05 +00:00
2019-03-15 11:08:44 +00:00
2018-06-16 19:21:09 +00:00
2019-10-18 15:20:24 +00:00
2019-10-18 15:20:24 +00:00
2019-10-07 22:40:05 +00:00
2019-10-08 11:06:24 +00:00