net/ena: do not reconfigure queues on reset
authorRafal Kozik <rk@semihalf.com>
Fri, 14 Dec 2018 13:18:36 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commite457bc70e5d6d589b1c3e1e93979aa42a64fbc06
tree5de49dbff9fc30a8cc2e293b28de4a17b4c90277
parent26e5543dc85b3be23879ba90ddb00e3456179805
net/ena: do not reconfigure queues on reset

Reset function should return the port to initial state, in which no Tx
and Rx queues are setup. Then application should reconfigure the queues.

According to DPDK documentation the rte_eth_dev_reset() itself is a
generic function which only does some hardware reset operations through
calling dev_unint() and dev_init().

ena_com_dev_reset which perform NIC registers reset should be called
during stop.

Fixes: 2081d5e2e92d ("net/ena: add reset routine")
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