common/idpf: refine header file include
PATCH 1/1 common/idpf: refine header file include
Replace #include <filename> with #include "filename" for local header file.
--- 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(-)
drivers/common/idpf/idpf_common_device.c +2 -2
@@ -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)
drivers/common/idpf/idpf_common_device.h +3 -3
@@ -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
drivers/common/idpf/idpf_common_rxtx_avx512.c +2 -2
@@ -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"
drivers/common/idpf/idpf_common_virtchnl.c +2 -2
@@ -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)
drivers/common/idpf/idpf_common_virtchnl.h +2 -2
@@ -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);
Signature · 1 line
2.31.1
Quoted 9 lines
-----Original Message-----
From: Zhang, Qi Z <[email protected]>
Sent: Tuesday, April 25, 2023 6:40 AM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Zhang, Qi Z <[email protected]>
Subject: [PATCH] common/idpf: refine header file include
Quoted 3 lines
Replace #include <filename> with #include "filename" for local header file.
Signed-off-by Qi Zhang <[email protected]>
Zhang, Qi Z
AppliedQuoted 18 lines
-----Original Message-----
From: Xing, Beilei <[email protected]>
Sent: Wednesday, April 26, 2023 2:41 PM
To: Zhang, Qi Z <[email protected]>
Cc: [email protected]
Subject: RE: [PATCH] common/idpf: refine header file includeQuoted 7 lines
-----Original Message-----
From: Zhang, Qi Z <[email protected]>
Sent: Tuesday, April 25, 2023 6:40 AM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Zhang, Qi Z <[email protected]>
Subject: [PATCH] common/idpf: refine header file include
Quoted 5 lines
Quoted 3 lines
Replace #include <filename> with #include "filename" for local header file.
Signed-off-by Qi Zhang <[email protected]>Acked-by Beilei Xing <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi