net/ena: add reset routine
authorMichal Krawczyk <mk@semihalf.com>
Thu, 7 Jun 2018 09:43:04 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit2081d5e2e92d21d26988332862c8a3d3adc06f0a
tree2dce430b99b317529c1481466056ee5a2f391ba3
parent53b61841108780e59858a2258ff450aafa1392bf
net/ena: add reset routine

Reset routine can be used by the DPDK application to reset the device in
case of receiving RTE_ETH_EVENT_INTR_RESET from the PMD.

The reset event is not triggered by the driver, yet. It will be added in
next commits to enable error recovery in case of misfunctioning of the
device.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c
drivers/net/ena/ena_ethdev.h