net/ena: fix cleaning HW IO rings configuration
authorRafal Kozik <rk@semihalf.com>
Wed, 14 Nov 2018 09:59:45 +0000 (10:59 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Nov 2018 10:49:51 +0000 (11:49 +0100)
commit778677dcb20cf29d966f239972b043f0640f55ef
treed3f2395bbe5bf41d22b9f4186d061ebe65ba36f6
parentfe4fc7d694386457edb793e41e2422243872c5a8
net/ena: fix cleaning HW IO rings configuration

When queues are stopped release Tx buffers.
During start initialize array of empty Tx/Rx reqs with default values.

Fixes: df238f84c0a2 ("net/ena: recreate HW IO rings on start and stop")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c