numam-dpdk/lib/librte_eventdev
Nikhil Rao 2af3bd0ee3 eventdev: check error in default Rx conf callback
The default adapter configuration callback is invoked when a Rx
queue is added to the adapter and the adapter detects that a SW
service is needed. The adapter needs to re-configure the device
with an additional port and to do do, it needs to stop the
device and restart it after it is done reconfiguring it. This
patch adds code to check the return code of
rte_event_dev_start() for both when the reconfiguration fails
and when it succeeds and introduces a new error code (-EIO)
for the first case.

Coverity issue: 257000
Fixes: 9c38b704d2 ("eventdev: add eth Rx adapter implementation")
Cc: stable@dpdk.org

Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2018-02-06 22:09:17 +01:00
..
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_event_eth_rx_adapter.c eventdev: check error in default Rx conf callback 2018-02-06 22:09:17 +01:00
rte_event_eth_rx_adapter.h eventdev: check error in default Rx conf callback 2018-02-06 22:09:17 +01:00
rte_event_ring.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_event_ring.h ring: move code in a new header file 2018-01-29 16:04:43 +01:00
rte_eventdev_pmd_pci.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd_vdev.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd.h eventdev: add API to perform self test 2018-01-19 16:09:56 +01:00
rte_eventdev_version.map eventdev: add API to perform self test 2018-01-19 16:09:56 +01:00
rte_eventdev.c eventdev: add API to perform self test 2018-01-19 16:09:56 +01:00
rte_eventdev.h eventdev: add API to perform self test 2018-01-19 16:09:56 +01:00