[dpdk-dev] [PATCH v2] eventdev: fix unchecked return in default Rx adapter conf cb
Thomas Monjalon
thomas at monjalon.net
Tue Feb 6 21:24:53 CET 2018
> > 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.
> >
> > Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation")
> > Coverity issue: 257000
> >
> > Signed-off-by: Nikhil Rao <nikhil.rao at intel.com>
>
> Cc: stable at dpdk.org
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
Applied, thanks
More information about the dev
mailing list