[dpdk-dev] [PATCH v2] nfp: avoiding concurrency when hardware reconfig

2016-05-03 Thread Bruce Richardson
On Tue, Apr 26, 2016 at 02:03:01PM +0100, Alejandro Lucero wrote: > Some apps calling some functions from different threads at the > same time could lead to reconfig problems. Reconfig mechanism is > based on a hardware queue where incrementing a counter signals the > firmware to do the reconfig.

[dpdk-dev] [PATCH v2] nfp: avoiding concurrency when hardware reconfig

2016-04-26 Thread Alejandro Lucero
Some apps calling some functions from different threads at the same time could lead to reconfig problems. Reconfig mechanism is based on a hardware queue where incrementing a counter signals the firmware to do the reconfig. If there are two increments before the first one has been processed the