> On Jul 1, 2016, at 2:48 AM, Jan Scheurich wrote:
>
>>> Refreshing the 250K flow entries using the bundle mechanism increases
>>> the vswitchd memory linearly up to 1.9 GB, significantly more than the 910
>>> MB one would expect for accommodating two versions of
> On Jul 22, 2016, at 2:51 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Wed, Jul 06, 2016 at 05:26:17AM -0700, Jarno Rajahalme wrote:
>> PMD threads use pvectors but do not need the overhead of the
>> concurrent version. Expose the non-concurrent version for
>>
Thanks for the review, pushed to master.
Jarno
> On Jul 28, 2016, at 10:24 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Thu, Jul 28, 2016 at 05:29:44PM -0700, Jarno Rajahalme wrote:
>> As any proxy configuration may ruin kernel testsuite tests, it is
>> better to ign
> On Jul 26, 2016, at 11:08 AM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Fri, Jul 15, 2016 at 03:19:07AM -0700, Jarno Rajahalme wrote:
>> Separate rule versioning to lib/versions.h to make it easier to use
>> versioning for other data types.
>>
>> Signed
.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/bundles.c | 2 +-
ofproto/bundles.h | 4 +-
ofproto/ofproto-provider.h | 43 +++-
ofproto/ofproto.c | 570 +
tests/ofproto.at | 4 -
5 files c
This helps releasing ofputil_flow_mod earlier in a later patch.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-provider.h | 1 +
ofproto/ofproto.c | 9 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ofproto/ofproto-provider.h b/o
ofproto internally modifies 'modify_cookie' field, and adding a
replica to ofproto_flow_mod allows the ofputil_flow_mod argument to be
changed to a const.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif.c | 27 +--
ofproto/ofproto-prov
One step towards the goal of removing the ofputil_flow_mod from the
bundle message.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-provider.h | 7 +
ofproto/ofproto.c | 68 ++
2 files changed, 45 insertions(
uot;bundle" command that reads a file in which
each line contains one flow mod or group mod, and then executes them
all as a single atomic bundle transaction.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
NEWS| 7 +-
include/openvswitch/ofp
We can use the rule's removed_reason instead.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/ofp-util.h | 3 ---
lib/learn.c| 1 -
lib/ofp-parse.c| 1 -
lib/ofp-util.c | 4
ofproto/ofproto-dpif.c
the callers first check the
prerequisites, while supplying 'wc' to mf_are_prereqs_ok(), and if
successful, mask the bits of the field that were read or set using
mf_mask_field_masked().
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/meta-flow.h | 8 +---
lib/classi
Having a masked version allows generating better wildcarding.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/meta-flow.h | 4 +++-
include/openvswitch/ofp-parse.h | 4 ++--
lib/dpctl.c | 4 ++--
lib/meta-flow.c
t;Use classifier versioning.")
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif.c | 38 +++---
ofproto/ofproto-provider.h | 7 ---
ofproto/ofproto.c | 9 +
3 files changed, 40 insertions(+), 14 deletions(-)
diff
the commit is
sent, a barrier is required before sending the commit message.
Finally, make vconn collect bundle errors into a list instead of
calling a callback. This makes bundle error management simpler.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/vconn.h
Group properties field array is not dynamically allocated, so it
should not be freed. This has not been a problem, as this function
has not been called by anyone so far, but following patch will.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/ofp-util.c | 1 -
1 file changed, 1 de
takes care of unwildcarding, we can simplify the code by
hashing only the specified fields.
Also change the test case to include fields that have prerequisities.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/meta-flow.h | 2 --
lib/meta-flow.c
Use ofputil_uninit_group_mod() instead of
ofputil_bucket_list_destroy(). Currently these have the same effect,
but this will change in a following patch.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/ofp-parse.c | 6 +++---
lib/ofp-print.c | 4 ++--
ofproto/ofp
struct field_array is included in each ofgroup, but the current
implementation is very sparse, using more than 20kb of data.
Also loop over 1-bits instead of each and every MF type to make
processing faster.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/meta-flow.
This allows reducing pointer casting when individual bytes of mf_value
are accessed. First users are in the following patches.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/meta-flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/openvswitch/meta-fl
, it will not be
sent by itself, and we need to update the length explicitly instead.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/ofp-util.c | 3 ++-
lib/vconn.c| 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 6d73e69..06b48b8
Adding groups support for bundles is simpler if also groups are
modified under ofproto_mutex.
Eliminate the search for rules when deleting a group so that we will
not keep the mutex for too long.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
include/openvswitch/ofp-actions.h
Flow mod stats get skewed if they are not reported from bundles. Move
reporting to ofproto_flow_mod_finish() so that it will be done in all
cases.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff
Define rule_collection in terms of a new ofproto_collection. This
makes it easier to add other types of collections later.
This patch makes no functional changes.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-provider.h | 112 ++---
ofproto/ofp
This is a prepatory step for adding group mod support for bundles in a
following patch.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif-xlate.c | 5 +-
ofproto/ofproto-dpif.c | 4 +-
ofproto/ofproto-dpif.h | 3 +-
ofproto/ofproto-provider.h
This changes ofproto providers modify_group() to never fail.
Separating major refactoring to a separate patch should make following
patches easier to review.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif.c | 4 +-
ofproto/ofproto-provider.h | 27 +++-
o
Group mods also need a 'requester', so rename 'flow_mod_requester' as
'openflow_mod_requester'.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto.c | 50 --
1 file changed, 24 insertions(+), 26 deletions(-)
diff --git a/o
references to the
referring flows.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 83fe3a1..83719a5 100644
--- a/ofproto/ofproto.c
+++ b/o
Make groups RCU protected and make group lookups lockless.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif-xlate.c | 22 +++---
ofproto/ofproto-dpif.c | 27 +++
ofproto/ofproto-dpif.h | 7 +-
ofproto/ofproto-provider.h | 12 ++--
ofproto/ofp
Separate rule versioning to lib/versions.h to make it easier to use
versioning for other data types.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/automake.mk | 1 +
lib/classifier-private.h | 31 +--
lib/classifier.c
Avoid unnecessary references when RCU protection suffices. This makes
group lookup memory management more like flow lookup memory
management.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif-xlate.c | 22 +-
ofproto/ofproto-dpif.c
in the ofputil_flow_mod.
- We failed to report the counts of flow mods from bundles.
Jarno Rajahalme (26):
lib: Separate versioning to its own module.
ofproto: Lockless group lookups.
ofproto: Take group references only when needed.
ofproto: Make flow handling more symmetric.
ofproto: Use
As any proxy configuration may ruin kernel testsuite tests, it is
better to ignore all proxy configuration.
Suggested-by: Ben Pfaff <b...@ovn.org>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
tests/atlocal.in| 10 ++
tests/system-traffic.at | 8
2 f
> On Jul 14, 2016, at 17:32, Ben Pfaff <b...@ovn.org> wrote:
>
>> On Thu, Jul 14, 2016 at 03:07:21AM -0700, Jarno Rajahalme wrote:
>>
>>> On Jul 13, 2016, at 9:36 PM, Ben Pfaff <b...@ovn.org> wrote:
>>>
>>> On Wed, Jul 06, 2016 at 06:0
I already tested and pushed these to master.
Jarno
> On Jul 22, 2016, at 05:28, Ansis Atteka <ansisatt...@gmail.com> wrote:
>
> On Jul 21, 2016 2:08 PM, "Jarno Rajahalme" <ja...@ovn.org> wrote:
> >
> > Looks good to me:
> >
> > Acked-b
.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
tests/ovsdb-server.at | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at
index 2f2ef99..baf253a 100644
--- a/tests/ovsdb-server.at
+++ b/tests/ovsdb-server.at
@@ -1213,7 +
For the series:
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 19, 2016, at 12:54 PM, Joe Stringer <j...@ovn.org> wrote:
>
> Prior to commit b87a5aacefe2 ("datapath: Fix cached ct with helper."),
> we were relying on automatic helpers to ensure that FTP co
Looks good to me:
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 19, 2016, at 2:25 PM, Ansis Atteka <aatt...@ovn.org> wrote:
>
> There are two issues that this patch fixes:
> 1. it was impossible to set skb mark at all through
> NXM_NX_PKT_MARK register
This changes ofproto providers modify_group() to never fail.
Separating major refactoring to a separate patch should make following
patches easier to review.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif.c | 4 +-
ofproto/ofproto-provider.h | 27 +++-
o
This is a prepatory step for adding group mod support for bundles in a
following patch.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif-xlate.c | 5 +-
ofproto/ofproto-dpif.c | 4 +-
ofproto/ofproto-dpif.h | 3 +-
ofproto/ofproto-provider.h
uot;bundle" command that reads a file in which
each line contains one flow mod or group mod, and then executes them
all as a single atomic bundle transaction.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
NEWS| 7 +-
include/openvswitch/ofp
It is possible that a bundle add message fails, but the following
commit succeeds, since the message was not added to the bundle. Make
ovs-ofctl fail also in these cases.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
utilities/ovs-ofctl.c | 13 +++--
1 file changed, 11 inse
, it will not be
sent by itself, and we need to update the length explicitly instead.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/ofp-util.c | 3 ++-
lib/vconn.c| 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 4ae83df..40fd2b1
Define rule_collection in terms of a new ofproto_collection. This
makes it easier to add other types of collections later.
This patch makes no functional changes.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-provider.h | 112 ++---
ofproto/ofp
Flow mod stats get skewed if they are not reported from bundles. Move
reporting to ofproto_flow_mod_finish() so that it will be done in all
cases.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff
Group mods also need a 'requester', so rename 'flow_mod_requester' as
'openflow_mod_requester'.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto.c | 50 --
1 file changed, 24 insertions(+), 26 deletions(-)
diff --git a/o
references to the
referring flows.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 9173376..e9f7a98 100644
--- a/ofproto/ofproto.c
+++ b/o
Avoid unnecessary references when RCU protection suffices. This makes
group lookup memory management more like flow lookup memory
management.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif-xlate.c | 22 +-
ofproto/ofproto-dpif.c
Make groups RCU protected and make group lookups lockless.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif-xlate.c | 22 +++---
ofproto/ofproto-dpif.c | 27 +++
ofproto/ofproto-dpif.h | 7 +-
ofproto/ofproto-provider.h | 12 ++--
ofproto/ofp
Adding groups support for bundles is simpler if also groups are
modified under ofproto_mutex.
Eliminate the search for rules when deleting a group so that we will
not keep the mutex for too long.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
ofproto/ofproto-dpif.c | 2 +-
o
Separate rule versioning to lib/versions.h to make it easier to use
versioning for other data types.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/automake.mk | 1 +
lib/classifier-private.h | 31 +++--
lib/classifier.c
> On Jul 13, 2016, at 9:36 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Wed, Jul 06, 2016 at 06:02:45AM -0700, Jarno Rajahalme wrote:
>>
>>> On Jul 1, 2016, at 8:30 PM, Ben Pfaff <b...@ovn.org> wrote:
>>>
>>> On Tue, Jun 21, 2016 at 09:57:
Does not ring a bell either!
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 13, 2016, at 5:06 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> I don't know why this was here. The write_actions instruction works fine.
>
> Signed-off-by: Ben Pfaff <b...@ovn.org>
&g
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 13, 2016, at 5:06 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> Signed-off-by: Ben Pfaff <b...@ovn.org>
> ---
> NEWS | 4 ++--
> lib/ofp-actions.c| 4 +++-
> tests/ofp-actions.at | 18 +
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 13, 2016, at 5:06 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> Also, translate OF1.2+ "set_field" on OXM_OF_IP_ECN properly to OF1.1
> "mod_nw_ecn".
>
> Signed-off-by: Ben Pfaff <b...@ovn
With a small question below:
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 13, 2016, at 5:06 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> Previously, the OF1.0 "enqueue" action was simply omitted when actions
> were translated into OpenFlow 1.1 or later, wh
That was surprisingly small change; speaks for all the infra you have built in
here!
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 13, 2016, at 5:06 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> From time to time it confuses users that "group" actions disa
fills them.
> The caller can then invoke ofproto_class->packet_out() passing the args that
> were filled.
>
> Jarno Rajahalme <ja...@ovn.org <mailto:ja...@ovn.org>> escreveu no dia
> quarta, 29/06/2016 às 12:36:
>
> > On Jun 23, 2016, at 4:51 AM, Andre Mantas &
> On Jul 1, 2016, at 8:30 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Tue, Jun 21, 2016 at 09:57:15AM -0700, Jarno Rajahalme wrote:
>> Add '--noproxy' parameter to 'wget' so that the test cases do not try
>> to use a proxy that may be configured in the test env
Thanks for the review!
> On Jul 1, 2016, at 9:08 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Tue, Jun 21, 2016 at 05:18:45PM -0700, Jarno Rajahalme wrote:
>> PMD threads use pvectors but do not need the overhead of the
>> concurrent version. Expose the inte
Allow clients to use the whole priority range. Note that this changes
the semantics of PVECTOR_FOR_EACH_PRIORITY so that the iteration still
continues for entries at the given priority.
Suggested-by: Ben Pfaff <b...@ovn.org>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/
-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/classifier.c| 30
lib/classifier.h| 6 +-
lib/dpif-netdev.c | 14 ++--
lib/pvector.c | 190 +---
lib/pvector.h
There is no need to expose PVECTOR_EXTRA_ALLOC in the API.
Suggested-by: Ben Pfaff <b...@ovn.org>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/pvector.c | 6 +-
lib/pvector.h | 6 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/pvector.c b/l
The referred patches have been merged to Linux 4.6 and backported to OVS master
git repo, so you do not need to apply those patches manually any more.
Jarno
> On Jul 5, 2016, at 2:16 AM, Cristina Palomo Regidor
> wrote:
>
>
>
> Hello,
> I would like
Thanks for the review, pushed to master,
Jarno
> On Jul 1, 2016, at 8:31 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Tue, Jun 21, 2016 at 09:57:16AM -0700, Jarno Rajahalme wrote:
>> Since the 'commit' flag is required to set the mark and/or labels, the
>> set
With a small nit below:
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 1, 2016, at 11:37 AM, Pravin B Shelar <pshe...@ovn.org> wrote:
>
> Upstream commit:
>commit 7d904c7bcd51f72579c0c3134a50896c5a3efb9f
>Author: Jarno Rajahalme <ja...@ovn.org>
>
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jul 1, 2016, at 11:37 AM, Pravin B Shelar <pshe...@ovn.org> wrote:
>
> Upstream commit:
>commit 1c1779fa54b2a9d4e1de990095d790d64b9e00a1
>Author: Jarno Rajahalme <ja...@ovn.org>
>Date: Tue Jun 21 14:
I like this RFC patch and suggest you send a non-RFC patch after taking care of
the following:
- There are numerous coding style violations. I've done my best to note them
below, but you should also read 'CodingStyle.md'.
- The subject line should have 'Patch' in all upper-case and have the
it:
>commit 229740c63169462a838a8b8e16391ed000934631
>Author: Jarno Rajahalme <ja...@ovn.org>
>
>udp_offload: Set encapsulation before inner completes.
>
>UDP tunnel segmentation code relies on the inner offsets being set for
>an UDP tunnel GSO packet, but the
> On Jun 29, 2016, at 4:58 PM, Flavio Leitner <f...@redhat.com> wrote:
>
> On Wed, Jun 29, 2016 at 05:04:06AM -0700, Jarno Rajahalme wrote:
>>
>>> On Jun 23, 2016, at 11:40 AM, Flavio Leitner <f...@redhat.com> wrote:
>>>
...
>
>>> +
&g
> On Jun 28, 2016, at 9:17 AM, Jan Scheurich wrote:
>
> Hi,
>
> We would like to resume our earlier discussion about how to support a simple,
> generic and efficient procedure for controllers to resync all OF forwarding
> state with OVS after a reconnect while
Upstream commit:
commit 1c1779fa54b2a9d4e1de990095d790d64b9e00a1
Author: Jarno Rajahalme <ja...@ovn.org>
Date: Tue Jun 21 14:59:37 2016 -0700
openvswitch: Set mark and labels before confirming.
Set conntrack mark and labels right before committing so that
the i
Upstream commit:
commit 7d904c7bcd51f72579c0c3134a50896c5a3efb9f
Author: Jarno Rajahalme <ja...@ovn.org>
Date: Tue Jun 21 14:59:38 2016 -0700
openvswitch: Only set mark and labels with a commit flag.
Only set conntrack mark or labels when the commit flag is spe
> On Jun 23, 2016, at 11:40 AM, Flavio Leitner wrote:
>
> The PMD thread needs to keep processing RX queues in order
> to achieve maximum throughput. It also needs to sweep emc
> cache and quiesce which use seq_mutex. That mutex can
> eventually block the PMD thread causing
> On Jun 23, 2016, at 4:51 AM, Andre Mantas wrote:
>
> This patch allows ofp_packet_out messages to be added to bundles. In a
> multi controller scenario, packet_out messages inside bundles can serve
> as a commit_reply for other controllers - since the original
> On Jun 23, 2016, at 2:51 AM, Jan Scheurich wrote:
>
>> This no longer applies cleanly, and I also needed to add this incremental to
>> make the testsuite pass:
>
> I will rebase and adapt the tests as suggested in the next version.
>
>> Did you consider keeping a
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jun 22, 2016, at 6:00 PM, Joe Stringer <j...@ovn.org> wrote:
>
> For many of the tests, we would first execute a "basic connectivity
> check" to validate the sanity of the setup before running the test
> traffic
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jun 22, 2016, at 6:00 PM, Joe Stringer <j...@ovn.org> wrote:
>
> From: "Eric W. Biederman" <ebied...@xmission.com>
>
> Upstream commit:
>openvswitch: Pass net into ovs_fragment
>
>In
t; sorts the vectors according to match frequency every second.
>
Also, it should be possible to expand the pvector API to allow using the
pvector priorities directly as the counts. I posted a patch for this
(https://patchwork.ozlabs.org/patch/638920/), after which you could apply the
follow
PMD threads use pvectors but do not need the overhead of the
concurrent version. Expose the internal non-concurrent version for
that use.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/pvector.c | 71 +++
lib/pvector.
Thanks for the review!
> On Jun 21, 2016, at 1:57 PM, Joe Stringer <j...@ovn.org> wrote:
>
> On 20 June 2016 at 17:19, Jarno Rajahalme <ja...@ovn.org> wrote:
>> Only allow setting conntrack mark or labels when the commit flag is
>> specified. This make
ct_mark and/or ct_labels. Validate for this in the kernel API.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
net/openvswitch/conntrack.c | 76 ++---
1 file changed, 51 insertions(+), 25 deletions(-)
diff --git a/net/openvswitch/conntrack.c
Set conntrack mark and labels right before committing so that
the initial conntrack NEW event has the mark and labels.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
v2: Separate Kernel API change to an RFC patch (2/2).
net/openvswitch/conntrack.c | 33 ++
[Google filtered by ack as spam, so I'm trying again.]
Acked-by: Jarno Rajahalme <ja...@ovn.org>
> On Jun 9, 2016, at 11:50 AM, Jesse Gross <je...@kernel.org> wrote:
>
> Since tunnel metadata is stored in a fixed area in the flow match field, we
> must al
Since the 'commit' flag is required to set the mark and/or labels, the
set values are always available for following lookups.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
utilities/ovs-ofctl.8.in | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/uti
Add '--noproxy' parameter to 'wget' so that the test cases do not try
to use a proxy that may be configured in the test environment.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
tests/system-traffic.at | 102
1 file changed, 51 inse
Thanks for the review, pushed to master with the suggested changes.
Jarno
> On May 6, 2016, at 2:27 PM, Ben Pfaff <b...@ovn.org> wrote:
>
> On Wed, May 04, 2016 at 01:08:13PM -0700, Jarno Rajahalme wrote:
>> There is no need to set the revalidate flag after each flow mod
Thanks for the reviews, series pushed to master.
Jarno
> On Jun 20, 2016, at 6:48 PM, Jesse Gross <je...@kernel.org> wrote:
>
> On Fri, Jun 17, 2016 at 6:44 PM, Jarno Rajahalme <ja...@ovn.org> wrote:
>> This series adds the conntrack NAT integration upstreamed in L
The title should have been:
openvswitch: Only set mark and labels with a commit flag.
This reflects the fact that modifying the mark and/or labels of an existing
connection is allowed. The commit flag is still required to do that, though.
Jarno
> On Jun 20, 2016, at 5:19 PM, Jarno Rajaha
to accept setting
ct_mark and/or ct_labels. Validate for this on the kernel API.
Finally, set conntrack mark and labels right before committing so that
the initial conntrack NEW event has the mark and labels.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
net/openvswitch/conntrack.
Thanks for the review Jesse, responses below:
> On Jun 20, 2016, at 2:39 PM, Jesse Gross <je...@kernel.org> wrote:
>
> On Fri, Jun 17, 2016 at 6:44 PM, Jarno Rajahalme <ja...@ovn.org> wrote:
>> diff --git a/datapath/conntrack.c b/datapath/conntrack.c
>&
ion")
Signed-off-by: Joe Stringer <j...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
Fixes: 11251c170d92 ("datapath: Allow attaching helpers to ct action")
Signed-off-by: Jarno Raj
alid pointer
If the protocol is not natively supported, this assigns generic protocol
tracker so we can always assume a valid pointer after these calls.
Signed-off-by: Pablo Neira Ayuso <pa...@netfilter.org>
Acked-by: Jarno Rajahalme <jrajaha...@nicira.com>
Acked-by: Jo
f-by: Pablo Neira Ayuso <pa...@netfilter.org>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
Fixes: c5f6c06b58d6 ("datapath: Interface with NAT.")
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
datapath/conntrack.c | 16
1 file changed, 8 ins
org>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
OVS compat code defined nf_connlabels_get() if it was missing. Now we
redefine it if it is missing, or if it has the old signature.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
acinclude.m4
Upstream commit:
commit 5745b0be05a0f8ccbc92a36b69f3a6bc58e91954
Author: Jarno Rajahalme <ja...@ovn.org>
Date: Mon Mar 21 11:15:19 2016 -0700
openvswitch: Fix checking for new expected connections.
OVS should call into CT NAT for packets of new expected connection
Upstream commit:
commit 394e910e909b174270b8231fd51942eb2f541fb9
Author: Jarno Rajahalme <ja...@ovn.org>
Date: Thu Mar 10 10:54:19 2016 -0800
openvswitch: Update the CT state key only after nf_conntrack_in().
Only a successful nf_conntrack_in() call can effect a conn
Upstream commit:
commit 5b6b929376a621e2bd3367f5de563d7123506597
Author: Jarno Rajahalme <ja...@ovn.org>
Date: Thu Mar 10 10:54:21 2016 -0800
openvswitch: Handle NF_REPEAT in conntrack action.
Repeat the nf_conntrack_in() call when it returns NF_REPEAT. This
Linux kernel 3.13 and older do not have
NF_NAT_RANGE_PROTO_RANDOM_FULLY (unless backported by the
distribution). Silently fall back to NF_NAT_RANGE_PROTO_RANDOM to
maintain OVS API compatibility.
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
datapath/conntrack.c | 12 +++-
gt;
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
Fixes: c5f6c06b58d6 ("datapath: Interface with NAT.")
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
datapath/conntrack.c | 3 ++-
1 file changed, 2 inser
Upstream commit:
commit 264619055bd52bc2278af848472176642d759874
Author: Jarno Rajahalme <ja...@ovn.org>
Date: Thu Mar 10 10:54:17 2016 -0800
netfilter: Allow calling into nat helper without skb_dst.
NAT checksum recalculation code assumes existence of skb_dst,
501 - 600 of 3087 matches
Mail list logo