Re: [vpp-dev] Connecting Vpp to a physical NIC.

2016-10-27 Thread Shravan Ambati
Thanks Klement!
That worked.

From: Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco) 
[mailto:ksek...@cisco.com]
Sent: Thursday, October 27, 2016 2:17 PM
To: Shravan Ambati <shravan.amb...@calix.com>
Cc: vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Connecting Vpp to a physical NIC.


Hi,

I noticed the wiki doesn't say taht the interface should be down. Is your 
interface down before starting vpp? I think that the vpp won't touch an 
interface which is up...

Klement

On Oct 27, 2016 11:08 PM, Shravan Ambati 
<shravan.amb...@calix.com<mailto:shravan.amb...@calix.com>> wrote:

Hi



I am new to vpp and I was trying to connect a pci interface to vpp.

I am using stable/1606 branch.

As per instructions in the following the wiki

https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface_To_VPP



I have appended the pci address to the startup config file –

dpdk {

  socket-mem 1024

  dev :00:08.0

}



ubuntu@ubuntu:~$ sudo lshw -class network -businfo

Bus info  Device  Class   Description

=

pci@:00:03.0<mailto:pci@:00:03.0>  eth0network 82540EM 
Gigabit Ethernet Controller

pci@:00:08.0<mailto:pci@:00:08.0>  eth1network 82540EM 
Gigabit Ethernet Controller





And restarted vpp. But Vpp still does not have the NIC –

ubuntu@ubuntu:~$ sudo vppctl show int

  Name   Idx   State  Counter  Count

local00down

pg/stream-0   1down

pg/stream-1   2down

pg/stream-2   3down

pg/stream-3   4down





Am I missing something?



Thanks

Shravan



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

[vpp-dev] Connecting Vpp to a physical NIC.

2016-10-27 Thread Shravan Ambati
Hi

I am new to vpp and I was trying to connect a pci interface to vpp.
I am using stable/1606 branch.
As per instructions in the following the wiki
https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface_To_VPP

I have appended the pci address to the startup config file -
dpdk {
  socket-mem 1024
  dev :00:08.0
}

ubuntu@ubuntu:~$ sudo lshw -class network -businfo
Bus info  Device  Class   Description
=
pci@:00:03.0  eth0network 82540EM Gigabit Ethernet Controller
pci@:00:08.0  eth1network 82540EM Gigabit Ethernet Controller


And restarted vpp. But Vpp still does not have the NIC -
ubuntu@ubuntu:~$ sudo vppctl show int
  Name   Idx   State  Counter  Count
local00down
pg/stream-0   1down
pg/stream-1   2down
pg/stream-2   3down
pg/stream-3   4down


Am I missing something?

Thanks
Shravan

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