[ovs-dev] [PATCH v3] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Currently pmd threads select queues in pmd_load_queues() according to get_n_pmd_threads_on_numa(). This behavior leads to race between pmds, beacause dp_netdev_set_pmds_on_numa() starts them one by one and current number of threads changes incrementally. As a result we may have the following situa

[ovs-dev] [PATCH V2 4/4] netdev-linux: Cache the result of previous reading of in4 address.

2015-07-27 Thread Alex Wang
This commit makes netdev_linux_set_in4() cache the result of previous reading of in4 address (successful or not). Signed-off-by: Alex Wang Acked-by: Ben Pfaff --- PATCH->V2: - Add Ack. --- lib/netdev-linux.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a

[ovs-dev] [PATCH V2 3/4] netdev-linux: Make netdev_linux_get_in6() conform to API definition.

2015-07-27 Thread Alex Wang
The get_in6() API defined in netdev-provider.h requires the return of error values when the 'netdev' has no assigned IPv6 address or the 'netdev' does not support IPv6. However, the netdev_linux_get_in6() implementation does not follow this (always return 0). And this causes the a bug in deleting

[ovs-dev] [PATCH V2 1/4] rtnetlink: Extend rtnetlink to support RTNLGRP_IPV4_IFADDR and RTNLGRP_IPV6_IFADDR.

2015-07-27 Thread Alex Wang
This commit renames the rtnetlink-link.{c,h} to rtnetlink.{c,h} and extends the module to support RTNLGRP_IPV4_IFADDR and RTNLGRP_IPV4_IFADDR multicast groups. A later patch will start using this module to react to interface address changes. Signed-off-by: Alex Wang --- PATCH->V2: - new patch,

[ovs-dev] [PATCH V2 2/4] netdev-linux: Make netdev_linux_notify_sock join RTNLGRP_IPV4_IFADDR and RTNLGRP_IPV6_IFADDR.

2015-07-27 Thread Alex Wang
Currently the netdev_linux_notify_sock only joins multicast group RTNLGRP_LINK for link status change notification. Some ovs features also require the detection of ip addresses changes and update of the netdev-linux's cache. To achieve this, we need to make netdev_linux_notify_sock join the multi

Re: [ovs-dev] [PATCH 3/3] netdev-linux: Cache the result of previous reading of in4 address.

2015-07-27 Thread Alex Wang
Thx for the review, I'll attach the Ack in my new series. And hold off push until entire series gets Ack'ed~ On Mon, Jul 27, 2015 at 3:06 PM, Ben Pfaff wrote: > On Fri, Jul 24, 2015 at 02:36:07PM -0700, Alex Wang wrote: > > This commit makes netdev_linux_set_in4() cache the result of previous >

Re: [ovs-dev] [PATCH 1/3] netdev-linux: Make netdev_linux_notify_sock join RTNLGRP_IPV4_IFADDR and RTNLGRP_IPV6_IFADDR.

2015-07-27 Thread Alex Wang
Thx for the comments, Yeah, I think we need to be able to parse the RTNLGRP_IPV4_IFADDR/RTNLGRP_IPV6_IFADDR messages. I attempted to extend the rtnetlink-link module, and resent a new seres, Thanks, Alex Wang, On Mon, Jul 27, 2015 at 3:04 PM, Ben Pfaff wrote: > On Fri, Jul 24, 2015 at 02:36:0

[ovs-dev] Does OVS support TTP ?

2015-07-27 Thread tech_kals Kals
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] datapath-windows: Avoid BSOD when cleaning up a tunnel vport

2015-07-27 Thread Nithin Raju
> On Jul 24, 2015, at 5:44 AM, Sorin Vinturis > wrote: > > If an error appears when creating a tunnel vport the cleanup is performed > twice, which causes the tunnel vport to be released also twice and > generate a BSOD. > > This patch modifies the tunnel filter cleanup logic to avoid this issu

Re: [ovs-dev] [PATCH 3/3] bridge: reconfigure when system interfaces change

2015-07-27 Thread Ben Pfaff
I guess we need an if-notifier-windows.c also. On Mon, Jul 27, 2015 at 03:55:52PM -0700, Gurucharan Shetty wrote: > I wonder what happens for Windows here. > > On Mon, Jul 27, 2015 at 3:51 PM, Ben Pfaff wrote: > > On Mon, Jul 27, 2015 at 02:24:20PM -0300, Thadeu Lima de Souza Cascardo > > wrote

