[dpdk-dev] [PATCH v2 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD

2014-11-21 Thread David Marchand
On Fri, Nov 21, 2014 at 10:58 AM, Sujith Sankar (ssujith)  wrote:

>  Hi David,
> Since the kernel version is less than 3.6.0, support for VFIO is not
> there.
> Could you please turn off VFIO in config/common_linuxapp and try with
> IGB_UIO?
>

Arf, stupid me, I thought I had it disabled ...

Sorry for the noise.


-- 
David Marchand


[dpdk-dev] [PATCH v2 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD

2014-11-21 Thread David Marchand
Hello Sujith,

I just tried your patchset on my system but I can't get it to build :

$ make config T=x86_64-native-linuxapp-gcc && make
Configuration done
== Build scripts
== Build scripts/testhost
  HOSTCC testhost.o

[snip]

== Build lib/librte_pmd_enic
  CC enic_main.o
../lib/librte_pmd_enic/enic_main.c:43:24: fatal error: linux/vfio.h: No
such file or directory
compilation terminated.
make[3]: *** [enic_main.o] Error 1
make[2]: *** [librte_pmd_enic] Error 2
make[1]: *** [lib] Error 2
make: *** [all] Error 2

Looks like there is a problem with detecting vfio support and/or including
the right header.

$ uname -a
Linux ... 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux


Regards,
-- 
David Marchand


[dpdk-dev] [PATCH v2 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD

2014-11-21 Thread Sujith Sankar (ssujith)
Hi David,
Since the kernel version is less than 3.6.0, support for VFIO is not there.
Could you please turn off VFIO in config/common_linuxapp and try with IGB_UIO?

Thanks,
-Sujith

From: David Marchand mailto:david.march...@6wind.com>>
Date: Friday, 21 November 2014 3:22 pm
To: "Sujith Sankar (ssujith)" mailto:ssujith at 
cisco.com>>
Cc: "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:dev at 
dpdk.org>>
Subject: Re: [dpdk-dev] [PATCH v2 0/6] Cisco Systems Inc. VIC Ethernet PMD - 
ENIC PMD

Hello Sujith,

I just tried your patchset on my system but I can't get it to build :

$ make config T=x86_64-native-linuxapp-gcc && make
Configuration done
== Build scripts
== Build scripts/testhost
  HOSTCC testhost.o

[snip]

== Build lib/librte_pmd_enic
  CC enic_main.o
../lib/librte_pmd_enic/enic_main.c:43:24: fatal error: linux/vfio.h: No 
such file or directory
compilation terminated.
make[3]: *** [enic_main.o] Error 1
make[2]: *** [librte_pmd_enic] Error 2
make[1]: *** [lib] Error 2
make: *** [all] Error 2

Looks like there is a problem with detecting vfio support and/or including the 
right header.

$ uname -a
Linux ... 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux


Regards,
--
David Marchand