]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iavf: finish renaming files to iavf
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 15 Sep 2018 00:37:56 +0000 (17:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Sep 2018 22:32:55 +0000 (15:32 -0700)
This finishes the process of renaming the files that
make sense to rename (skipping adminq related files that
talk to i40e), and fixes up the build and the #includes
so that everything builds nicely.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
16 files changed:
drivers/net/ethernet/intel/iavf/Makefile
drivers/net/ethernet/intel/iavf/i40e_adminq.c
drivers/net/ethernet/intel/iavf/i40e_adminq.h
drivers/net/ethernet/intel/iavf/iavf.h
drivers/net/ethernet/intel/iavf/iavf_alloc.h [moved from drivers/net/ethernet/intel/iavf/i40e_alloc.h with 100% similarity]
drivers/net/ethernet/intel/iavf/iavf_client.c
drivers/net/ethernet/intel/iavf/iavf_common.c [moved from drivers/net/ethernet/intel/iavf/i40e_common.c with 99% similarity]
drivers/net/ethernet/intel/iavf/iavf_devids.h [moved from drivers/net/ethernet/intel/iavf/i40e_devids.h with 100% similarity]
drivers/net/ethernet/intel/iavf/iavf_main.c
drivers/net/ethernet/intel/iavf/iavf_osdep.h [moved from drivers/net/ethernet/intel/iavf/i40e_osdep.h with 100% similarity]
drivers/net/ethernet/intel/iavf/iavf_prototype.h [moved from drivers/net/ethernet/intel/iavf/i40e_prototype.h with 98% similarity]
drivers/net/ethernet/intel/iavf/iavf_register.h [moved from drivers/net/ethernet/intel/iavf/i40e_register.h with 100% similarity]
drivers/net/ethernet/intel/iavf/iavf_status.h [moved from drivers/net/ethernet/intel/iavf/i40e_status.h with 100% similarity]
drivers/net/ethernet/intel/iavf/iavf_txrx.c
drivers/net/ethernet/intel/iavf/iavf_type.h [moved from drivers/net/ethernet/intel/iavf/i40e_type.h with 99% similarity]
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c

index c1e4b91de4b3a871b3affbd03b07be2d2df38c57..9cbb5743ed1269424f711fdd59b3e5a48b5752e9 100644 (file)
@@ -12,4 +12,4 @@ subdir-ccflags-y += -I$(src)
 obj-$(CONFIG_IAVF) += iavf.o
 
 iavf-objs := iavf_main.o iavf_ethtool.o iavf_virtchnl.o \
-            iavf_txrx.o i40e_common.o i40e_adminq.o iavf_client.o
+            iavf_txrx.o iavf_common.o i40e_adminq.o iavf_client.o
index d6e76a2489d692663ef0df7c7a1e4085ba07ba24..fca1ecfd9f7145a30f2b9db8d824d2214b04c6e9 100644 (file)
@@ -1,11 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0
 /* Copyright(c) 2013 - 2018 Intel Corporation. */
 
-#include "i40e_status.h"
-#include "i40e_type.h"
-#include "i40e_register.h"
+#include "iavf_status.h"
+#include "iavf_type.h"
+#include "iavf_register.h"
 #include "i40e_adminq.h"
-#include "i40e_prototype.h"
+#include "iavf_prototype.h"
 
 /**
  *  i40e_adminq_init_regs - Initialize AdminQ registers
index e34625e25589d5bf063bf2fca7c3b900f76f5a42..ee983889eab05db9b9c18b4ade12f9a6f418501c 100644 (file)
@@ -4,8 +4,8 @@
 #ifndef _IAVF_ADMINQ_H_
 #define _IAVF_ADMINQ_H_
 
-#include "i40e_osdep.h"
-#include "i40e_status.h"
+#include "iavf_osdep.h"
+#include "iavf_status.h"
 #include "i40e_adminq_cmd.h"
 
 #define IAVF_ADMINQ_DESC(R, i)   \
index af3fdacb3262745cffde0b7e9527952c3acf712b..a512f7521841129cf24131a20f89f467a6a38c4c 100644 (file)
@@ -34,7 +34,7 @@
 #include <net/tc_act/tc_gact.h>
 #include <net/tc_act/tc_mirred.h>
 
-#include "i40e_type.h"
+#include "iavf_type.h"
 #include <linux/avf/virtchnl.h>
 #include "iavf_txrx.h"
 
@@ -298,7 +298,7 @@ struct iavf_adapter {
        struct net_device *netdev;
        struct pci_dev *pdev;
 
-       struct iavf_hw hw; /* defined in i40e_type.h */
+       struct iavf_hw hw; /* defined in iavf_type.h */
 
        enum iavf_state_t state;
        unsigned long crit_section;
index 51dd0def3b858321fc04a86e43af56511cf84cf0..aea45364fd1cda90ebbd4587b1836df1d1933430 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/errno.h>
 
 #include "iavf.h"
-#include "i40e_prototype.h"
+#include "iavf_prototype.h"
 #include "iavf_client.h"
 
 static
similarity index 99%
rename from drivers/net/ethernet/intel/iavf/i40e_common.c
rename to drivers/net/ethernet/intel/iavf/iavf_common.c
index d9fd2f24b3e7c7bcf72453f757628feb7b4ec567..768369c89e778e56e6a8af76163c788a9ec866f0 100644 (file)
@@ -1,9 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
 /* Copyright(c) 2013 - 2018 Intel Corporation. */
 
-#include "i40e_type.h"
+#include "iavf_type.h"
 #include "i40e_adminq.h"
-#include "i40e_prototype.h"
+#include "iavf_prototype.h"
 #include <linux/avf/virtchnl.h>
 
 /**
index aa157fdf909c05ca2e6dc24024375e1ec41f7411..59bb9de713f72f616db7f5b19a3055ede661ada2 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright(c) 2013 - 2018 Intel Corporation. */
 
 #include "iavf.h"
-#include "i40e_prototype.h"
+#include "iavf_prototype.h"
 #include "iavf_client.h"
 /* All iavf tracepoints are defined by the include below, which must
  * be included exactly once across the whole kernel with
similarity index 98%
rename from drivers/net/ethernet/intel/iavf/i40e_prototype.h
rename to drivers/net/ethernet/intel/iavf/iavf_prototype.h
index 73e768c89590896ad1683925ea15ab2b3117c4d6..d6685103af398196a99dd9436e48003ec2657e92 100644 (file)
@@ -4,8 +4,8 @@
 #ifndef _IAVF_PROTOTYPE_H_
 #define _IAVF_PROTOTYPE_H_
 
-#include "i40e_type.h"
-#include "i40e_alloc.h"
+#include "iavf_type.h"
+#include "iavf_alloc.h"
 #include <linux/avf/virtchnl.h>
 
 /* Prototypes for shared code functions that are not in
index 1768c64a922f83e00ce1a7a7550c70114893bcff..edc349f4974827d6a09afe2f650c6327357f591e 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "iavf.h"
 #include "iavf_trace.h"
-#include "i40e_prototype.h"
+#include "iavf_prototype.h"
 
 static inline __le64 build_ctob(u32 td_cmd, u32 td_offset, unsigned int size,
                                u32 td_tag)
similarity index 99%
rename from drivers/net/ethernet/intel/iavf/i40e_type.h
rename to drivers/net/ethernet/intel/iavf/iavf_type.h
index 11da8721d231573c36ce33669f4524faf9862bdd..ca89583613fba29b526d3e8c0d42b63ab480d986 100644 (file)
@@ -4,11 +4,11 @@
 #ifndef _IAVF_TYPE_H_
 #define _IAVF_TYPE_H_
 
-#include "i40e_status.h"
-#include "i40e_osdep.h"
-#include "i40e_register.h"
+#include "iavf_status.h"
+#include "iavf_osdep.h"
+#include "iavf_register.h"
 #include "i40e_adminq.h"
-#include "i40e_devids.h"
+#include "iavf_devids.h"
 
 #define IAVF_RXQ_CTX_DBUFF_SHIFT 7
 
index 930d351a5cc54706b43bd330c94e3af50bc7ced0..e64751da09212ae6c95088e5296af784e1ca00a1 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright(c) 2013 - 2018 Intel Corporation. */
 
 #include "iavf.h"
-#include "i40e_prototype.h"
+#include "iavf_prototype.h"
 #include "iavf_client.h"
 
 /* busy wait delay in msec */