Run the VPP binary by hand, with something like “vpp unix interactive” to see 
what it says about DPDK.

It will tell you whether your ports are unsupported. I have a feeling that 
Broadcom part is not supported by DPDK, but the Intel one should be.

Other reasons why it may ignore them include if they are already configured 
(logically “up” or have an IP address). You can override that with something 
like “dpdk { dev 0000:42:00.0 dev 0000:42:00.1 }” in the startup.conf or 
similar.

Chris.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of John Wei
Sent: Friday, October 27, 2017 15:09
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Not able to see PCI NICs in show int

Additional info:

./usertools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
<none>

Network devices using kernel driver
===================================
0000:01:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em1 drv=tg3 
unused=uio_pci_generic *Active*
0000:01:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em2 drv=tg3 
unused=uio_pci_generic
0000:02:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em3 drv=tg3 
unused=uio_pci_generic
0000:02:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em4 drv=tg3 
unused=uio_pci_generic
0000:04:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p1 drv=tg3 
unused=uio_pci_generic
0000:04:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p2 drv=tg3 
unused=uio_pci_generic
0000:04:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p3 drv=tg3 
unused=uio_pci_generic
0000:04:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p4 drv=tg3 
unused=uio_pci_generic
0000:42:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' if=p4p1 
drv=ixgbe unused=uio_pci_generic
0000:42:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' if=p4p2 
drv=ixgbe unused=uio_pci_generic


On Fri, Oct 27, 2017 at 11:51 AM, John Wei 
<johnt...@gmail.com<mailto:johnt...@gmail.com>> wrote:
I am following the instructions below:
https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface_To_VPP

"show int" just returned one local0 device
If a NIC is not shown in the "show int" output, I can't configure further.

Need advice on how to get these PCI devices shown in "show int"

John

I am running v17.10-release bits on CentOS 7 using  uio_pci_generic, and two 
plugins:
  1. dpdk_plugin.so                           17.10-release                    
Data Plane Development Kit (DPDK)
  2. lb_plugin.so                             17.10-release                    
Load Balancer


I can see my pci nics through "vppctl show pci | grep '^000'"
0000:01:00.0   0  14e4:165f   5.0 GT/s x1  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
0000:01:00.1   0  14e4:165f   5.0 GT/s x1  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
0000:02:00.0   0  14e4:165f   5.0 GT/s x1  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
0000:02:00.1   0  14e4:165f   5.0 GT/s x1  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
0000:04:00.0   0  14e4:1657   5.0 GT/s x4  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95719
0000:04:00.1   0  14e4:1657   5.0 GT/s x4  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95719
0000:04:00.2   0  14e4:1657   5.0 GT/s x4  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95719
0000:04:00.3   0  14e4:1657   5.0 GT/s x4  tg3             Broadcom NetXtreme 
Gigabit Ether PN: BCM95719

output from "lshw -class network -businfo"
Bus info          Device      Class          Description
========================================================
pci@0000:02:00.0<mailto:pci@0000:02:00.0>  em3         network        NetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@0000:02:00.1<mailto:pci@0000:02:00.1>  em4         network        NetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@0000:01:00.0<mailto:pci@0000:01:00.0>  em1         network        NetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@0000:01:00.1<mailto:pci@0000:01:00.1>  em2         network        NetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@0000:04:00.0<mailto:pci@0000:04:00.0>  p5p1        network        NetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@0000:04:00.1<mailto:pci@0000:04:00.1>  p5p2        network        NetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@0000:04:00.2<mailto:pci@0000:04:00.2>  p5p3        network        NetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@0000:04:00.3<mailto:pci@0000:04:00.3>  p5p4        network        NetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@0000:42:00.0<mailto:pci@0000:42:00.0>  p4p1        network        82599ES 
10-Gigabit SFI/SFP+ Network Connection
pci@0000:42:00.1<mailto:pci@0000:42:00.1>  p4p2        network        82599ES 
10-Gigabit SFI/SFP+ Network Connection






_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to