[dpdk-dev] [PATCH v6 0/8] Interrupt mode PMD

Stephen Hemminger stephen at networkplumber.org
Wed Mar 4 01:52:57 CET 2015


On Fri, 27 Feb 2015 11:38:25 +0100
David Marchand <david.marchand at 6wind.com> wrote:

> Ok, so after looking at this patchset, I would say this is the right direction, but still this is too limited.
> The ethdev part and the vfio eventfds part look acceptable to me.
> But thinking about it, I could just reuse a standard event library with the eventfds I would get from ethdev without a need for a new eal api.

I would prefer that there was just an fd and a callback.
An application should be able to use what ever event model or library it wants.

IMHO the existing interrupt thread model is incorrectly designed and creates
lots of opportunities for races because of that. Look at the effort it has to
use to pass the event back to link state code.



More information about the dev mailing list