Skip to content

Commit 681bdf8

Browse files
jbrandebJeff Kirsher
authored andcommitted
i40e/i40evf: create and use new unified header file
This moves a header for i40evf to include/linux/avf/virtchnl.h. The directory name AVF is an acronym for the Intel(R) Adaptive Virtual Function. This first step creates the new file, which is a rename of drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h to include/linux/avf/virtchnl.h, and should show up in git as a rename when using git log --follow. To keep things building after the move, the changes to the i40evf driver are made to point to the new include file location. Signed-off-by: Jesse Brandeburg <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 3929080 commit 681bdf8

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6738,6 +6738,7 @@ F: Documentation/networking/i40e.txt
67386738
F: Documentation/networking/i40evf.txt
67396739
F: drivers/net/ethernet/intel/
67406740
F: drivers/net/ethernet/intel/*/
6741+
F: include/linux/avf/virtchnl.h
67416742

67426743
INTEL RDMA RNIC DRIVER
67436744
M: Faisal Latif <[email protected]>

drivers/net/ethernet/intel/i40evf/i40e_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include "i40e_type.h"
2828
#include "i40e_adminq.h"
2929
#include "i40e_prototype.h"
30-
#include "i40e_virtchnl.h"
30+
#include <linux/avf/virtchnl.h>
3131

3232
/**
3333
* i40e_set_mac_type - Sets MAC type

drivers/net/ethernet/intel/i40evf/i40e_prototype.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "i40e_type.h"
3131
#include "i40e_alloc.h"
32-
#include "i40e_virtchnl.h"
32+
#include <linux/avf/virtchnl.h>
3333

3434
/* Prototypes for shared code functions that are not in
3535
* the standard function pointer structures. These are

drivers/net/ethernet/intel/i40evf/i40evf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#include <net/udp.h>
4444

4545
#include "i40e_type.h"
46-
#include "i40e_virtchnl.h"
46+
#include <linux/avf/virtchnl.h>
4747
#include "i40e_txrx.h"
4848

4949
#define DEFAULT_DEBUG_LEVEL_SHIFT 3

0 commit comments

Comments
 (0)