numam-dpdk/drivers/net
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
..
af_packet ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
ark ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
atlantic net/atlantic: read MAC registers for debug purposes 2018-10-18 10:24:39 +02:00
avf drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
avp ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
axgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bnx2x net/bnx2x: remove profanity 2018-10-18 10:24:39 +02:00
bnxt ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bonding ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
cxgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
dpaa ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
dpaa2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
e1000 drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
ena net/ena: recreate HW IO rings on start and stop 2018-10-26 22:14:06 +02:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: add missing Tx offload flags 2018-10-26 22:14:05 +02:00
failsafe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
fm10k ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
i40e drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
ifc drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
ixgbe drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
kni ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
liquidio ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx4 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx5 net/mlx5: close all ports on remove 2018-10-26 22:14:06 +02:00
mvneta ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mvpp2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
netvsc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
nfp net/nfp: fix RSS 2018-10-11 18:53:48 +02:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
pcap ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
qede net/*/base: allow experimental APIs 2018-10-26 22:14:06 +02:00
ring ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
sfc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
softnic ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
thunderx net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
vdev_netvsc drivers/net: fix log type string 2018-10-11 18:53:49 +02:00
vhost ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
virtio ethdev: remove deprecated attach/detach functions 2018-10-26 22:14:05 +02:00
vmxnet3 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
Makefile net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00
meson.build net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00