[ovs-dev] seeing TPID of received packets is miss-reported as 0x8100 instead of 0x88A8

2015-08-09 Thread ravulakollu.kumar
Hi Team, I am sending 1ad tagged traffic from external packet generator to ovs bridge interface(ingress-trunk). Receiving the same packet via ovs egress port in the Packet generator. I am using tcpdump to capture the packets on egress. But I am seeing TPID of received packets is miss-reporte

Re: [ovs-dev] upcall processing in userspace

2015-08-09 Thread ravulakollu.kumar
Hi Jarno, Thank you very much for your valuable information. ovs-appctl ofproto/trace gave me a good insight into action processing in userspace. Thanks & Regards, Uday -Original Message- From: Jarno Rajahalme [mailto:jrajaha...@nicira.com] Sent: Friday, August 07, 2015 10:06 PM To: Ra

[ovs-dev] [PATCH V1 Resend 11/11] net: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-09 Thread Viresh Kumar
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. Signed-off-by: Viresh Kumar --- net/openvswitch/datapath.c | 2 +- net/sctp/socket.c | 2 +- net/socket.c | 6 +++--- 3 files changed, 5 insertions

[ovs-dev] OVS OpenFlow -- Transferring "metadata" between bridges

2015-08-09 Thread Gal Sagie
Hello all, I am doing a classification of a packet in one bridge OF pipeline and writing the result to "metadata" field (or Nicira's registers 0..7). When the packet is sent across bridges (for example via a patch port) this classification data is lost, the only field that i found to still exists

[ovs-dev] [ovn-controller-vtep V6 5/7] ovn-controller-vtep: Add vtep module.

2015-08-09 Thread Alex Wang
This commit adds the vtep module to ovn-controller-vtep. The module will scan through the Port_Binding table in OVN-SB database, and update the vtep logcial switches tunnel keys. Signed-off-by: Alex Wang --- V5->V6: - rebase. V5: new patch. --- ovn/controller-vtep/automake.mk |4

[ovs-dev] [ovn-controller-vtep V6 6/7] ovn-controller-vtep: Extend vtep module to install Ucast_Macs_Remote.

2015-08-09 Thread Alex Wang
This commit extends the vtep module to support creating the 'Ucast_Macs_Remote' table entries in the vtep database for MAC addresses on the ovn logical ports. Signed-off-by: Alex Wang --- V5->V6: - rebase. V4->V5: - rebase on top of master. - rewrite the feature since a lot have changed. V3->V4

[ovs-dev] [ovn-controller-vtep V6 4/7] ovn-controller-vtep: Add binding module.

2015-08-09 Thread Alex Wang
This commit adds the binding module to ovn-controller-vtep. The module will scan through the Port_Binding table in ovnsb. If there is a port binding entry for a logical switch on the vtep gateway chassis's "vtep_logical_switches", sets the port binding's chassis column to the vtep gateway chassis

[ovs-dev] [ovn-controller-vtep V6 7/7] ovn-controller-vtep: Update related documentation.

2015-08-09 Thread Alex Wang
This commit conducts the following documentation changes: * add a description in ovn-architecture manual for the life cycle about VTEP gateway. * add TODOs related to ovn-controller-vtep. * refine the ovn-sb, ovn-nb schema manual to require logical 'port' type and 'options' configu

[ovs-dev] [ovn-controller-vtep V6 3/7] ovn-controller-vtep: Add gateway module.

2015-08-09 Thread Alex Wang
This commit adds the gateway module to ovn-controller-vtep. The module will register the physical switches to ovnsb as chassis and constantly update the "vtep_logical_switches" column in Chassis table. Limitation (Recorded in TODO file): - Do not support reading multiple tunnel ips of physical s

[ovs-dev] [ovn-controller-vtep V6 2/7] ovsdb-idl: Move get_initial_snapshot() to ovsdb-idl.

2015-08-09 Thread Alex Wang
The same function is defined in both ovn-controller.c and ovn-controller-vtep.c, so worth librarizing. Signed-off-by: Alex Wang Acked-by: Russell Bryant --- V5->V6: - rebase. V5: - new patch. --- lib/ovsdb-idl.c | 15 +++ lib/ovsdb-idl.h

[ovs-dev] [ovn-controller-vtep V6 1/7] ovn: Add controller for VTEP gateway.

2015-08-09 Thread Alex Wang
This commit lays down the foundation for a new controller in OVN, the ovn-controller-vtep, for controlling the vtep enabled gateways. Signed-off-by: Alex Wang --- V5->V6: - adopt suggestions from Russell. V4->V5: - rebase on top of master. - use ovsdb_idl_loop to avoid block commit. V3->V4: -

[ovs-dev] Give her much more pleasure than she expects from you.

2015-08-09 Thread Beverley
Worried that tiny size will get you down? Get what you have been dreaming a long time and more with Viagra Professional. Buy in our online shop! We have the larget selection of products! A A F B B thought roams gracefully free of the trammels of precision. And __

Re: [ovs-dev] [ovn-controller-vtep V5 09/12] ovn-controller-vtep: Add binding module.

2015-08-09 Thread Alex Wang
On Fri, Aug 7, 2015 at 3:19 PM, Russell Bryant wrote: > On 08/07/2015 03:46 AM, Alex Wang wrote: > > This commit adds the binding module to ovn-controller-vtep. The > > module will scan through the Port_Binding table in ovnsb. If there is > > a port binding entry for a logical switch on the vte

Re: [ovs-dev] [ovn-controller-vtep V5 09/12] ovn-controller-vtep: Add binding module.

2015-08-09 Thread Alex Wang
On Fri, Aug 7, 2015 at 2:51 PM, Russell Bryant wrote: > On 08/07/2015 03:46 AM, Alex Wang wrote: > > This commit adds the binding module to ovn-controller-vtep. The > > module will scan through the Port_Binding table in ovnsb. If there is > > a port binding entry for a logical switch on the vte

Re: [ovs-dev] [ovn-controller-vtep V5 08/12] ovn-controller-vtep: Add gateway module.

2015-08-09 Thread Alex Wang
On Fri, Aug 7, 2015 at 2:19 PM, Russell Bryant wrote: > On 08/07/2015 03:46 AM, Alex Wang wrote: > > This commit adds the gateway module to ovn-controller-vtep. The > > module will register the physical switches to ovnsb as chassis and > > constantly update the "vtep_logical_switches" column in