Re: [ovs-dev] [PATCH 1/3] OVN: rename encode_nested_neighbor_actions in encode_nested_actions

2018-02-14 Thread Ben Pfaff
On Tue, Feb 13, 2018 at 03:43:50PM +0100, Lorenzo Bianconi wrote:
> 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 

Thanks, I applied this patch to master.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH 1/3] OVN: rename encode_nested_neighbor_actions in encode_nested_actions

2018-02-13 Thread Lorenzo Bianconi
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
-- 
2.14.3

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev