From patchwork Tue Feb 13 14:43:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 872883 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=) 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 3zglg668bjz9s7h for ; Wed, 14 Feb 2018 01:44:34 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id C92EBFEF; Tue, 13 Feb 2018 14:44:09 +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 8F2F7FDF for ; Tue, 13 Feb 2018 14:44:08 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 19898D0 for ; Tue, 13 Feb 2018 14:44:08 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id o76so15733611wrb.7 for ; Tue, 13 Feb 2018 06:44:07 -0800 (PST) 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=oBsqWDOo697UG5uxlds7Ft0VuSWjw6f94TFnKqX6MXo=; b=ZFAInrypbJmpEEmVM8FF2/65YdWrC+yTDb+kNGloqcJay+MadQ+kMAjkyB4jwE8s2I xT3lZj9Fz19g1rMT3t0l7dyO11WJBad5rE+xOSCpW6sWPoOPXR62MxNICFAS1QQ7/M/d /H0MCeWTxNDzx1p2gXwmeRBEOuUNmuZgINIkg1RXYyGObcMBRD7jYxqDKB+tILV6U3r7 U2o2KwXCYeL2fWVxC9sLrTfYx8gHphkJwMLjBNkkwOEe6yc3agz9hB9HThc8XFGq5ECK 8uJkRkjzRvpsRxsill2SxRlBGKPJgml3NTkaUCiifxssg8rNb8cZPbDvyB21PNjhyVIH ZueQ== X-Gm-Message-State: APf1xPAeiRt3hzuH8VqF205mbLyOvwiXr1Dz2+gropLbvAqNbgJdCFbl TYdFGJK+DaKLnKJJg052Qu2hATc92io= X-Google-Smtp-Source: AH8x2276d78k/DdMfoh7BzqIRNu1KifXB4COQuMJMxqDp7ttLUTKbrE0XjLtbuy2hhpDzLUg9qtgOw== X-Received: by 10.223.209.3 with SMTP id a3mr1426194wri.27.1518533046491; Tue, 13 Feb 2018 06:44:06 -0800 (PST) Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id q186sm10771004wmb.33.2018.02.13.06.44.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 06:44:05 -0800 (PST) From: Lorenzo Bianconi To: dev@openvswitch.org Date: Tue, 13 Feb 2018 15:43:50 +0100 Message-Id: <5bbad74b5b17ba584f481d2d6d730b1f427d4326.1518532822.git.lorenzo.bianconi@redhat.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham 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/3] OVN: rename encode_nested_neighbor_actions in encode_nested_actions 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 Rename encode_nested_neighbor_actions routine in encode_nested_actions in order to have a more general name for nested actions encoder. Signed-off-by: Lorenzo Bianconi --- ovn/lib/actions.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ovn/lib/actions.c b/ovn/lib/actions.c index a6977d8ee..fde3bff00 100644 --- a/ovn/lib/actions.c +++ b/ovn/lib/actions.c @@ -1193,10 +1193,10 @@ format_CLONE(const struct ovnact_nest *nest, struct ds *s) } static void -encode_nested_neighbor_actions(const struct ovnact_nest *on, - const struct ovnact_encode_params *ep, - enum action_opcode opcode, - struct ofpbuf *ofpacts) +encode_nested_actions(const struct ovnact_nest *on, + const struct ovnact_encode_params *ep, + enum action_opcode opcode, + struct ofpbuf *ofpacts) { /* Convert nested actions into ofpacts. */ uint64_t inner_ofpacts_stub[1024 / 8]; @@ -1221,7 +1221,7 @@ encode_ARP(const struct ovnact_nest *on, const struct ovnact_encode_params *ep, struct ofpbuf *ofpacts) { - encode_nested_neighbor_actions(on, ep, ACTION_OPCODE_ARP, ofpacts); + encode_nested_actions(on, ep, ACTION_OPCODE_ARP, ofpacts); } static void @@ -1229,7 +1229,7 @@ encode_ND_NA(const struct ovnact_nest *on, const struct ovnact_encode_params *ep, struct ofpbuf *ofpacts) { - encode_nested_neighbor_actions(on, ep, ACTION_OPCODE_ND_NA, ofpacts); + encode_nested_actions(on, ep, ACTION_OPCODE_ND_NA, ofpacts); } static void @@ -1237,7 +1237,7 @@ encode_ND_NS(const struct ovnact_nest *on, const struct ovnact_encode_params *ep, struct ofpbuf *ofpacts) { - encode_nested_neighbor_actions(on, ep, ACTION_OPCODE_ND_NS, ofpacts); + encode_nested_actions(on, ep, ACTION_OPCODE_ND_NS, ofpacts); } static void