Re: [vpp-dev] Not able to see PCI NICs in show int

2017-10-27 Thread Luke, Chris
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 :42:00.0 dev :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 
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



Network devices using kernel driver
===
:01:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em1 drv=tg3 
unused=uio_pci_generic *Active*
:01:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em2 drv=tg3 
unused=uio_pci_generic
:02:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em3 drv=tg3 
unused=uio_pci_generic
:02:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em4 drv=tg3 
unused=uio_pci_generic
:04:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p1 drv=tg3 
unused=uio_pci_generic
:04:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p2 drv=tg3 
unused=uio_pci_generic
:04:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p3 drv=tg3 
unused=uio_pci_generic
:04:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p4 drv=tg3 
unused=uio_pci_generic
:42:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' if=p4p1 
drv=ixgbe unused=uio_pci_generic
: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 
> 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'"
:01:00.0   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
:01:00.1   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
:02:00.0   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
:02:00.1   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95720
:04:00.0   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95719
:04:00.1   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95719
:04:00.2   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom NetXtreme 
Gigabit Ether PN: BCM95719
: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@:02:00.0  em3 networkNetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@:02:00.1  em4 networkNetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@:01:00.0  em1 networkNetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@:01:00.1  em2 networkNetXtreme 
BCM5720 Gigabit Ethernet PCIe
pci@:04:00.0  p5p1networkNetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@:04:00.1  p5p2networkNetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@:04:00.2  p5p3networkNetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@:04:00.3  p5p4networkNetXtreme 
BCM5719 Gigabit Ethernet PCIe
pci@:42:00.0  p4p1network82599ES 
10-Gigabit SFI/SFP+ Network Connection
pci@:42:00.1  p4p2network82599ES 
10-Gigabit SFI/SFP+ Network Connection






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

Re: [vpp-dev] Not able to see PCI NICs in show int

2017-10-27 Thread John Wei
Additional info:

./usertools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver



Network devices using kernel driver
===
:01:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em1 drv=tg3
unused=uio_pci_generic *Active*
:01:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em2 drv=tg3
unused=uio_pci_generic
:02:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em3 drv=tg3
unused=uio_pci_generic
:02:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=em4 drv=tg3
unused=uio_pci_generic
:04:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p1 drv=tg3
unused=uio_pci_generic
:04:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p2 drv=tg3
unused=uio_pci_generic
:04:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p3 drv=tg3
unused=uio_pci_generic
:04:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=p5p4 drv=tg3
unused=uio_pci_generic
:42:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' if=p4p1
drv=ixgbe unused=uio_pci_generic
: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  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-releaseData Plane Development Kit (DPDK)
>   2. lb_plugin.so
> 17.10-releaseLoad Balancer
>
>
> I can see my pci nics through "vppctl show pci | grep '^000'"
> :01:00.0   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95720
> :01:00.1   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95720
> :02:00.0   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95720
> :02:00.1   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95720
> :04:00.0   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95719
> :04:00.1   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95719
> :04:00.2   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom
> NetXtreme Gigabit Ether PN: BCM95719
> :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@:02:00.0  em3 networkNetXtreme BCM5720 Gigabit
> Ethernet PCIe
> pci@:02:00.1  em4 networkNetXtreme BCM5720 Gigabit
> Ethernet PCIe
> pci@:01:00.0  em1 networkNetXtreme BCM5720 Gigabit
> Ethernet PCIe
> pci@:01:00.1  em2 networkNetXtreme BCM5720 Gigabit
> Ethernet PCIe
> pci@:04:00.0  p5p1networkNetXtreme BCM5719 Gigabit
> Ethernet PCIe
> pci@:04:00.1  p5p2networkNetXtreme BCM5719 Gigabit
> Ethernet PCIe
> pci@:04:00.2  p5p3networkNetXtreme BCM5719 Gigabit
> Ethernet PCIe
> pci@:04:00.3  p5p4networkNetXtreme BCM5719 Gigabit
> Ethernet PCIe
> pci@:42:00.0  p4p1network82599ES 10-Gigabit SFI/SFP+
> Network Connection
> pci@:42:00.1  p4p2network82599ES 10-Gigabit SFI/SFP+
> Network Connection
>
>
>
>
>
>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Not able to see PCI NICs in show int