Re: [ovs-dev] [PATCH 3/3] bridge: reconfigure when system interfaces change

2015-07-27 Thread Gurucharan Shetty
I wonder what happens for Windows here. On Mon, Jul 27, 2015 at 3:51 PM, Ben Pfaff wrote: > On Mon, Jul 27, 2015 at 02:24:20PM -0300, Thadeu Lima de Souza Cascardo wrote: >> Whenever system interfaces are removed, added or change state, reconfigure >> bridge. This allows late interfaces to be add

Re: [ovs-dev] [PATCH 3/3] bridge: reconfigure when system interfaces change

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 02:24:20PM -0300, Thadeu Lima de Souza Cascardo wrote: > Whenever system interfaces are removed, added or change state, reconfigure > bridge. This allows late interfaces to be added to the datapath when they are > added to the system after ovs-vswitchd is started. > > Signe

Re: [ovs-dev] [PATCH 2/3] rtbsd: support RTM_IFANNOUNCE messages

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 02:24:19PM -0300, Thadeu Lima de Souza Cascardo wrote: > When devices are created, they are announced using RTM_IFANNOUNCE messages > using > PF_ROUTE. > > Signed-off-by: Thadeu Lima de Souza Cascardo Do you know anyone who might be qualified to properly review this? It

Re: [ovs-dev] [PATCH 1/3] rtbsd: include necessary headers on rtbsd.h

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 02:24:18PM -0300, Thadeu Lima de Souza Cascardo wrote: > rtbsd.h requires net/if.h for IF_NAMESIZE. This was not caught because rtbsd.c > did not include rtbsd.h as its first header. > > Signed-off-by: Thadeu Lima de Souza Cascardo This seemed obviously correct to me so I

Re: [ovs-dev] [PATCH 1/2] collectors: Use closocket() to close sockets.

