[spp] [PATCH 03/23] spp_vf: change include path

x-fn-spp at sl.ntt-tx.co.jp x-fn-spp at sl.ntt-tx.co.jp
Wed Nov 21 02:35:38 CET 2018


From: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>

Change include path because defines and enums are moved to be common.

Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki at lab.ntt.co.jp>
---
 src/vf/common/command_dec.c  | 2 +-
 src/vf/common/command_proc.c | 2 +-
 src/vf/common/spp_port.c     | 1 -
 src/vf/common/spp_port.h     | 2 +-
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/vf/common/command_dec.c b/src/vf/common/command_dec.c
index 204cb86..d16f358 100644
--- a/src/vf/common/command_dec.c
+++ b/src/vf/common/command_dec.c
@@ -9,7 +9,7 @@
 #include <rte_log.h>
 #include <rte_branch_prediction.h>
 
-#include "spp_vf.h"
+#include "../spp_vf.h"
 #include "command_dec.h"
 
 #define RTE_LOGTYPE_SPP_COMMAND_PROC RTE_LOGTYPE_USER1
diff --git a/src/vf/common/command_proc.c b/src/vf/common/command_proc.c
index 3b9d687..b8ad907 100644
--- a/src/vf/common/command_proc.c
+++ b/src/vf/common/command_proc.c
@@ -8,7 +8,7 @@
 #include <rte_log.h>
 #include <rte_branch_prediction.h>
 
-#include "spp_vf.h"
+#include "../spp_vf.h"
 #include "spp_port.h"
 #include "string_buffer.h"
 #include "command_conn.h"
diff --git a/src/vf/common/spp_port.c b/src/vf/common/spp_port.c
index 9a29f35..3b1f5c3 100644
--- a/src/vf/common/spp_port.c
+++ b/src/vf/common/spp_port.c
@@ -8,7 +8,6 @@
 #include <rte_tcp.h>
 #include <rte_net_crc.h>
 
-#include "spp_vf.h"
 #include "spp_port.h"
 #include "ringlatencystats.h"
 
diff --git a/src/vf/common/spp_port.h b/src/vf/common/spp_port.h
index 5c00233..71d1325 100644
--- a/src/vf/common/spp_port.h
+++ b/src/vf/common/spp_port.h
@@ -12,7 +12,7 @@
  * Provide about the ability per port.
  */
 
-#include "spp_vf.h"
+#include "../spp_vf.h"
 
 /** Calculate TCI of VLAN tag. */
 #define SPP_VLANTAG_CALC_TCI(id, pcp) (((pcp & 0x07) << 13) | (id & 0x0fff))
-- 
2.18.0



More information about the spp mailing list