Re: [ovs-dev] [PATCH] Add support for 802.1ad (QinQ tunneling)

2016-07-20 Thread Eric Garver
Sorry for the late reply. I missed this sub-thread somehow. On Thu, Jul 14, 2016 at 09:38:09AM +0800, Xiao Liang wrote: > As far as I know, Eric and Tom are working on the kernel patch set and > would submit a new version to net-next. Kernel patches usually go to > netdev first and then backported

Re: [ovs-dev] [PATCH v3 1/4] Add support for 802.1ad (QinQ tunneling)

2016-07-22 Thread Eric Garver
On Sun, Jul 03, 2016 at 08:47:06AM +0800, Xiao Liang wrote: > diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c > index 997cc15..d8eac93 100644 > --- a/lib/ofp-actions.c > +++ b/lib/ofp-actions.c > @@ -1653,21 +1654,19 @@ parse_PUSH_VLAN(char *arg, struct ofpbuf *ofpacts, > return error;

[ovs-dev] [PATCH 0/5] check-kernel: add 802.1ad tests

2016-07-28 Thread Eric Garver
#x27;s most recent series and my yet to be posted kernel series. Eric Garver (5): check-kernel: Add macros to check for and test 802.1ad. check-kernel: 802.1ad: Add datapath ping tests for CVLANs. check-kernel: 802.1ad: Add conntrack ping tests for CVLANs. check-kernel: 802.1ad: Add push/pop

[ovs-dev] [PATCH 2/5] check-kernel: 802.1ad: Add datapath ping tests for CVLANs.

2016-07-28 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 63 + 1 file changed, 63 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 1cdc2d2e0f4e..4f72292e5490 100644 --- a/tests/system-traffic.at +++ b/tests/system

[ovs-dev] [PATCH 4/5] check-kernel: 802.1ad: Add push/pop test case.

2016-07-28 Thread Eric Garver
Test case to push and pop outer 802.1ad tag between two "customer" bridges. Signed-off-by: Eric Garver --- tests/system-traffic.at | 54 + 1 file changed, 54 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffi

[ovs-dev] [PATCH 3/5] check-kernel: 802.1ad: Add conntrack ping tests for CVLANs.

2016-07-28 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 106 1 file changed, 106 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 4f72292e5490..817eca1d5fea 100644 --- a/tests/system-traffic.at +++ b/tests

[ovs-dev] [PATCH 1/5] check-kernel: Add macros to check for and test 802.1ad.

2016-07-28 Thread Eric Garver
Add macros OVS_CHECK_8021AD(), ADD_SVLAN() and ADD_CVLAN(). Signed-off-by: Eric Garver --- tests/system-common-macros.at | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index

[ovs-dev] [PATCH 5/5] check-kernel: 802.1ad: Add dot1q-tunnel test case.

2016-07-28 Thread Eric Garver
Test case for dot1q-tunnel between two "customer" bridges. Signed-off-by: Eric Garver --- tests/system-traffic.at | 45 + 1 file changed, 45 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 3b51d0f91607..d2

Re: [ovs-dev] [PATCH 0/5] check-kernel: add 802.1ad tests

2016-07-29 Thread Eric Garver
Hi Joe, Thanks for providing feedback. On Fri, Jul 29, 2016 at 11:14:36AM -0700, Joe Stringer wrote: > On 28 July 2016 at 10:54, Eric Garver wrote: > > This series adds 6 test cases to the "check-kernel" make target for > > 802.1ad. It is meant as a counterpart to t

Re: [ovs-dev] [PATCH 1/5] check-kernel: Add macros to check for and test 802.1ad.

2016-07-29 Thread Eric Garver
On Fri, Jul 29, 2016 at 11:17:03AM -0700, Joe Stringer wrote: > On 28 July 2016 at 10:54, Eric Garver wrote: > > Add macros OVS_CHECK_8021AD(), ADD_SVLAN() and ADD_CVLAN(). > > > > Signed-off-by: Eric Garver > > --- > > tests/system-common-macros.at | 29 +++

Re: [ovs-dev] [PATCH 2/5] check-kernel: 802.1ad: Add datapath ping tests for CVLANs.

2016-07-29 Thread Eric Garver
On Fri, Jul 29, 2016 at 11:26:30AM -0700, Joe Stringer wrote: > On 28 July 2016 at 10:54, Eric Garver wrote: > > Signed-off-by: Eric Garver > > Hmm, on my Ubuntu 14.04 setup these tests fail with kernel 3.13.0-91, > bupass with kernel 3.19.0-58, but not 3.13.0-91. I guess

Re: [ovs-dev] [PATCH 3/5] check-kernel: 802.1ad: Add conntrack ping tests for CVLANs.

2016-07-29 Thread Eric Garver
On Fri, Jul 29, 2016 at 11:34:24AM -0700, Joe Stringer wrote: > On 29 July 2016 at 11:30, Joe Stringer wrote: > > On 28 July 2016 at 10:54, Eric Garver wrote: > >> Signed-off-by: Eric Garver > > > > Can you describe your setup? (distro, kernel) RHEL-7.2 Upstream

Re: [ovs-dev] [PATCH 0/5] check-kernel: add 802.1ad tests

2016-08-02 Thread Eric Garver
On Fri, Jul 29, 2016 at 01:50:58PM -0700, Joe Stringer wrote: > On 29 July 2016 at 13:11, Eric Garver wrote: > > Hi Joe, > > > > Thanks for providing feedback. > > > > On Fri, Jul 29, 2016 at 11:14:36AM -0700, Joe Stringer wrote: > >> On 28 July 2016

[ovs-dev] [PATCH v2 2/5] check-kernel: 802.1ad: Add datapath ping tests for CVLANs.

2016-08-02 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 63 + 1 file changed, 63 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 1cdc2d2e0f4e..4f72292e5490 100644 --- a/tests/system-traffic.at +++ b/tests/system

[ovs-dev] [PATCH v2 3/5] check-kernel: 802.1ad: Add conntrack ping tests for CVLANs.

2016-08-02 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 106 1 file changed, 106 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 4f72292e5490..817eca1d5fea 100644 --- a/tests/system-traffic.at +++ b/tests

[ovs-dev] [PATCH v2 5/5] check-kernel: 802.1ad: Add dot1q-tunnel test case.

2016-08-02 Thread Eric Garver
Test case for dot1q-tunnel between two "customer" bridges. Signed-off-by: Eric Garver --- tests/system-traffic.at | 45 + 1 file changed, 45 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 3b51d0f91607..d2

[ovs-dev] [PATCH v2 0/5] check-kernel: add 802.1ad tests

2016-08-02 Thread Eric Garver
#x27;s most recent series and my yet to be posted kernel series. Update v2: - Properly skip tests on older versions of OVS and kernel - Set CVLAN mtu to 1496 to allow tests to pass on older kernels Eric Garver (5): check-kernel: Add macros to check for and test 802.1ad. check-kernel: 802.1ad

[ovs-dev] [PATCH v2 1/5] check-kernel: Add macros to check for and test 802.1ad.

2016-08-02 Thread Eric Garver
Add macros OVS_CHECK_8021AD(), ADD_SVLAN() and ADD_CVLAN(). Signed-off-by: Eric Garver --- tests/system-common-macros.at | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index

[ovs-dev] [PATCH v2 4/5] check-kernel: 802.1ad: Add push/pop test case.

2016-08-02 Thread Eric Garver
Test case to push and pop outer 802.1ad tag between two "customer" bridges. Signed-off-by: Eric Garver --- tests/system-traffic.at | 54 + 1 file changed, 54 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffi

Re: [ovs-dev] [PATCH v4 1/4] Add support for 802.1ad (QinQ tunneling)

2016-08-03 Thread Eric Garver
On Sun, Jul 31, 2016 at 08:22:47AM +0800, Xiao Liang wrote: > Thanks! I'm working on code changes according to your comments. I > think we need more discussion about the ethertype matching. Please see > inline. Can we reach an agreement on the ethertype matching? It has implications on the kernel

Re: [ovs-dev] [PATCH v2 0/5] check-kernel: add 802.1ad tests

2016-08-05 Thread Eric Garver
> > NS_CHECK_EXEC([at_ns0], [ping6 -q -c 3 -i 0.3 -w 2 fc00:1::2 | > FORMAT_PING], [0], [dnl > 3 packets transmitted, 3 received, 0% packet loss, time 0ms > > > > On 2 August 2016 at 08:20, Eric Garver wrote: > > This series adds 6 test cases to the "chec

Re: [ovs-dev] [PATCH v2 0/5] check-kernel: add 802.1ad tests

2016-08-10 Thread Eric Garver
Hi, See two replies below. Thanks again! On Fri, Aug 05, 2016 at 10:03:24AM -0400, Eric Garver wrote: > Joe, > > Thanks for further review. I'll add the changes you have below to the > series. > > I'll take a look at the "check-system-userspace" failur

Re: [ovs-dev] [PATCH v2 0/5] check-kernel: add 802.1ad tests

2016-08-11 Thread Eric Garver
On Wed, Aug 10, 2016 at 04:54:08PM -0700, Joe Stringer wrote: > On 10 August 2016 at 14:55, Eric Garver wrote: > > Hi, > > > > See two replies below. > > > > Thanks again! > > > > On Fri, Aug 05, 2016 at 10:03:24AM -0400, Eric Garver wrote: > >&

Re: [ovs-dev] [PATCH v3 1/4] Add support for 802.1ad (QinQ tunneling)

2016-07-08 Thread Eric Garver
Hi Xiao, Thanks for the series. One patch comment below. General comments: 1) Various places use VLAN_CFI to indicate presence of a VLAN tag (many checks for tci != 0, because CFI bit set). Since we're now tracking the TPID would it be more appropriate to instead us

Re: [ovs-dev] [PATCH v4 1/4] Add support for 802.1ad (QinQ tunneling)

2016-08-19 Thread Eric Garver
On Sat, Aug 06, 2016 at 08:04:44PM -0700, Ben Pfaff wrote: > On Sun, Aug 07, 2016 at 10:54:00AM +0800, Xiao Liang wrote: > > On Thu, Aug 4, 2016 at 6:07 AM, Ben Pfaff wrote: > > > Thanks for the replies, I have some further responses below. > > > > > > On Sun, Jul 31, 2016 at 08:22:47AM +0800, Xia

Re: [ovs-dev] [PATCH v4 1/4] Add support for 802.1ad (QinQ tunneling)

2016-08-19 Thread Eric Garver
On Fri, Aug 19, 2016 at 01:24:10PM -0700, Ben Pfaff wrote: > On Fri, Aug 19, 2016 at 04:19:31PM -0400, Eric Garver wrote: > > On Sat, Aug 06, 2016 at 08:04:44PM -0700, Ben Pfaff wrote: > > > On Sun, Aug 07, 2016 at 10:54:00AM +0800, Xiao Liang wrote: > > > > On Th

Re: [ovs-dev] [PATCH v4 1/4] Add support for 802.1ad (QinQ tunneling)

2016-08-20 Thread Eric Garver
Subject: Re: [ovs-dev] [PATCH v4 1/4] Add support for 802.1ad (QinQ > > tunneling) > > > > On Fri, Aug 19, 2016 at 04:42:18PM -0400, Eric Garver wrote: > > > On Fri, Aug 19, 2016 at 01:24:10PM -0700, Ben Pfaff wrote: > > > > On Fri, Aug 19, 2016 at 04:19:

[ovs-dev] [PATCH net-next v21 1/4] openvswitch: 802.1ad uapi changes.

2016-09-01 Thread Eric Garver
From: Thomas F Herbert openvswitch: Add support for 8021.AD Change the description of the VLAN tpid field. Signed-off-by: Thomas F Herbert --- include/uapi/linux/openvswitch.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/uapi/linux/openvswitch.

[ovs-dev] [PATCH net-next v21 0/4] openvswitch: add 802.1ad support

2016-09-01 Thread Eric Garver
. This patch series has been tested using the most recent version of userspace (v3) and tests (v2). v21 changes: - Fix (and simplify) netlink attribute parsing - re-add handling of truncated VLAN tags - fix if/else dangling assignment in {push,pop}_vlan() - simplify parse_vlan() Eric

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

2016-09-01 Thread Eric Garver
Signed-off-by: Eric Garver --- include/linux/if_vlan.h | 33 +++-- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 49d4aef1f789..3319d97d789d 100644 --- a/include/linux/if_vlan.h +++ b/include

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

2016-09-01 Thread Eric Garver
F Herbert's original v20 patch. I made some small clean ups and bug fixes. Signed-off-by: Thomas F Herbert Signed-off-by: Eric Garver --- net/openvswitch/actions.c | 16 +-- net/openvswitch/flow.c | 64 net/openvswitch/flow.h | 8 +- net/openvs

[ovs-dev] [PATCH net-next v21 4/4] openvswitch: report error on VLAN nlattr in ovs_key_from_nlattrs()

2016-09-01 Thread Eric Garver
With 802.1ad support these are parsed and set upfront by parse_vlan_from_nlattrs() before ovs_key_from_nlattrs() is ever called. As such we should never see a VLAN attribute in ovs_key_from_nlattrs(). Signed-off-by: Eric Garver --- net/openvswitch/flow_netlink.c | 19 +-- 1 file

Re: [ovs-dev] [PATCH net-next v21 4/4] openvswitch: report error on VLAN nlattr in ovs_key_from_nlattrs()

2016-09-03 Thread Eric Garver
On Fri, Sep 02, 2016 at 02:42:41PM -0700, pravin shelar wrote: > On Thu, Sep 1, 2016 at 1:45 PM, Eric Garver wrote: > > With 802.1ad support these are parsed and set upfront by > > parse_vlan_from_nlattrs() before ovs_key_from_nlattrs() is ever called. > > As such we sh

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

2016-09-03 Thread Eric Garver
Pravin, Thanks for the feedback. Some replies below. Thanks. Eric. On Fri, Sep 02, 2016 at 02:42:30PM -0700, pravin shelar wrote: > On Thu, Sep 1, 2016 at 1:45 PM, Eric Garver wrote: > > Add support for 802.1ad including the ability to push and pop double > > tagged vlans.

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

2016-09-06 Thread Eric Garver
On Sun, Sep 04, 2016 at 01:05:46PM +0200, Jiri Benc wrote: > On Sat, 3 Sep 2016 13:30:12 -0400, Eric Garver wrote: > > Would a BUG_ON(!(encap && in_encap)) be better? > > Please don't crash the kernel for something that could very well > continue without problem

[ovs-dev] [PATCH net-next v22 1/3] openvswitch: 802.1ad uapi changes.

2016-09-07 Thread Eric Garver
From: Thomas F Herbert openvswitch: Add support for 8021.AD Change the description of the VLAN tpid field. Signed-off-by: Thomas F Herbert --- include/uapi/linux/openvswitch.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/uapi/linux/openvswitch.

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

2016-09-07 Thread Eric Garver
Signed-off-by: Eric Garver --- include/linux/if_vlan.h | 33 +++-- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 49d4aef1f789..3319d97d789d 100644 --- a/include/linux/if_vlan.h +++ b/include

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

2016-09-07 Thread Eric Garver
F Herbert's original v20 patch. I made some small clean ups and bug fixes. Signed-off-by: Thomas F Herbert Signed-off-by: Eric Garver --- net/openvswitch/actions.c | 16 ++- net/openvswitch/flow.c | 65 ++--- net/openvswitch/flow.h | 8 +- net/openvs

[ovs-dev] [PATCH net-next v22 0/3] openvswitch: add 802.1ad support

2016-09-07 Thread Eric Garver
- fix if/else dangling assignment in {push,pop}_vlan() - simplify parse_vlan() Eric Garver (2): vlan: Check for vlan ethernet types for 8021.q or 802.1ad openvswitch: 802.1AD Flow handling, actions, vlan parsing, netlink attributes Thomas F Herbert (1): openvswitch: 802.1ad uapi

[ovs-dev] [PATCH v3 2/7] system-common-macros: Add macros to check for and test 802.1ad.

2016-09-14 Thread Eric Garver
Add macros OVS_CHECK_8021AD(), ADD_SVLAN() and ADD_CVLAN(). Signed-off-by: Eric Garver --- tests/system-common-macros.at | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index

[ovs-dev] [PATCH v3 0/7] system-traffic: add 802.1ad test cases

2016-09-14 Thread Eric Garver
0 tag test. - Specify cvlans for dot1q-tunnel test and verify other VLANs filtered - Drop CVLAN MTU to 1492, SVLAN to 1496 - Fix passing sed filters for userspace datapath tests. v2: - Properly skip tests on older versions of OVS and kernel - Set CVLAN mtu to 1496 to allow tests to pass on older ker

[ovs-dev] [PATCH v3 1/7] system-userspace-macros: allow passing sed args to OVS_TRAFFIC_VSWITCHD_STOP()

2016-09-14 Thread Eric Garver
Passing sed arguments to OVS_TRAFFIC_VSWITCHD_STOP() was being ignored for check-system-userspace. This is useful to selective ignore log messages. Signed-off-by: Eric Garver --- tests/system-userspace-macros.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system

[ovs-dev] [PATCH v3 3/7] system-traffic: 802.1ad: Add datapath ping tests for CVLANs.

2016-09-14 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 62 + 1 file changed, 62 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 4dabd90356a1..83c7b8a2f4e5 100644 --- a/tests/system-traffic.at +++ b/tests/system

[ovs-dev] [PATCH v3 5/7] system-traffic: 802.1ad: Add vlan_limit test case.

2016-09-14 Thread Eric Garver
Verify that vlan_limit works as expected and preserves legacy dl_type matching behavior. Signed-off-by: Eric Garver --- tests/system-traffic.at | 35 +++ 1 file changed, 35 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index

[ovs-dev] [PATCH v3 7/7] system-traffic: 802.1ad: Add dot1q-tunnel test case.

2016-09-14 Thread Eric Garver
Test case for dot1q-tunnel between two "customer" bridges. Signed-off-by: Eric Garver --- tests/system-traffic.at | 63 + 1 file changed, 63 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index ce

[ovs-dev] [PATCH v3 4/7] system-traffic: 802.1ad: Add conntrack ping tests for CVLANs.

2016-09-14 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 107 1 file changed, 107 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 83c7b8a2f4e5..bb0cb02804f9 100644 --- a/tests/system-traffic.at +++ b/tests

[ovs-dev] [PATCH v3 6/7] system-traffic: 802.1ad: Add push/pop test cases.

2016-09-14 Thread Eric Garver
Two test cases to push and pop an outer tag between two "customer" bridges. One to push/pop 0x88a8. One to push/pop a second 0x8100. Signed-off-by: Eric Garver --- tests/system-traffic.at | 112 1 file changed, 112 insertions(+) di

Re: [ovs-dev] [PATCH v3 3/7] system-traffic: 802.1ad: Add datapath ping tests for CVLANs.

2016-09-23 Thread Eric Garver
On Thu, Sep 22, 2016 at 06:48:09PM -0700, Joe Stringer wrote: > On 14 September 2016 at 17:26, Eric Garver wrote: > > Signed-off-by: Eric Garver > > Hi Eric, > > I tried this series again on a variety of kernels and these initial > ping over cvlan tests are failing fo

Re: [ovs-dev] [PATCH v3 3/7] system-traffic: 802.1ad: Add datapath ping tests for CVLANs.

2016-09-23 Thread Eric Garver
42AM -0400, Eric Garver wrote: > On Thu, Sep 22, 2016 at 06:48:09PM -0700, Joe Stringer wrote: > > On 14 September 2016 at 17:26, Eric Garver wrote: > > > Signed-off-by: Eric Garver > > > > Hi Eric, > > > > I tried this series again on a variety of ker

[ovs-dev] [PATCH] netdev-linux: double tagged packets should use 0x88a8

2016-09-23 Thread Eric Garver
t use TP_STATUS_VLAN_TPID_VALID, which is kernels < 3.14. Signed-off-by: Eric Garver --- lib/netdev-linux.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index ef8471995a3d..0f929c9cfc3b 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev

[ovs-dev] [PATCH v4 7/7] system-traffic: 802.1ad: Add dot1q-tunnel test case.

2016-09-23 Thread Eric Garver
Test case for dot1q-tunnel between two "customer" bridges. Signed-off-by: Eric Garver --- tests/system-traffic.at | 63 + 1 file changed, 63 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 4d

[ovs-dev] [PATCH v4 1/7] system-userspace-macros: allow passing sed args to OVS_TRAFFIC_VSWITCHD_STOP()

2016-09-23 Thread Eric Garver
Passing sed arguments to OVS_TRAFFIC_VSWITCHD_STOP() was being ignored for check-system-userspace. This is useful to selective ignore log messages. Signed-off-by: Eric Garver --- tests/system-userspace-macros.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system

[ovs-dev] [PATCH v4 5/7] system-traffic: 802.1ad: Add vlan_limit test case.

2016-09-23 Thread Eric Garver
Verify that vlan_limit works as expected and preserves legacy dl_type matching behavior. Signed-off-by: Eric Garver --- tests/system-traffic.at | 36 1 file changed, 36 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index

[ovs-dev] [PATCH v4 0/7] system-traffic: add 802.1ad test cases

2016-09-23 Thread Eric Garver
N MTU to 1492, SVLAN to 1496 - Fix passing sed filters for userspace datapath tests. v2: - Properly skip tests on older versions of OVS and kernel - Set CVLAN mtu to 1496 to allow tests to pass on older kernels Eric Garver (7): system-userspace-macros: allow passing sed args to OVS_TRAFFIC_VSW

[ovs-dev] [PATCH v4 4/7] system-traffic: 802.1ad: Add conntrack ping tests for CVLANs.

2016-09-23 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 107 1 file changed, 107 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 83c7b8a2f4e5..bb0cb02804f9 100644 --- a/tests/system-traffic.at +++ b/tests

[ovs-dev] [PATCH v4 3/7] system-traffic: 802.1ad: Add datapath ping tests for CVLANs.

2016-09-23 Thread Eric Garver
Signed-off-by: Eric Garver --- tests/system-traffic.at | 62 + 1 file changed, 62 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 4dabd90356a1..83c7b8a2f4e5 100644 --- a/tests/system-traffic.at +++ b/tests/system

[ovs-dev] [PATCH v4 2/7] system-common-macros: Add macros to check for and test 802.1ad.

2016-09-23 Thread Eric Garver
Add macros OVS_CHECK_8021AD(), ADD_SVLAN() and ADD_CVLAN(). Signed-off-by: Eric Garver --- tests/system-common-macros.at | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index

[ovs-dev] [PATCH v4 6/7] system-traffic: 802.1ad: Add push/pop test cases.

2016-09-23 Thread Eric Garver
Two test cases to push and pop an outer tag between two "customer" bridges. One to push/pop 0x88a8. One to push/pop a second 0x8100. Signed-off-by: Eric Garver --- tests/system-traffic.at | 112 1 file changed, 112 insertions(+) di

Re: [ovs-dev] QinQ on Open vSwitch v2.5

2016-09-26 Thread Eric Garver
On Mon, Sep 26, 2016 at 11:52:22AM +0100, Dermot Tynan wrote: > In order to support VLAN transparency for Helion VMs, we've successfully > back-ported Xiao Liang's QinQ patches to OvS 2.5 and we are now extensively > testing this code against our Helion OpenStack (HOS) 4.0 release.We'll also > begi

Re: [ovs-dev] netdev-linux: double tagged packets should use 0x88a8

2016-10-03 Thread Eric Garver
On Mon, Oct 03, 2016 at 01:16:55PM -0700, Ben Pfaff wrote: > On Fri, Sep 23, 2016 at 03:15:27PM -0400, Eric Garver wrote: > > We need to check if a packet is double tagged. If so make sure to push > > 0x88a8 instead of 0x8100. Without this a simple port redirect of 802.1ad >

[ovs-dev] [PATCH v2] netdev-linux: double tagged packets should use 0x88a8

2016-10-04 Thread Eric Garver
t use TP_STATUS_VLAN_TPID_VALID, which is kernels < 3.14. Signed-off-by: Eric Garver --- v2: - move double tag check to after retval length check - variable renames --- lib/netdev-linux.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux

Re: [ovs-dev] [PATCH v4 0/7] system-traffic: add 802.1ad test cases

2016-10-18 Thread Eric Garver
On Mon, Oct 17, 2016 at 05:17:44PM -0700, Joe Stringer wrote: > On 23 September 2016 at 12:16, Eric Garver wrote: > > This series adds 802.1ad test cases for the check-* make targets. It is > > meant as a counterpart to the 802.1ad work currently going on and being > > disc

Re: [ovs-dev] [RFC PATCH v5] Add support for 802.1ad (QinQ tunneling)

2016-10-26 Thread Eric Garver
Hi Ben and Xiao, One comment below. On Mon, Oct 17, 2016 at 11:15:28AM +0800, Xiao Liang wrote: > Hi Ben, > > Please see inline. > > And another question: > In datapath/README.md: > - If the userspace flow key includes more fields than the > kernel's, for example if userspace decoded an I