[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-12-02 Thread Qiu, Michael
On 11/28/2014 10:56 PM, Neil Horman wrote: > On Fri, Nov 28, 2014 at 02:09:40AM +, Qiu, Michael wrote: >> Hi all, >> >> I have no comments on this issue, but I indeed see many places do have >> this kernel issue(before/now/future), so can solve this issue globally? >> >> Thus, we do not need to

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-12-02 Thread Qiu, Michael
On 11/28/2014 10:22 PM, Thomas Monjalon wrote: > 2014-11-28 02:09, Qiu, Michael: >> I have no comments on this issue, but I indeed see many places do have >> this kernel issue(before/now/future), so can solve this issue globally? >> >> Thus, we do not need to fix this case by case. >> >> One soluti

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-28 Thread Thomas Monjalon
2014-11-28 02:09, Qiu, Michael: > I have no comments on this issue, but I indeed see many places do have > this kernel issue(before/now/future), so can solve this issue globally? > > Thus, we do not need to fix this case by case. > > One solution(not sure if it works or not): > > 1. features and

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-28 Thread Neil Horman
On Fri, Nov 28, 2014 at 02:09:40AM +, Qiu, Michael wrote: > Hi all, > > I have no comments on this issue, but I indeed see many places do have > this kernel issue(before/now/future), so can solve this issue globally? > > Thus, we do not need to fix this case by case. > > One solution(not sur

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-28 Thread Sujith Sankar (ssujith)
On 28/11/14 1:54 am, "Thomas Monjalon" wrote: >2014-11-27 19:01, Thomas Monjalon: >> 2014-11-27 22:44, Sujith Sankar: >> > Inclusion of vfio.h was giving compilation errors if kernel version >>is less >> > than 3.6.0 and if RTE_EAL_VFIO was on in config. >> > >> > Replaced inclusion of vfio.h

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-28 Thread Qiu, Michael
Hi all, I have no comments on this issue, but I indeed see many places do have this kernel issue(before/now/future), so can solve this issue globally? Thus, we do not need to fix this case by case. One solution(not sure if it works or not): 1. features and kernel version required list. 2. When

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-27 Thread Sujith Sankar
Inclusion of vfio.h was giving compilation errors if kernel version is less than 3.6.0 and if RTE_EAL_VFIO was on in config. Replaced inclusion of vfio.h with eal_vfio.h and replaced RTE_EAL_VFIO with VFIO_PRESENT in enicpmd code. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-27 Thread Thomas Monjalon
2014-11-27 19:01, Thomas Monjalon: > 2014-11-27 22:44, Sujith Sankar: > > Inclusion of vfio.h was giving compilation errors if kernel version is less > > than 3.6.0 and if RTE_EAL_VFIO was on in config. > > > > Replaced inclusion of vfio.h with eal_vfio.h and replaced RTE_EAL_VFIO with > > VFIO_PR

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-27 Thread Thomas Monjalon
2014-11-27 22:44, Sujith Sankar: > Inclusion of vfio.h was giving compilation errors if kernel version is less > than 3.6.0 and if RTE_EAL_VFIO was on in config. > > Replaced inclusion of vfio.h with eal_vfio.h and replaced RTE_EAL_VFIO with > VFIO_PRESENT in enicpmd code. You should add Reported

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-27 Thread Sujith Sankar (ssujith)
On 27/11/14 10:44 pm, "Sujith Sankar (ssujith)" wrote: >Inclusion of vfio.h was giving compilation errors if kernel version is >less >than 3.6.0 and if RTE_EAL_VFIO was on in config. > >Replaced inclusion of vfio.h with eal_vfio.h and replaced RTE_EAL_VFIO >with >VFIO_PRESENT in enicpmd code.