[dpdk-dev] [PATCH v2 05/11] eal/linux: add intr api to report multi-vector capability

Liang, Cunming cunming.liang at intel.com
Wed Nov 4 02:21:27 CET 2015


Hi David,

On 11/2/2015 11:59 PM, David Marchand wrote:
> 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.
Yes, you're right. Thanks.
>



More information about the dev mailing list