2017-10-27 Thread John Wei
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-releaseData Plane Development Kit (DPDK)
  2. lb_plugin.so
17.10-releaseLoad Balancer


I can see my pci nics through "vppctl show pci | grep '^000'"
:01:00.0   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95720
:01:00.1   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95720
:02:00.0   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95720
:02:00.1   0  14e4:165f   5.0 GT/s x1  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95720
:04:00.0   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95719
:04:00.1   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95719
:04:00.2   0  14e4:1657   5.0 GT/s x4  tg3 Broadcom
NetXtreme Gigabit Ether PN: BCM95719
: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@:02:00.0  em3 networkNetXtreme BCM5720 Gigabit
Ethernet PCIe
pci@:02:00.1  em4 networkNetXtreme BCM5720 Gigabit
Ethernet PCIe
pci@:01:00.0  em1 networkNetXtreme BCM5720 Gigabit
Ethernet PCIe
pci@:01:00.1  em2 networkNetXtreme BCM5720 Gigabit
Ethernet PCIe
pci@:04:00.0  p5p1networkNetXtreme BCM5719 Gigabit
Ethernet PCIe
pci@:04:00.1  p5p2networkNetXtreme BCM5719 Gigabit
Ethernet PCIe
pci@:04:00.2  p5p3networkNetXtreme BCM5719 Gigabit
Ethernet PCIe
pci@:04:00.3  p5p4networkNetXtreme BCM5719 Gigabit
Ethernet PCIe
pci@:42:00.0  p4p1network82599ES 10-Gigabit SFI/SFP+
Network Connection
pci@:42:00.1  p4p2network82599ES 10-Gigabit SFI/SFP+
Network Connection
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Number of interfaces configurable restriction

2017-10-27 Thread Steven Luong (sluong)
Jan,

You have to use ulimit –n to raise the number of open files if you are going to 
create a lot of interfaces.

Steven

From:  on behalf of "Jan Srnicek -X (jsrnicek - 
PANTHEON TECHNOLOGIES at Cisco)" 
Date: Friday, October 27, 2017 at 3:31 AM
To: vpp-dev 
Subject: [vpp-dev] Number of interfaces configurable restriction

Hi

While doing some perf testing for honeycomb , i’ve came about something that 
seems like internal restriction of vpp.

While trying to configure as much Tap interfaces as possible, when i got to 
510, i started to get

Caused by: io.fd.vpp.jvpp.VppCallbackException: vppApi.tap_connect_reply 
failed: System call error #1 (error code: -11)

Is this internal restriction of vpp on number of interfaces or bug ?

Note: Happens for Vhost too

[anner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[ttp://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here for 
Company Registration Information.


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

Re: [vpp-dev] VPP 17.10 Released

2017-10-27 Thread Dave Wallace

Most Excellent!

Thanks Florin for your work as release manager to keep this release on 
track and to all contributors in the FD.io community to helped make this 
release a success.


Best regards,
-daw-

On 10/26/2017 5:36 PM, Florin Coras wrote:

Dear VPP community,

The VPP 17.10 release is complete. The release artefacts are now available on 
the nexus server and the repos have been updated.

I’d like to take this opportunity to thank you all for your continued support 
for VPP.

Regards,
Florin
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


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

Re: [vpp-dev] VPP API for interface rx-mode polling

2017-10-27 Thread Steven Luong (sluong)
Jozef,

Sure. I’ll take care of this.

Steven

From:  on behalf of Jozef Glončák 

Date: Friday, October 27, 2017 at 3:01 AM
To: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] VPP API for interface rx-mode polling

Hello VPP gurus,

I need VPP API for this command

set interface rx-mode  polling.

I passed VPP *.api files but wasn't able to find corresponding API so I
assume that it doesn't exist.

Would it be possible to provide it?

Thanks

Jozef Glončák
Pantheon Technologies, s. r. o.
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP 17.10 Released

2017-10-27 Thread Kinsella, Ray

Much kudos


On 26/10/2017 22:36, Florin Coras wrote:

Dear VPP community,

The VPP 17.10 release is complete. The release artefacts are now available on 
the nexus server and the repos have been updated.

I’d like to take this opportunity to thank you all for your continued support 
for VPP.

Regards,
Florin
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


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