Hi Dave,

 

Thanks for your reply.  

 

No luck yet.

 

I ran VPP manually and log is included below.  I have also included output
of ifconfig on my machine.  I do have hugepage setup in 80-vpp.conf as well.


 

Thanks,

 

Hemant

 

hemant@upper:~/vpp$ ./build-root/install-vpp-native/vpp/bin/vpp unix
interactive

buffer      [warn  ]: vlib_physmem_shared_map_create: pmalloc_map_pages:
Unable to lock pages: Cannot allocate memory

buffer      [warn  ]: falling back to non-hugepage backed buffer pool

buffer      [warn  ]: vlib_physmem_shared_map_create: pmalloc_map_pages:
Unable to lock pages: Cannot allocate memory

buffer      [warn  ]: falling back to non-hugepage backed buffer pool

dpdk             [warn  ]: not enough DPDK crypto resources

dpdk/cryptodev   [warn  ]: dpdk_cryptodev_init: Not enough cryptodevs

vat-plug/load    [error ]: vat_plugin_register: oddbuf plugin not loaded...

    _______    _        _   _____  ___ 

 __/ __/ _ \  (_)__    | | / / _ \/ _ \

_/ _// // / / / _ \   | |/ / ___/ ___/

/_/ /____(_)_/\___/   |___/_/  /_/    

 

vpp# sh interface 

              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count     

local0                            0     down          0/0/0/0       

vpp#

 

hemant@upper:~$ ifconfig

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255

        ether 02:42:28:0a:a8:4a  txqueuelen 0  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.191  netmask 255.255.255.0  broadcast 192.168.1.255

        ether 00:15:17:ec:d1:7c  txqueuelen 1000  (Ethernet)

        RX packets 22097  bytes 5057265 (5.0 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 23675  bytes 12025126 (12.0 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device interrupt 20  memory 0xb2700000-b2720000  

 

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 00:15:17:ec:d1:7d  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device interrupt 24  memory 0xb2600000-b2620000  

 

eth2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 00:1b:21:7b:f3:68  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xb2420000-b243ffff  

 

eth3: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 00:1b:21:7b:f3:69  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xb2400000-b241ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 32018  bytes 11977217 (11.9 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 32018  bytes 11977217 (11.9 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:64:6b:b2  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Dave Barach
Sent: Sunday, December 06, 2020 7:49 AM
To: hem...@mnkcg.com; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] don't see any interface but local0

 

Most likely, the corresponding Linux interface is up. Try running vpp
manually from the command-line, and look for messages of this form:

 

vlib_pci_bind_to_uio: Skipping PCI device 0000:00:1f.6 as host interface
eno2 is up

vlib_pci_bind_to_uio: Skipping PCI device 0000:02:00.0 as host interface
enp2s0f0 is up

vlib_pci_bind_to_uio: Skipping PCI device 0000:02:00.1 as host interface
enp2s0f1 is up

vlib_pci_bind_to_uio: Skipping PCI device 0000:03:00.0 as host interface
enp3s0f0 is up

 

We should change pci.c to put these messages in the vlib log. 

 

D.

 

P.S. "# <wsroot>/build-root/install-vpp-native/vpp/bin/vpp unix interactive"

 

From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io
<mailto:vpp-dev@lists.fd.io> > On Behalf Of hemant via lists.fd.io
Sent: Saturday, December 5, 2020 9:21 PM
To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> 
Subject: [vpp-dev] don't see any interface but local0

 

I am using latest VPP on Ubuntu 18.04. I have at least eth0-eth3 interfaces
on my machine.

 

This is a log for what I did and do not see any interface but local0 in the
output of "show interface"?

 

hemant@upper:~/vpp$ sudo make run-release

[sudo] password for hemant: 

WARNING: STARTUP_CONF not defined or file doesn't exist.

         Running with minimal startup config:  unix { interactive cli-listen
/run/vpp/cli.sock gid 0 } dpdk { no-pci } 

 

dpdk             [warn  ]: not enough DPDK crypto resources

dpdk/cryptodev   [warn  ]: dpdk_cryptodev_init: Not enough cryptodevs

vat-plug/load    [error ]:
/home/hemant/vpp/build-root/install-vpp-native/vpp/lib/vpp_api_test_plugins/
upf_test_plugin.so: undefined symbol: upf_main

vat-plug/load    [error ]: vat_plugin_register: oddbuf plugin not loaded...

    _______    _        _   _____  ___ 

 __/ __/ _ \  (_)__    | | / / _ \/ _ \

_/ _// // / / / _ \   | |/ / ___/ ___/

/_/ /____(_)_/\___/   |___/_/  /_/    

 

vpp# sh interface 

              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count     

local0                            0     down          0/0/0/0       

vpp#

 

I did search for the issue first and found:

 

https://www.mail-archive.com/vpp-dev@lists.fd.io/msg00609.html

 

But the above link does not clue me in.

 

Thanks,

 

Hemant

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18258): https://lists.fd.io/g/vpp-dev/message/18258
Mute This Topic: https://lists.fd.io/mt/78747831/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to