[ovs-dev] [PATCH] dpif: Restore a few lines with form feed characters

Sriharsha Basavapatna sriharsha.basavapatna at broadcom.com
Wed Oct 31 19:21:41 UTC 2018


A few lines with form feed characters (ASCII: ^L) were accidentally
deleted by a recent commit to support rebalancing of offloaded flows.
This patch reverts those lines.

Fixes: 57924fc91c ("revalidator: Rebalance offloaded flows")
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna at broadcom.com>
---
 lib/dpif.c                    | 2 +-
 lib/dpif.h                    | 2 +-
 ofproto/ofproto-dpif-upcall.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/dpif.c b/lib/dpif.c
index 7f981328e..59aa1dc7c 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -1661,7 +1661,7 @@ dpif_queue_to_priority(const struct dpif *dpif, uint32_t queue_id,
     log_operation(dpif, "queue_to_priority", error);
     return error;
 }
-
+
 void
 dpif_init(struct dpif *dpif, const struct dpif_class *dpif_class,
           const char *name,
diff --git a/lib/dpif.h b/lib/dpif.h
index 0df856d4f..475d5a674 100644
--- a/lib/dpif.h
+++ b/lib/dpif.h
@@ -769,7 +769,7 @@ struct dpif_op {
 
 void dpif_operate(struct dpif *, struct dpif_op **ops, size_t n_ops,
                   enum dpif_offload_type);
-
+
 /* Upcalls. */
 
 enum dpif_upcall_type {
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 28172cb05..e36cfa0ee 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -1010,7 +1010,7 @@ udpif_revalidator(void *arg)
 
     return NULL;
 }
-
+
 static enum upcall_type
 classify_upcall(enum dpif_upcall_type type, const struct nlattr *userdata,
                 struct user_action_cookie *cookie)
-- 
2.18.0.rc1.1.g6f333ff



More information about the dev mailing list