[dpdk-dev] [PATCH] bnx2x: always reinitialize the rx queue indices

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Dec 13 01:25:27 CET 2015


2015-12-09 17:11, Chas Williams:
> If you stop and start the driver, the rx queue will have the previous
> index values when programming the adapter.  Therefore, we should always
> reset the queue indices when the rx ring is setup.  Note:  We need to
> clear (write) the status block's completion queue index since it is
> possibly in a read cache.
> 
> Tidy some init code to make it clearer what the defaults are.
> 
> Signed-off-by: Chas Williams <3chas3 at gmail.com>

Applied, thanks


More information about the dev mailing list