On Wed, 16 Sep 2015 22:51:24 +0100
Pablo de Lara <pablo.de.lara.guarch at intel.com> wrote:

> This is important to avoid trying to start/stop twice a queue,
> which will result in undefined behaviour
> (which may cause RX/TX disruption).
> 
> Mind that only the PMDs which have queue_start/stop functions
> have been changed to update this field, as the functions will
> check the queue state before switching it.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

I agree that the DPDK API should check for buggy manipulation
in the control path. But this should be done in generic code.
Anything where you have to change any driver is making more work
than necessary.

Reply via email to