Re: [ovs-discuss] set dpdk packet refcnt when flow output to group.

2015-10-15 Thread Ben Pfaff
I don't understand what you're asking for. Daniele or Pravin, I think that you know the DPDK datapath well. Do you understand what David wants or why? On Thu, Oct 15, 2015 at 01:15:11PM -0500, David Evans wrote: > Thanks Ben, > > If that’s the case, then it would be better to be adding custom a

Re: [ovs-discuss] set dpdk packet refcnt when flow output to group.

2015-10-15 Thread David Evans
Thanks Ben, If that’s the case, then it would be better to be adding custom action that applies prior to this group action, to update the refcnt. I expect it just has to happen some time before the first PMD has finished processing the packet so that the packet does not get deleted by the tx r

Re: [ovs-discuss] Arp and Duplicate IP

2015-10-15 Thread Ben Pfaff
On Thu, Oct 15, 2015 at 02:59:20PM +0300, Владимир Терентьев wrote: > Hi. I have problem with openvswitch. > > I have server (172.16.0.32) and client(172.16.0.222). On server installed > Openvswitch 2.3.0. > On server: > ifconfig eth0 0 > ovs-vsctl add-br main-sw > ovs-vsctl add-port main-sw eth0

Re: [ovs-discuss] Unable to create a port on OVS bridge

2015-10-15 Thread Nishanth Devarajan
I’m creating an experimental lab setup with topology: Client ——— S1 ——— S2 ——— S3 ——— Server. S1, S2, S3 are OVS switches and are in different subnets, and all nodes are Vms. I need to connect the nodes using GRE tunnels and so I need to use ports on OVS to do so. Is there anything that can

[ovs-discuss] [QUESTION]: iproute2 extension for supporting lightweight tunnel

2015-10-15 Thread Liu, Mengke
Hi all, I am trying to use the "lightweight tunnels" after building the Linux kernel source with "Lightweight & flow based encapsulation" support. Can you tell me how to get iproute2 extension for supporting the following  command in commit log(commit ID e69724f32e62502a6e686eae36b7aadfeea60dca

Re: [ovs-discuss] Unable to create a port on OVS bridge

2015-10-15 Thread Nishanth Devarajan
I tried, I don’t know why but it doesn’t work. I even tried removing OVS entirely and reinstalling it again. Even then it gives the same error. However when I run mininet , the topology works fine without any error from OVS or anything else. How does that even work? Thanks, Nishanth > On 13-Oc

Re: [ovs-discuss] Cannot add dpdkvhost user ports

2015-10-15 Thread haris tanvir
thanks it solved the issue > On 14-Oct-2015, at 10:20 pm, Puha, TimoX wrote: > > Hi, > > I think 2.4 still has also this problem > (http://openvswitch.org/pipermail/dev/2015-September/060106.html) and your > symptoms seem to match. So if you used a relative path to DPDK when running > OVS

Re: [ovs-discuss] OF Group Tables Load Balancing

2015-10-15 Thread Daniel Herrmann
On 15.10.2015 18:01, Ben Pfaff wrote: > It looks like the supported methods are "" (to use the default) or > "hash", to use the fields specified in "fields". Okay, I am using the following group: group_id=88,type=select,selection_method=hash,fields=ip_dst,bucket=bucket_id:0,actions=set_field:00:5

Re: [ovs-discuss] OF Group Tables Load Balancing

2015-10-15 Thread Ben Pfaff
On Thu, Oct 15, 2015 at 10:57:37AM +0200, Daniel Herrmann wrote: > Hi Ben, > > On 29.09.2015 06:15, Ben Pfaff wrote: > > On Wed, Sep 23, 2015 at 09:11:26PM +0200, Daniel Herrmann wrote: > >> I am trying to load-balance traffic in a routed scenario and want to use > >> OF group tables for this. > >

Re: [ovs-discuss] Unable to create a port on OVS bridge

2015-10-15 Thread Gurucharan Shetty
Assuming you start with fresh VMs, all you need to install openvswitch for your needs on Ubuntu is: apt-get install openvswitch-switch But don't try to install mininet on top of it. You should either try to do everything using openvswitch commands or try to do everything using mininet. If you try

[ovs-discuss] Arp and Duplicate IP

2015-10-15 Thread Владимир Терентьев
Hi. I have problem with openvswitch. I have server (172.16.0.32) and client(172.16.0.222). On server installed Openvswitch 2.3.0. On server: ifconfig eth0 0 ovs-vsctl add-br main-sw ovs-vsctl add-port main-sw eth0 ovs-vsctl add-port br0 vm1 -- set interface vm1 type=internal ovs-vsctl add-port br0

Re: [ovs-discuss] can I set the counters of the to-be-installed rule when adding a new rule to the flow table?

2015-10-15 Thread Justin Pettit
> On Oct 15, 2015, at 1:47 AM, YB <947835...@qq.com> wrote: > > Hi all, > > Can I set the counters of the to-be-installed rule when adding a new rule to > the flow table? > > To be more specific, ( ovs-ofctl add-flow s1 "in_port=2 actions=output:3" ) > can add a new rule in switch s1. > With

Re: [ovs-discuss] OF Group Tables Load Balancing

2015-10-15 Thread Daniel Herrmann
Hi Ben, On 29.09.2015 06:15, Ben Pfaff wrote: > On Wed, Sep 23, 2015 at 09:11:26PM +0200, Daniel Herrmann wrote: >> I am trying to load-balance traffic in a routed scenario and want to use >> OF group tables for this. >> >> However, it seems that only one bucket is selected. I found some thread >>

[ovs-discuss] can I set the counters of the to-be-installed rule when adding a new rule to the flow table?

2015-10-15 Thread YB
Hi all, Can I set the counters of the to-be-installed rule when adding a new rule to the flow table? To be more specific, ( ovs-ofctl add-flow s1 "in_port=2 actions=output:3" ) can add a new rule in switch s1. With dump-flows command, we can see something like: "... n_packets=0, n_bytes=0,...