Hi Sandeep,
Yes, you’ll get optimal performance with it.
Jerome

Envoyé de mon iPhone

Le 6 août 2018 à 10:40, Sandeep Bajaj 
<[email protected]<mailto:[email protected]>> a écrit :

Thanks Jerome...I ended up doing that and got it to work with igb_uio....Will I 
get the ena performance with this driver ? VPP does seem to have support for 
ena...How can I use ena directly ?

I tried the following :

insmod lib/modules/4.4.0-1061-aws/kernel/drivers/net/ethernet/amazon/ena/ena.ko

insmod: ERROR: could not insert module 
lib/modules/4.4.0-1061-aws/kernel/drivers/net/ethernet/amazon/ena/ena.ko: File 
exists

./usertools/dpdk-devbind.py --status

Network devices using DPDK-compatible driver

============================================

0000:00:06.0 'Device ec20' drv=igb_uio unused=ena


Thanks for all ur help!
Cheers
Sandeep



On Monday, August 6, 2018, 4:32:51 AM PDT, Jerome Tollet via Lists.Fd.Io 
<[email protected]<mailto:[email protected]>> wrote:



Hi Sandeep,

You can download latest dpdk and compile the missing driver from there.

Jerome



De : <[email protected]<mailto:[email protected]>> au nom de "Sandeep Bajaj 
via Lists.Fd.Io" 
<[email protected]<mailto:[email protected]>>
Répondre à : "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date : lundi 6 août 2018 à 03:34
À : "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc : "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Objet : [vpp-dev] Fw: VPP on AWS







Hi



I am trying to spin up VPP on AWS(c5.large with ENA adapter), but  I seeing 
this error (missing VFIO/UIO driver). I have installed VPP 18.04 stable on 
ubuntu xenial

================

vpp.service - vector packet processing engine

   Loaded: loaded (/lib/systemd/system/vpp.service; enabled; vendor preset: 
enabled)

   Active: active (running) since Sun 2018-08-05 06:39:34 UTC; 5s ago

  Process: 32690 ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)

  Process: 32699 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited, 
status=1/FAILURE)

  Process: 32696 ExecStartPre=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)

 Main PID: 32702 (vpp_main)

    Tasks: 4

   Memory: 31.5M

      CPU: 2.775s

   CGroup: /system.slice/vpp.service

           └─32702 /usr/bin/vpp -c /etc/vpp/startup.conf



Aug 05 06:39:34  vpp[32702]: /usr/bin/vpp[32702]: dpdk_config:1275: EAL init 
args: -c 1 -n 4 --huge-dir /run/vpp/hugepages --file-prefix vpp --master-lcore 
0 --socket-mem 2048

Aug 05 06:39:34  /usr/bin/vpp[32702]: vlib_pci_bind_to_uio: Skipping PCI device 
0000:00:06.0: missing kernel VFIO or UIO driver

Aug 05 06:39:34  /usr/bin/vpp[32702]: dpdk_config:1275: EAL init args: -c 1 -n 
4 --huge-dir /run/vpp/hugepages --file-prefix vpp --master-lcore 0 --socket-mem 
2048

Aug 05 06:39:34 vpp[32702]: EAL: No free hugepages reported in 
hugepages-1048576kB

Aug 05 06:39:35  vpp[32702]: EAL:   Invalid NUMA socket, default to 0

Aug 05 06:39:35  vpp[32702]: EAL:   Invalid NUMA socket, default to 0

Aug 05 06:39:35  vnet[32702]: EAL:   Invalid NUMA socket, default to 0

Aug 05 06:39:35  vnet[32702]: EAL:   Invalid NUMA socket, default to 0

Aug 05 06:39:35  vnet[32702]: dpdk_ipsec_process:1018: not enough DPDK crypto 
resources, default to OpenSSL

Aug 05 06:39:35  vnet[32702]: dpdk_lib_init:230: DPDK drivers found no ports...

========================



When I try to do modprobe for vfio, I get this FATAL error :

modprobe vfio-pci

modprobe: FATAL: Module vfio-pci not found in directory 
/lib/modules/4.4.0-1061-aws



Any ideas on how to get the missing driver, so that I can have interfaces 
controlled by VPP ?



thanks

Sandeep

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10047): https://lists.fd.io/g/vpp-dev/message/10047
Mute This Topic: https://lists.fd.io/mt/24205315/882711
Group Owner: [email protected]<mailto:[email protected]>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
[[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10048): https://lists.fd.io/g/vpp-dev/message/10048
Mute This Topic: https://lists.fd.io/mt/24205315/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to