2014-05-27 14:40, Burakov, Anatoly:
> > 2014-05-27 14:29, Burakov, Anatoly:
> > > > > I don't know if there is something defined in a Linux header which
> > > > > could help to check if VFIO is supported. But in general, it's
> > > > > better to check for a macro belonging to the feature instead of
2014-05-27 14:29, Burakov, Anatoly:
> > > I don't know if there is something defined in a Linux header which could
> > > help to check if VFIO is supported. But in general, it's better to check
> > > for a macro belonging to the feature instead of checking kernel version.
> >
> > Not sure VFIO def
Hi Thomas,
> 2014-05-27 14:29, Burakov, Anatoly:
> > > > I don't know if there is something defined in a Linux header which
> > > > could help to check if VFIO is supported. But in general, it's
> > > > better to check for a macro belonging to the feature instead of checking
> kernel version.
> >
Hi Thomas,
> > I don't know if there is something defined in a Linux header which could
> help
> > to check if VFIO is supported. But in general, it's better to check for a
> > macro
> > belonging to the feature instead of checking kernel version.
>
> Not sure VFIO defines any macros anywhere, b
Creating code to handle VFIO interrupts in EAL interrupts, and also
adding a header eal_vfio.h.
This header checks two things:
* checks if CONFIG_RTE_EAL_VFIO was enabled during build time
* checks that kernel version is 3.6+ so that DPDK would still compile
on older kernels despite VFIO compila
Hi Thomas,
> I don't know if there is something defined in a Linux header which could help
> to check if VFIO is supported. But in general, it's better to check for a
> macro
> belonging to the feature instead of checking kernel version.
Not sure VFIO defines any macros anywhere, but I'll look i
Hi Thomas,
> In case VFIO is backported on older kernel, it would be better to check a
> related macro instead of Linux version.
Not sure I follow. What is the "related macro" you're referring to?
Best regards,
Anatoly Burakov
DPDK SW Engineer
2014-05-22 12:45, Burakov, Anatoly:
> > In case VFIO is backported on older kernel, it would be better to check a
> > related macro instead of Linux version.
>
> Not sure I follow. What is the "related macro" you're referring to?
I don't know if there is something defined in a Linux header which
2014-05-19 16:51, Anatoly Burakov:
> Creating code to handle VFIO interrupts in EAL interrupts, and also
> adding a header eal_vfio.h.
Maybe it's better to have 2 patches here.
> This header checks two things:
> * checks if CONFIG_RTE_EAL_VFIO was enabled during build time
> * checks that kernel
Creating code to handle VFIO interrupts in EAL interrupts, and also
adding a header eal_vfio.h.
This header checks two things:
* checks if CONFIG_RTE_EAL_VFIO was enabled during build time
* checks that kernel version is 3.6+ so that DPDK would still compile
on older kernels despite VFIO compila
10 matches
Mail list logo