On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang <cunming.liang at intel.com> wrote:
> VFIO allows multiple MSI-X vector, others doesn't, but maybe will allow it > in the future. > Device drivers need to be aware of the capability. > It's better to avoid condition check on interrupt type(VFIO) everywhere, > instead > a capability api is more flexible for the condition change. > > Signed-off-by: Cunming Liang <cunming.liang at intel.com> > --- > lib/librte_eal/linuxapp/eal/eal_interrupts.c | 9 > +++++++++ > lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h | 10 > ++++++++++ > lib/librte_eal/linuxapp/eal/rte_eal_version.map | 7 +++++++ > 3 files changed, 26 insertions(+) > > BSD has wrappers for the rest of this api, please add one for this too. -- David Marchand