[dpdk-dev] [PATCH] net/octeontx: fix stop clearing fastpath functions

Thomas Monjalon thomas at monjalon.net
Thu Aug 2 10:01:10 CEST 2018


> > On dev_stop the Rx/Tx_burst functions are being set to NULL, this causes
> > a SEGFAULT in cases where control path calls stop and a paket is still
> > being processed by a worker.
> > Instead clear the fastpath functions in dev_close.
> > 
> > Fixes: da6c687471a3 ("net/octeontx: add start and stop support")
> 
> Cc: stable at dpdk.org
> 
> > 
> > Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> 
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Applied, thanks

Renamed "fastpath" to "Rx/Tx" to be more explicit.





More information about the dev mailing list