Re: [ovs-discuss] Port speed bug

2013-09-02 Thread Benjamin Lunsky
Thank you for the quick response Ben. Patch is working 100%. Regards, Benjamin Benjamin Lunsky benjamin.lun...@netronome.com --- On 30 Aug 2013, at 7:11 PM, Ben Pfaff wrote: > On Fri, Aug 30, 2013 at 04:16:58PM +0200, Benjamin Lunsky wrote: >> I have been working on my o

[ovs-discuss] Port speed bug

2013-08-30 Thread Benjamin Lunsky
I have been working on my own netdev-provider to set up the port speeds in OVS. I noticed that in lib/ofp-util.h, max_speed and curr_speed are of type uint32_t and are described as speed in kbps /* Abstract ofp10_phy_port or ofp11_port. */ struct ofputil_phy_port { . . . /* Speed. */ u

Re: [ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
he kernel under ifconfig. On Monday, July 22, 2013, Ben Pfaff wrote: > What do you mean by virtual port in this case? > > On Mon, Jul 22, 2013 at 11:43:19PM +0200, Benjamin Lunsky wrote: > > How does one add virtual ports? > > > > On Monday, July 22, 2013, Ben Pfaff wrote: &

Re: [ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
How does one add virtual ports? On Monday, July 22, 2013, Ben Pfaff wrote: > In the most ordinary case (as you show) the ports you add with > add-port should exist as network devices. > > On Mon, Jul 22, 2013 at 11:26:57PM +0200, Benjamin Lunsky wrote: > > Physically no - I

Re: [ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
Physically no - I'm trying to add a virtual port to a virtual bridge / switch. Benjamin Lunsky benjamin.lun...@netronome.com --- On 22 Jul 2013, at 11:05 PM, Ben Pfaff wrote: > And does p1 exist? > > On Mon, Jul 22, 2013 at 11:03:42PM +0200, Benjamin Lunsky wrote: &

Re: [ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
I am trying to create 2 userspace virtual ports on br1 - p1 & p2. I hope that answers the question. Benjamin Lunsky benjamin.lun...@netronome.com --- On 22 Jul 2013, at 10:32 PM, Jesse Gross wrote: > On Mon, Jul 22, 2013 at 1:20 PM, Benjamin Lunsky > wrote: >> I did an

Re: [ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
The error is logged as follows: ioctl(SIOCGIFINDEX) on p1 device failed: No such device Benjamin Lunsky benjamin.lun...@netronome.com --- On 22 Jul 2013, at 10:35 PM, Ben Pfaff wrote: > On Mon, Jul 22, 2013 at 12:20:02PM +0200, Benjamin Lunsky wrote: >> ovs-vsctl add-br b

Re: [ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
key kernel: [21254.230010] br1: no IPv6 routers present Cannot explain why ports p1 and p2 are not added to br1. Any help would be greatly appreciated! Regards, Benjamin Lunsky benjamin.lun...@netronome.com --- On 22 Jul 2013, at 12:20 PM, Benjamin Lunsky wrote: > Hi ther

[ovs-discuss] Error adding port for datapath type netdev

2013-07-22 Thread Benjamin Lunsky
isten(netdev); This calls netdev_listen in netdev.c Which then calls netdev_linux_listen in netdev-linux.c This calls a sequence of functions in netdev-linux.c ending in do_get_ifindex (above). Thanks Benjamin Benjamin Lunsky benjamin

[ovs-discuss] Specifying Openflow port numbers

2013-07-19 Thread Benjamin Lunsky
can fetch the stats for a specific port. I can't find how to specify the ofp_port when setting up the switch - is this possible without modifying the code? Thanks Benjamin Benjamin Lunsky benjamin.lun...@netronome.com --- ___ discu

[ovs-discuss] Running OVS in Userspace

2013-07-10 Thread Benjamin Lunsky
local/var/run/openvswitch/* rm -r /usr/local/etc/openvswitch/* - So my question is what is causing the code to hang at that one point? If it does not hang then br0 appears under the list when 'ifconfig -a' is entered. Thanks! Benja

[ovs-discuss] Restarting OVS

2013-07-09 Thread Benjamin Lunsky
p the bridge and ports? I am finding that if I do not delete the bridge and kill all OVS-related processes prior to compiling, I get this error when running ovs-ofctl: "ovs-ofctl: br0 is not a bridge or a socket". Thanks! Benjamin Lunsky benjamin.lun..