From patchwork Fri Mar 9 21:02:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 883997 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hVuH3niu"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zyfwc1ptkz9sYd for ; Sat, 10 Mar 2018 08:02:56 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 35F6111E1; Fri, 9 Mar 2018 21:02:52 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E2A501198 for ; Fri, 9 Mar 2018 21:02:50 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id A4057624 for ; Fri, 9 Mar 2018 21:02:50 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id i14so4016585pgv.3 for ; Fri, 09 Mar 2018 13:02:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=Yv5fH2Y9xYsalzQ+tevE6a9v7gtGgMP8ozeKl9kApms=; b=hVuH3niu46R4E9rGlexSXRI8utscSyoEPwcv6Q4PmChlwZWKNBldt/h1qciB6344p7 mvt8AVT2A0+lcky4XIVVzuNscCb4ywXd3J6GRNPtwmCyqFIpisznomVtwnpPTPzu9VQ+ MbBaqdSab1MKMFRdGBYS3v6jYO6/u6gfq8ZCHdB1Pla5vhdE13l/uTFXtCsWV7vwI/7V lEtN8b3BN7R4RRiFB6NgJzqQ/VffdknLq4R+gkfONk2j1ceA7vhIuUIffpA0LdlgG/ub Ki+FumLFEqtfP9dWw3IazTemYtae6CbEnOLvX2EVOvQ/ASEOt335ukQuuD+tmBJhVaGh eUBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Yv5fH2Y9xYsalzQ+tevE6a9v7gtGgMP8ozeKl9kApms=; b=hV2l3A1NtSwaHC5eI7LMZ3dz0WAfDrRQisQowEsrJ9msDhCAp90M9g83C6mz6uIV5f 7jWLC71pO8r2JxnsJauGhCyxOarm2Tf7BQgcU5/V8MvMqe9DQJJA3hV8y3R/9d/SoXCa UffQ5M8IkqsteGr1sVsCqYC5w+SqB5J1/JaU+UtV5hZJbMIW+gNch5o6hs0pT2LLlEzT XeVYj0WAf7Bq89RLu4cxRmWgkimJ0peXNHp+97pjoIP6R99UgNvkWnSAJUM/J/OabYNp c+0fBNVdZ00bBUR8mQLOj2ncVVbAnRqiECjv5Y235IO/MW0vIMRN72yHQUYMZ4GsjvTB r+lQ== X-Gm-Message-State: APf1xPATl2AY/FZiZYuB7RBK4Do2p1crjMjFhV+oT/nvf8eD7d3/xLIL Zh9lMn0bp+tnKjf9qhHhlAq4/XKJ X-Google-Smtp-Source: AG47ELsII4CtAlxJCV+STwCkPMncUjRjYJthnfC0M2k43HQKexrubHx6UyT/i5HDD0Vm8N5dKKd1QA== X-Received: by 10.101.65.5 with SMTP id w5mr25449873pgp.214.1520629370106; Fri, 09 Mar 2018 13:02:50 -0800 (PST) Received: from sc9-mailhost2.vmware.com ([24.5.191.4]) by smtp.gmail.com with ESMTPSA id x4sm4679144pfb.46.2018.03.09.13.02.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 13:02:49 -0800 (PST) From: William Tu To: dev@openvswitch.org Date: Fri, 9 Mar 2018 13:02:21 -0800 Message-Id: <1520629345-130136-2-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520629345-130136-1-git-send-email-u9012063@gmail.com> References: <1520629345-130136-1-git-send-email-u9012063@gmail.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH 1/5] system-common-macros: add tunnel-args support. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Add new tunnel-args for creating ipv6 tunnel through iproute2. Signed-off-by: William Tu --- tests/system-common-macros.at | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index f7d4adb947a0..d2a9b59e9684 100644 --- a/tests/system-common-macros.at +++ b/tests/system-common-macros.at @@ -179,12 +179,13 @@ m4_define([ADD_OVS_TUNNEL], ] ) -# ADD_OVS_TUNNEL6([type], [bridge], [port], [remote-addr], [overlay-addr]) +# ADD_OVS_TUNNEL6([type], [bridge], [port], [remote-addr], [overlay-addr], +# [tunnel-args]) # # Same as ADD_OVS_TUNNEL, but drops MTU enough for the IPv6 underlay. # m4_define([ADD_OVS_TUNNEL6], - [ADD_OVS_TUNNEL([$1], [$2], [$3], [$4], [$5]) + [ADD_OVS_TUNNEL([$1], [$2], [$3], [$4], [$5], [$6]) AT_CHECK([ip link set dev $2 mtu 1430]) ] )