Hi Suresh, 

Note how none of your nics is bound to vfio-pci. You should be able to use 
extras/scripts/pci-nic-bind to bind your nic to vfio-pci or alternatively use 
dpdk-devbind. 

Regards,
Florin


> On Feb 7, 2022, at 1:17 PM, suresh vuppala <suresh...@gmail.com> wrote:
> 
> 
> I have newly  installed VPP on my CISCO UCS bare metal running ubuntu and 
> installed packages 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 
> 
> I have added PCI interfaces which are in down state under DPDK in 
> ‘/etc/vpp/startup.conf’
> 
>  
> dpdk {
> 
>      dev default {
> 
>      num-rx-queues 8
>      num-tx-queues 8
>      }
> 
>      uio-driver vfio-pci
> 
>     dev 0000:d8:00.0
> 
>     dev 0000:5e:00.0
> 
> 
> }
> 
> 
> 
>  ~$ sudo vppctl show pci
> 
> [sudo] password for gnalab:
> 
> 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   i40e            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   i40e            Cisco(R) Ethernet 
> Converged NIC  PN: XL710-QDA2
> 
>                                                                               
>               V0: 0x 4d 41 50 20 35 2e 31 36 ...
> 
>                                                                               
>               MN: 1137
> 
>                                                                               
>               RV: 0x f2
> 
>  ~$
> 
>  ~$ sudo vppctl show int
> 
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
> Counter          Count
> 
> local0                            0     down          0/0/0/0
> 
> 
> 
> 
> 
>  ~$ sudo service vpp restart
> 
>  ~$ sudo service vpp status
> 
> 
> 
> Still interfaces are not detected by VPP, SO I followed your document 
> https://ipng.ch/s/articles/2021/03/27/coloclue-vpp.html 
> <https://ipng.ch/s/articles/2021/03/27/coloclue-vpp.html> and made changes to 
> grub file ‘/etc/default/grub’ as below
> 
> 
> GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt"
> sudo update-grub
> Sudo reboot
> 
> 
>  ~$ sudo service vpp restart
> 
>  ~$ sudo service vpp status
> 
> gnalab@gnalab:~$ sudo vppctl show int
> 
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
> Counter          Count
> 
> local0                            0     down          0/0/0/0
> 
> 
> 
> Can you please help and let me know If I missed anything. Your help is highly 
> appreciated
> 
> 
> -- 
> Suresh Kumar Vuppala
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20843): https://lists.fd.io/g/vpp-dev/message/20843
Mute This Topic: https://lists.fd.io/mt/88982749/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