numam-dpdk/drivers/net/ena
Michal Krawczyk df238f84c0 net/ena: recreate HW IO rings on start and stop
On the start the driver was refilling all Rx buffs, but the old ones
were not released. That way running start/stop for a few times was
causing device to run out of descriptors.

To fix the issue, IO rings are now being destroyed on stop, and
recreated on start. That way the device is not losing any descriptors.

Furthermore, there was also memory leak for the Rx mbufs, which were
created on start and not destroyed on stop.

Fixes: eb0ef49dd5 ("net/ena: add stop and uninit routines")
Cc: stable@dpdk.org

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
2018-10-26 22:14:06 +02:00
..
base net/ena: fix FreeBSD build 2018-06-19 10:20:01 +02:00
ena_ethdev.c net/ena: recreate HW IO rings on start and stop 2018-10-26 22:14:06 +02:00
ena_ethdev.h net/ena: adjust error checking and cleaning 2018-06-14 19:27:50 +02:00
ena_logs.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
ena_platform.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
Makefile net/ena: add watchdog and keep alive AENQ handler 2018-06-14 19:27:50 +02:00
meson.build net/ena: add to meson build 2018-06-14 19:27:50 +02:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00