DPDK patches and discussions
 help / color / mirror / Atom feed
From: Qi Zhang <qi.z.zhang@intel.com>
To: beilei.xing@intel.com
Cc: dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>
Subject: [PATCH] common/idpf: refine header file include
Date: Mon, 24 Apr 2023 18:40:05 -0400	[thread overview]
Message-ID: <20230424224005.992615-1-qi.z.zhang@intel.com> (raw)

Replace #include <filename> with #include "filename" for
local header file.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
 drivers/common/idpf/idpf_common_device.c      | 4 ++--
 drivers/common/idpf/idpf_common_device.h      | 6 +++---
 drivers/common/idpf/idpf_common_rxtx_avx512.c | 4 ++--
 drivers/common/idpf/idpf_common_virtchnl.c    | 4 ++--
 drivers/common/idpf/idpf_common_virtchnl.h    | 4 ++--
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/common/idpf/idpf_common_device.c b/drivers/common/idpf/idpf_common_device.c
index c5e7bbf66c..98029c9826 100644
--- a/drivers/common/idpf/idpf_common_device.c
+++ b/drivers/common/idpf/idpf_common_device.c
@@ -3,8 +3,8 @@
  */
 
 #include <rte_log.h>
-#include <idpf_common_device.h>
-#include <idpf_common_virtchnl.h>
+#include "idpf_common_device.h"
+#include "idpf_common_virtchnl.h"
 
 static void
 idpf_reset_pf(struct idpf_hw *hw)
diff --git a/drivers/common/idpf/idpf_common_device.h b/drivers/common/idpf/idpf_common_device.h
index c2dc2f16b9..08e2517b3e 100644
--- a/drivers/common/idpf/idpf_common_device.h
+++ b/drivers/common/idpf/idpf_common_device.h
@@ -6,9 +6,9 @@
 #define _IDPF_COMMON_DEVICE_H_
 
 #include <rte_mbuf_ptype.h>
-#include <base/idpf_prototype.h>
-#include <base/virtchnl2.h>
-#include <idpf_common_logs.h>
+#include "base/idpf_prototype.h"
+#include "base/virtchnl2.h"
+#include "idpf_common_logs.h"
 
 #define IDPF_RSS_KEY_LEN	52
 
diff --git a/drivers/common/idpf/idpf_common_rxtx_avx512.c b/drivers/common/idpf/idpf_common_rxtx_avx512.c
index ee68e6a1f7..dffb11fcf2 100644
--- a/drivers/common/idpf/idpf_common_rxtx_avx512.c
+++ b/drivers/common/idpf/idpf_common_rxtx_avx512.c
@@ -3,8 +3,8 @@
  */
 
 #include <rte_vect.h>
-#include <idpf_common_device.h>
-#include <idpf_common_rxtx.h>
+#include "idpf_common_device.h"
+#include "idpf_common_rxtx.h"
 
 #ifndef __INTEL_COMPILER
 #pragma GCC diagnostic ignored "-Wcast-qual"
diff --git a/drivers/common/idpf/idpf_common_virtchnl.c b/drivers/common/idpf/idpf_common_virtchnl.c
index 9ee7259539..b96cf8fdcc 100644
--- a/drivers/common/idpf/idpf_common_virtchnl.c
+++ b/drivers/common/idpf/idpf_common_virtchnl.c
@@ -2,8 +2,8 @@
  * Copyright(c) 2023 Intel Corporation
  */
 
-#include <idpf_common_virtchnl.h>
-#include <idpf_common_logs.h>
+#include "idpf_common_virtchnl.h"
+#include "idpf_common_logs.h"
 
 static int
 idpf_vc_clean(struct idpf_adapter *adapter)
diff --git a/drivers/common/idpf/idpf_common_virtchnl.h b/drivers/common/idpf/idpf_common_virtchnl.h
index d479d93c8e..c45295290e 100644
--- a/drivers/common/idpf/idpf_common_virtchnl.h
+++ b/drivers/common/idpf/idpf_common_virtchnl.h
@@ -5,8 +5,8 @@
 #ifndef _IDPF_COMMON_VIRTCHNL_H_
 #define _IDPF_COMMON_VIRTCHNL_H_
 
-#include <idpf_common_device.h>
-#include <idpf_common_rxtx.h>
+#include "idpf_common_device.h"
+#include "idpf_common_rxtx.h"
 
 __rte_internal
 int idpf_vc_api_version_check(struct idpf_adapter *adapter);
-- 
2.31.1


             reply	other threads:[~2023-04-24 14:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-24 22:40 Qi Zhang [this message]
2023-04-26  6:40 ` Xing, Beilei
2023-04-26  6:57   ` Zhang, Qi Z

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230424224005.992615-1-qi.z.zhang@intel.com \
    --to=qi.z.zhang@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).