2015-07-27 Thread Gurucharan Shetty
On Mon, Jul 27, 2015 at 3:29 PM, Ben Pfaff wrote: > On Mon, Jul 27, 2015 at 01:44:33PM -0700, Gurucharan Shetty wrote: >> We should use closesocket() while closing sockets so that >> closing sockets work fine on both POSIX and Windows. >> (In POSIX, we #define closesocket close) >> >> Without this

Re: [ovs-dev] [PATCH 2/2] ofproto-dpif.at: Skip a sflow test.

2015-07-27 Thread Ben Pfaff
Thanks for the correction. Acked-by: Ben Pfaff On Mon, Jul 27, 2015 at 03:38:39PM -0700, Gurucharan Shetty wrote: > We do use AT_XFAIL_IF in tests: > > grep AT_XFAIL_IF *.at > > json.at: AT_XFAIL_IF([$PYTHON -c "exit(len(u'\U00010800'))"; test $? -ne 1]) > ofproto-dpif.at: [AT_XFAIL_IF([tes

Re: [ovs-dev] [PATCH 2/2] ofproto-dpif.at: Skip a sflow test.

2015-07-27 Thread Gurucharan Shetty
We do use AT_XFAIL_IF in tests: grep AT_XFAIL_IF *.at json.at: AT_XFAIL_IF([$PYTHON -c "exit(len(u'\U00010800'))"; test $? -ne 1]) ofproto-dpif.at: [AT_XFAIL_IF([test "$IS_WIN32" = "yes"]) ofproto-dpif.at:AT_XFAIL_IF([test "$IS_WIN32" = "yes"]) ofproto-dpif.at:AT_XFAIL_IF([test "$IS_WIN32" = "

Re: [ovs-dev] [PATCH 2/2] ofproto-dpif.at: Skip a sflow test.

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 01:44:34PM -0700, Gurucharan Shetty wrote: > sflow is not supported on Windows. So skip the > test. > > Signed-off-by: Gurucharan Shetty AT_XFAIL_IF and AT_SKIP_IF are different. I think we only use the latter so far. ___ dev m

Re: [ovs-dev] [PATCH 1/2] collectors: Use closocket() to close sockets.

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 01:44:33PM -0700, Gurucharan Shetty wrote: > We should use closesocket() while closing sockets so that > closing sockets work fine on both POSIX and Windows. > (In POSIX, we #define closesocket close) > > Without this change, sflow unit tests would cause ovs-vswitchd > to c

Re: [ovs-dev] [PATCH] ofproto-dpif-mirror: Check VLANs without copying 4096-bit bitmap.

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 03:17:26PM -0700, Ben Pfaff wrote: > On Mon, Jul 27, 2015 at 01:52:00PM -0700, Andy Zhou wrote: > > On Fri, Jul 24, 2015 at 3:36 PM, Ben Pfaff wrote: > > > When a mirror was restricted to particular VLANs, this code was > > > allocating, > > > copying, and freeing a 512-by

Re: [ovs-dev] [PATCH] ofproto-dpif-mirror: Check VLANs without copying 4096-bit bitmap.

2015-07-27 Thread Ben Pfaff
On Mon, Jul 27, 2015 at 01:52:00PM -0700, Andy Zhou wrote: > On Fri, Jul 24, 2015 at 3:36 PM, Ben Pfaff wrote: > > When a mirror was restricted to particular VLANs, this code was allocating, > > copying, and freeing a 512-byte block of memory just to check the value of > > a single bit in the bloc

Re: [ovs-dev] [PATCH 3/3] netdev-linux: Cache the result of previous reading of in4 address.

2015-07-27 Thread Ben Pfaff
On Fri, Jul 24, 2015 at 02:36:07PM -0700, Alex Wang wrote: > This commit makes netdev_linux_set_in4() cache the result of previous > reading of in4 address (successful or not). > > Signed-off-by: Alex Wang Acked-by: Ben Pfaff ___ dev mailing list dev@

Re: [ovs-dev] [PATCH 2/3] netdev-linux: Make netdev_linux_get_in6() conform to API definition.

2015-07-27 Thread Ben Pfaff
On Fri, Jul 24, 2015 at 02:36:06PM -0700, Alex Wang wrote: > The get_in6() API defined in netdev-provider.h requires the return > of error values when the 'netdev' has no assigned IPv6 address or > the 'netdev' does not support IPv6. However, the netdev_linux_get_in6() > implementation does not fo

Re: [ovs-dev] [PATCH 1/3] netdev-linux: Make netdev_linux_notify_sock join RTNLGRP_IPV4_IFADDR and RTNLGRP_IPV6_IFADDR.

2015-07-27 Thread Ben Pfaff
On Fri, Jul 24, 2015 at 02:36:05PM -0700, Alex Wang wrote: > Currently the netdev_linux_notify_sock only joins multicast group > RTNLGRP_LINK for link status change notification. Some ovs features > also require the detection of ip addresses changes and update of the > netdev-linux's cache. To ac

[ovs-dev] [PATCH 2/2] ofproto-dpif.at: Skip a sflow test.

2015-07-27 Thread Gurucharan Shetty
sflow is not supported on Windows. So skip the test. Signed-off-by: Gurucharan Shetty --- tests/ofproto-dpif.at |1 + 1 file changed, 1 insertion(+) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 5b063d2..54098da 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.

[ovs-dev] [PATCH 1/2] collectors: Use closocket() to close sockets.

2015-07-27 Thread Gurucharan Shetty
We should use closesocket() while closing sockets so that closing sockets work fine on both POSIX and Windows. (In POSIX, we #define closesocket close) Without this change, sflow unit tests would cause ovs-vswitchd to crash in Windows. Signed-off-by: Gurucharan Shetty --- ofproto/collectors.c |

Re: [ovs-dev] Inter-op openvswitch and openfcoe

2015-07-27 Thread Jesse Gross
On Mon, Jul 27, 2015 at 9:59 AM, Anoob Soman wrote: > Hi All, > > I am aware there had been some discussion on running lldpad and open-fcoe > utils (like fcoemon) on top of ovs, but couldn’t figure out a way to > successfully run lldpad and fcoemon on top of openvswitch. > > I did some experimenta

Re: [ovs-dev] [ovn-controller-vtep V4 1/6] ovn-sb: Remove the "Gateway" table from the ovn-sb schema.

2015-07-27 Thread Alex Wang
I think I'll hold off this series a bit, and adopt the similar changes as you did in the "Change strategy for tunnel keys" series. Also, with Russell's change, the table could be renamed again, At the same time, I'll help with reviews, Thanks, Alex Wang, On Mon, Jul 27, 2015 at 1:33 PM, Ben Pfa

Re: [ovs-dev] [PATCH v2] ofp-print: Abbreviate duplicated table features.

2015-07-27 Thread Andy Zhou
Ben, thanks for rebasing. I will review it soon. On Mon, Jul 27, 2015 at 1:56 PM, Ben Pfaff wrote: > I spent some time recently looking at the results of "ovs-ofctl > dump-table-features". It was really distressing because of the volume of > information. Every table yielded well over 100 lines

[ovs-dev] [PATCH v2] ofp-print: Abbreviate duplicated table features.

2015-07-27 Thread Ben Pfaff
I spent some time recently looking at the results of "ovs-ofctl dump-table-features". It was really distressing because of the volume of information. Every table yielded well over 100 lines of output and for 253 (visible) tables that meant over 25,300 lines of output total, which is basically unu

Re: [ovs-dev] [PATCH] ofproto-dpif-mirror: Check VLANs without copying 4096-bit bitmap.

2015-07-27 Thread Andy Zhou
On Fri, Jul 24, 2015 at 3:36 PM, Ben Pfaff wrote: > When a mirror was restricted to particular VLANs, this code was allocating, > copying, and freeing a 512-byte block of memory just to check the value of > a single bit in the block. This fixes the problem. > > Found by inspection. > > Signed-off

Re: [ovs-dev] [ovn-controller-vtep V4 2/6] ovn-sbctl: Add ovn-sbctl.

2015-07-27 Thread Ben Pfaff
On Thu, Jul 16, 2015 at 12:56:23AM -0700, Alex Wang wrote: > This commit adds ovn-sbctl to ovn family by using the db-ctl-base > library. > > As a side effect, we move the ovn-nbctl/ovn-sbctl related files > into ovn/utilities. > > Signed-off-by: Alex Wang > Acked-by: Ben Pfaff > > --- > V3->V

Re: [ovs-dev] [ovn-controller-vtep V4 1/6] ovn-sb: Remove the "Gateway" table from the ovn-sb schema.

2015-07-27 Thread Ben Pfaff
On Thu, Jul 16, 2015 at 12:56:22AM -0700, Alex Wang wrote: > In a gateway like the VTEP L2 gateway, physical vlans belonging to > the same logical network form a "logical switch". Each logical switch > has a dedicated tunnel key and will keep records of all MACs learned > from the owned vlans. So

Re: [ovs-dev] [PATCH] tunneling: Remove gre64 tunnel support.

2015-07-27 Thread Jesse Gross
On Tue, Jul 21, 2015 at 3:35 PM, Pravin B Shelar wrote: > diff --git a/datapath-windows/ovsext/Debug.h b/datapath-windows/ovsext/Debug.h > index 4b7b526..e4e55ac 100644 > --- a/datapath-windows/ovsext/Debug.h > +++ b/datapath-windows/ovsext/Debug.h > @@ -31,7 +31,6 @@ > #define OVS_DBG_CHECKSUM B

Re: [ovs-dev] [PATCH v1 2/2] ofproto: Implement OF1.4 Group & Meter change notification messages

2015-07-27 Thread Ben Pfaff
On Thu, Jul 23, 2015 at 05:06:36PM +0530, niti1...@gmail.com wrote: > From: Niti Rohilla > > This patch adds support for Openflow1.4 Group & meter change notification > messages. In a multi controller environment, when a controller modifies the > state of group and meter table, the request that s

Re: [ovs-dev] [PATCH net-next 3/3] openvswitch: 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-07-27 Thread Pravin Shelar
On Sun, Jul 26, 2015 at 7:52 AM, Thomas F Herbert wrote: > Add support for 802.1ad including the ability to push and pop double > tagged vlans. Add support for 802.1ad to netlink parsing and flow > conversion. Uses double nested encap attributes to represent double > tagged vlan. Inner TPID encode

Re: [ovs-dev] [PATCH branch-2.4 v2] tunnel: Mark GRE64 tunnel protocol deprecated.

2015-07-27 Thread Jesse Gross
On Tue, Jul 21, 2015 at 9:52 PM, Pravin B Shelar wrote: > v2.3.0 - 14 Aug 2014 > diff --git a/datapath/vport-gre.c b/datapath/vport-gre.c > index 7bbcf57..8a47ab2 100644 > --- a/datapath/vport-gre.c > +++ b/datapath/vport-gre.c > @@ -330,6 +330,7 @@ static struct vport *gre64_create(const struct

Re: [ovs-dev] [PATCH] datapath: skip checksum of gro packet

2015-07-27 Thread Jesse Gross
On Fri, Jul 24, 2015 at 2:28 AM, Zang MingJie wrote: > Newer kernel will do gro on vxlan packet, after gro the tcp checksum > encapsulated in the packet is wrong but the origin checksum is already > verified. > > The patch skips verifying checksum of all gro packets. I think this solution is too

[ovs-dev] [PATCH 1/3] rtbsd: include necessary headers on rtbsd.h

2015-07-27 Thread Thadeu Lima de Souza Cascardo
rtbsd.h requires net/if.h for IF_NAMESIZE. This was not caught because rtbsd.c did not include rtbsd.h as its first header. Signed-off-by: Thadeu Lima de Souza Cascardo --- lib/rtbsd.c | 3 ++- lib/rtbsd.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rtbsd.c b/lib/rtb

[ovs-dev] [PATCH 3/3] bridge: reconfigure when system interfaces change

2015-07-27 Thread Thadeu Lima de Souza Cascardo
Whenever system interfaces are removed, added or change state, reconfigure bridge. This allows late interfaces to be added to the datapath when they are added to the system after ovs-vswitchd is started. Signed-off-by: Thadeu Lima de Souza Cascardo --- lib/automake.mk | 3 +++ lib/if-noti

[ovs-dev] [PATCH 2/3] rtbsd: support RTM_IFANNOUNCE messages

2015-07-27 Thread Thadeu Lima de Souza Cascardo
When devices are created, they are announced using RTM_IFANNOUNCE messages using PF_ROUTE. Signed-off-by: Thadeu Lima de Souza Cascardo --- lib/rtbsd.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/lib/rtbsd.c b/lib/rtbsd.c index 8fc88e4..5f58f5a 1

Re: [ovs-dev] [PATCH v4 1/2] ofproto: Implement OF1.4 Set/Get asynchronous configuration messages.

2015-07-27 Thread Ben Pfaff
On Thu, Jul 23, 2015 at 05:05:44PM +0530, niti1...@gmail.com wrote: > From: Niti Rohilla > > This patch adds support for Openflow1.4 set/get asynchronous configuration > messages. OpenVSwitch already supports set/get asynchronous configuration > messages for Openflow1.3. In this patch OFPT_SET_AS

[ovs-dev] Inter-op openvswitch and openfcoe

2015-07-27 Thread Anoob Soman
Hi All, I am aware there had been some discussion on running lldpad and open-fcoe utils (like fcoemon) on top of ovs, but couldn’t figure out a way to successfully run lldpad and fcoemon on top of openvswitch. I did some experimentation with openvswitch and open-fcoe and now I am trying to g

Re: [ovs-dev] [PATCH v2] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Daniele Di Proietto
Thanks for the updated patch. One comment below On 27/07/2015 13:19, "Ilya Maximets" wrote: >Currently pmd threads select queues in pmd_load_queues() according to >get_n_pmd_threads_on_numa(). This behavior leads to race between pmds, >beacause dp_netdev_set_pmds_on_numa() starts them one by on

[ovs-dev] status

2015-07-27 Thread MAILER-DAEMON
The original message was received at Tue, 28 Jul 2015 00:59:30 +0800 from [117.182.158.19] - The following addresses had permanent fatal errors - - Transcript of the session follows - ... while talking to openvswitch.org.: 550 5.1.2 ... Host unknown (Name server: host not found)

[ovs-dev] MESSAGE COULD NOT BE DELIVERED

2015-07-27 Thread MAILER-DAEMON
The original message was received at Mon, 27 Jul 2015 23:54:57 +0800 from openvswitch.com [26.44.141.137] - The following addresses had permanent fatal errors - ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo

[ovs-dev] Need pointers in understanding Mac learning ovs bridge code flow(legacy)

2015-07-27 Thread ravulakollu.kumar
Hi All, I am analyzing code for openvswitch with kernel datapath. For a mac learning switch implementation, I wanted to Understand the code flow when a packet is arrived on vport(netdev). I could see upcalls to userspace when the packet received on vport(netdev). Upcall handler doing DPIF_OP_FLO

[ovs-dev] Email List/E- Blast Services

2015-07-27 Thread Jim Dunn
Hi, Good day! My name is Jim and I'm curious to know if you are currently interested/seeking to purchase any email lists. We are a Multi-channel Database and Marketing Services Company, primly specialized in all types of mailing lists like email lists, direct mail lists, phone/fax list

Re: [ovs-dev] [PATCH v1 0/2] OF1.4 Group and Meter change notification (EXT-235)

2015-07-27 Thread niti Rohilla
Hi Ben, Greetings! This is in reference to the patch series "OF1.4 Group and Meter change notification (EXT-235)" which is under review. 1. [PATCH v4 1/2] : ofproto: Implement OF1.4 Set/Get asynchronous configuration messages. 2. [PATCH v1 2/2] : ofproto: Implement OF1.4 Group & Meter change no

[ovs-dev] [PATCH v2] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Currently pmd threads select queues in pmd_load_queues() according to get_n_pmd_threads_on_numa(). This behavior leads to race between pmds, beacause dp_netdev_set_pmds_on_numa() starts them one by one and current number of threads changes incrementally. As a result we may have the following situa

Re: [ovs-dev] [PATCH] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Ok. I will. Thanks to you. On 27.07.2015 14:12, Daniele Di Proietto wrote: > That looks better to me. Minor comment: we usually prefer > 'sizeof *pmds' to 'sizeof(struct dp_netdev_pmd_thread*)' > > https://github.com/openvswitch/ovs/blob/master/CodingStyle.md#user-content- > expressions > > Wo

Re: [ovs-dev] [PATCH] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Daniele Di Proietto
That looks better to me. Minor comment: we usually prefer 'sizeof *pmds' to 'sizeof(struct dp_netdev_pmd_thread*)' https://github.com/openvswitch/ovs/blob/master/CodingStyle.md#user-content- expressions Would you mind changing that, updating the commit message and resending to the list? Thanks!

Re: [ovs-dev] [PATCH] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Previous diff was completely wrong. Sorry. @@ -2971,6 +2970,7 @@ dp_netdev_set_pmds_on_numa(struct dp_netdev *dp, int numa_id) * pmd threads for the numa node. */ if (!n_pmds) { int can_have, n_unpinned, i; +struct dp_netdev_pmd_thread **pmds; n_unpinned = o

Re: [ovs-dev] [PATCH net-next] openvswitch: fix compilation when vxlan is a module

2015-07-27 Thread Thomas Graf
On 07/26/15 at 08:57pm, David Miller wrote: > From: Nicolas Dichtel > Date: Thu, 23 Jul 2015 11:29:07 +0200 > > > With CONFIG_VXLAN=m and CONFIG_OPENVSWITCH=y, there was the following > > compilation error: > > LD init/built-in.o > > net/built-in.o: In function `vxlan_tnl_create': > >

Re: [ovs-dev] [PATCH net-next V12 2/3] Check for vlan ethernet types for 8021.q or 802.1ad

2015-07-27 Thread David Miller
From: Thomas F Herbert Date: Sun, 26 Jul 2015 10:52:34 -0400 > Signed-off-by: Thomas F Herbert > --- > include/linux/if_vlan.h | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h > index 67ce5bd..88d1be4 100644 > --- a/i

Re: [ovs-dev] [PATCH] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Sorry, without dp_netdev_reload_pmds(dp) at the end. On 27.07.2015 10:58, Ilya Maximets wrote: > Yes, I think, this way is better. But it may be more simple > if we just keep all the dp_netdev_pmd_thread structures. > There is no need to search over all pmd threads on system. > > Like this: > >

Re: [ovs-dev] [PATCH] dpif-netdev: fix race for queues between pmd threads

2015-07-27 Thread Ilya Maximets
Yes, I think, this way is better. But it may be more simple if we just keep all the dp_netdev_pmd_thread structures. There is no need to search over all pmd threads on system. Like this: diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 79c4612..8e4c025 100644 --- a/lib/dpif-netdev.c +++ b