diff mbox series

[ovs-dev,v2,2/4] controller: Rename mac_cache to to mac-cache.

Message ID 20240507062517.387329-3-amusil@redhat.com
State Accepted
Headers show
Series Mac cache handling refactor | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed

Commit Message

Ales Musil May 7, 2024, 6:25 a.m. UTC
For consistency rename the mac_cache.c/.h to mac-cache.c/.h.

Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ales Musil <amusil@redhat.com>
---
v2: Rebase on top of main.
---
 controller/automake.mk                  | 4 ++--
 controller/{mac_cache.c => mac-cache.c} | 2 +-
 controller/{mac_cache.h => mac-cache.h} | 2 +-
 controller/ovn-controller.c             | 2 +-
 controller/statctrl.c                   | 2 +-
 controller/statctrl.h                   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename controller/{mac_cache.c => mac-cache.c} (99%)
 rename controller/{mac_cache.h => mac-cache.h} (99%)
diff mbox series

Patch

diff --git a/controller/automake.mk b/controller/automake.mk
index a17ff0d60..2eeca718a 100644
--- a/controller/automake.mk
+++ b/controller/automake.mk
@@ -46,8 +46,8 @@  controller_ovn_controller_SOURCES = \
 	controller/vif-plug.c \
 	controller/mirror.h \
 	controller/mirror.c \
-	controller/mac_cache.h \
-	controller/mac_cache.c \
+	controller/mac-cache.h \
+	controller/mac-cache.c \
 	controller/statctrl.h \
 	controller/statctrl.c
 
diff --git a/controller/mac_cache.c b/controller/mac-cache.c
similarity index 99%
rename from controller/mac_cache.c
rename to controller/mac-cache.c
index 7e4feeed7..1515e0ec2 100644
--- a/controller/mac_cache.c
+++ b/controller/mac-cache.c
@@ -17,7 +17,7 @@ 
 #include <stdbool.h>
 
 #include "lport.h"
-#include "mac_cache.h"
+#include "mac-cache.h"
 #include "openvswitch/hmap.h"
 #include "openvswitch/vlog.h"
 #include "ovn/logical-fields.h"
diff --git a/controller/mac_cache.h b/controller/mac-cache.h
similarity index 99%
rename from controller/mac_cache.h
rename to controller/mac-cache.h
index ea8aa7c1b..644ac8be2 100644
--- a/controller/mac_cache.h
+++ b/controller/mac-cache.h
@@ -121,4 +121,4 @@  void mac_cache_fdb_stats_run(struct ovs_list *stats_list, uint64_t *req_delay,
 
 void mac_cache_stats_destroy(struct ovs_list *stats_list);
 
-#endif /* controller/mac_cache.h */
+#endif /* controller/mac-cache.h */
diff --git a/controller/ovn-controller.c b/controller/ovn-controller.c
index 356ce881a..cde45e35e 100644
--- a/controller/ovn-controller.c
+++ b/controller/ovn-controller.c
@@ -83,7 +83,7 @@ 
 #include "lib/ovn-l7.h"
 #include "hmapx.h"
 #include "mirror.h"
-#include "mac_cache.h"
+#include "mac-cache.h"
 #include "statctrl.h"
 #include "lib/dns-resolve.h"
 
diff --git a/controller/statctrl.c b/controller/statctrl.c
index 8cce97df8..cce31cce6 100644
--- a/controller/statctrl.c
+++ b/controller/statctrl.c
@@ -19,7 +19,7 @@ 
 #include "dirs.h"
 #include "latch.h"
 #include "lflow.h"
-#include "mac_cache.h"
+#include "mac-cache.h"
 #include "openvswitch/ofp-errors.h"
 #include "openvswitch/ofp-flow.h"
 #include "openvswitch/ofp-msgs.h"
diff --git a/controller/statctrl.h b/controller/statctrl.h
index c5cede353..f34da6bde 100644
--- a/controller/statctrl.h
+++ b/controller/statctrl.h
@@ -16,7 +16,7 @@ 
 #ifndef STATCTRL_H
 #define STATCTRL_H
 
-#include "mac_cache.h"
+#include "mac-cache.h"
 
 void statctrl_init(void);
 void statctrl_run(struct ovsdb_idl_txn *ovnsb_idl_txn,