Hoi Suresh,

I noticed that there is a driver of <NONE> even though this ought to
be vfio-pci or possibly uio_pci_generic. Check out option uio-driver in
startup.conf :
https://my-vpp-docs.readthedocs.io/en/latest/gettingstarted/users/configuring/startup.html

Are the XL710's still visible under Linux as ensXsYfZ? Perhaps another
process has bound them.

Another place you might look is sudo dmesg | grep -i vfio and/or sudo lsmod
| grep -i vfio;  Did you see VFIO driver active in the kernel?

Good luck!

On Sat, Feb 5, 2022 at 1:22 AM suresh vuppala <suresh...@gmail.com> wrote:

> I have newly  installed VPP on my bar metal running ubuntu by following :
>
>
>
> sudo apt install libmbedtls-dev vpp-lib vpp vpp-plugins vpp-dev
>
>
>
>
>
> sudo service vpp restart
>
>
>
> After restart I was expecting VPP to detect the linux interfaces
>
>
>
> gnalab@gnalab:~$ ps -eaf | grep vpp
>
> root     20108     1  1 00:22 ?        00:00:08 /usr/bin/vpp -c
> /etc/vpp/startup.conf
>
>
>
>
>
> I have added PCI interfaces which are in down state under DPDK in
> ‘/etc/vpp/startup.conf’
>
>
>
> dpdk {
>
>   dev 0000:5e:00.0
>
>   dev 0000:5e:00.0
>
> }
>
>
>
>
>
> And restarted VPP
>
> sudo service vpp restart
>
>
>
> But still it is not detected, only local interface is seen
>
>
>
> :~$ sudo vppctl show int
>
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
> Counter          Count
>
> local0                            0     down          0/0/0/0
>
>
>
>
>
>
>
> ~$ sudo vppctl show int
>
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
> Counter          Count
>
> local0                            0     down          0/0/0/0
>
> :~$
>
> ~$ sudo vppctl show pci
>
> Address      Sock VID:PID     Link Speed    Driver          Product Name
>                   Vital Product Data
>
> 0000:3b:00.0   0  8086:1563   8.0 GT/s x4   ixgbe           Cisco  X550-TX
> 10 Gig            PN: X550-TX
>
>
>                   V0: 0x 4d 41 50 20 32 2e 37 30 ...
>
>
>                   MN: 7
>
>
>                   RV: 0x 69
>
> 0000:3b:00.1   0  8086:1563   8.0 GT/s x4   ixgbe           Cisco  X550-TX
> 10 Gig            PN: X550-TX
>
>
>                   V0: 0x 4d 41 50 20 32 2e 37 30 ...
>
>
>                   MN: 7
>
>
>                   RV: 0x 69
>
> 0000:5e:00.0   0  8086:1583   8.0 GT/s x8   <NONE>          Cisco(R)
> Ethernet Converged NIC  PN: XL710-QDA2
>
>
>                   V0: 0x 4d 41 50 20 35 2e 31 36 ...
>
>
>                   MN: 1137
>
>
>                   RV: 0x f2
>
> 0000:5e:00.1   0  8086:1583   8.0 GT/s x8   <NONE>          Cisco(R)
> Ethernet Converged NIC  PN: XL710-QDA2
>
>
>                   V0: 0x 4d 41 50 20 35 2e 31 36 ...
>
>
>                   MN: 1137
>
>
>                   RV: 0x f2
>
> 0000:d8:00.0   1  8086:1583   8.0 GT/s x8   <NONE>          Cisco(R)
> Ethernet Converged NIC  PN: XL710-QDA2
>
>
>                   V0: 0x 4d 41 50 20 35 2e 31 36 ...
>
>
>                   MN: 1137
>
>
>                   RV: 0x f2
>
> 0000:d8:00.1   1  8086:1583   8.0 GT/s x8   <NONE>          Cisco(R)
> Ethernet Converged NIC  PN: XL710-QDA2
>
>
>                   V0: 0x 4d 41 50 20 35 2e 31 36 ...
>
>
>                   MN: 1137
>
>
>                   RV: 0x f2
>
>
>
>
>
>
>
> Can you please let me know how what I can do so VPP can detect the
> interfaces ?
>
>
>
> 
>
>

-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20829): https://lists.fd.io/g/vpp-dev/message/20829
Mute This Topic: https://lists.fd.io/mt/88920521/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
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