df238f84c0
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:
|
||
---|---|---|
.. | ||
base | ||
ena_ethdev.c | ||
ena_ethdev.h | ||
ena_logs.h | ||
ena_platform.h | ||
Makefile | ||
meson.build | ||
rte_pmd_ena_version.map |