mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
virtchnl: move virtchnl and virtchnl2 headers to 'include/linux/net/intel'
virtchnl2 headers will be used by both idpf and ixd drivers, so they have to be moved to an include directory. On top of that, it would be useful to place all iavf headers together with other intel networking headers. Move abovementioned intel header files into 'include/linux/net/intel'. While at it, remove the self-include from iavf_types.h. Suggested-by: Alexander Lobakin <aleksander.lobakin@intel.com> Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: Victor Raj <victor.raj@intel.com> Tested-by: Samuel Salin <Samuel.salin@intel.com> Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
ac155a2675
commit
e44908175d
|
|
@ -13033,8 +13033,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git
|
|||
F: Documentation/networking/device_drivers/ethernet/intel/
|
||||
F: drivers/net/ethernet/intel/
|
||||
F: drivers/net/ethernet/intel/*/
|
||||
F: include/linux/avf/virtchnl.h
|
||||
F: include/linux/net/intel/*/
|
||||
F: include/linux/net/intel/
|
||||
|
||||
INTEL ETHERNET PROTOCOL DRIVER FOR RDMA
|
||||
M: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include <linux/pci.h>
|
||||
#include <linux/ptp_clock_kernel.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/i40e_client.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <net/devlink.h>
|
||||
#include <net/pkt_cls.h>
|
||||
#include <net/udp_tunnel.h>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2013 - 2021 Intel Corporation. */
|
||||
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <linux/pci.h>
|
||||
#include "i40e_adminq_cmd.h"
|
||||
#include "i40e_devids.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#define _I40E_PROTOTYPE_H_
|
||||
|
||||
#include <linux/ethtool.h>
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include "i40e_debug.h"
|
||||
#include "i40e_type.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#ifndef _I40E_VIRTCHNL_PF_H_
|
||||
#define _I40E_VIRTCHNL_PF_H_
|
||||
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include "i40e_type.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
#include <linux/etherdevice.h>
|
||||
#include <linux/socket.h>
|
||||
#include <linux/jiffies.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <net/ip6_checksum.h>
|
||||
#include <net/pkt_cls.h>
|
||||
#include <net/pkt_sched.h>
|
||||
|
|
@ -37,7 +38,6 @@
|
|||
#include <net/net_shaper.h>
|
||||
|
||||
#include "iavf_type.h"
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include "iavf_txrx.h"
|
||||
#include "iavf_fdir.h"
|
||||
#include "iavf_adv_rss.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2013 - 2018 Intel Corporation. */
|
||||
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <linux/bitfield.h>
|
||||
#include "iavf_type.h"
|
||||
#include "iavf_adminq.h"
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@
|
|||
#ifndef _IAVF_PROTOTYPE_H_
|
||||
#define _IAVF_PROTOTYPE_H_
|
||||
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
|
||||
#include "iavf_type.h"
|
||||
#include "iavf_alloc.h"
|
||||
#include <linux/avf/virtchnl.h>
|
||||
|
||||
/* Prototypes for shared code functions that are not in
|
||||
* the standard function pointer structures. These are
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@
|
|||
#ifndef _IAVF_TYPES_H_
|
||||
#define _IAVF_TYPES_H_
|
||||
|
||||
#include "iavf_types.h"
|
||||
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <linux/ptp_clock_kernel.h>
|
||||
|
||||
/* structure used to queue PTP commands for processing */
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#include <linux/bpf.h>
|
||||
#include <linux/btf.h>
|
||||
#include <linux/auxiliary_bus.h>
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <linux/cpu_rmap.h>
|
||||
#include <linux/dim.h>
|
||||
#include <linux/gnss.h>
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
#define _ICE_COMMON_H_
|
||||
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
|
||||
#include "ice.h"
|
||||
#include "ice_type.h"
|
||||
#include "ice_nvm.h"
|
||||
#include "ice_flex_pipe.h"
|
||||
#include "ice_parser.h"
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include "ice_switch.h"
|
||||
#include "ice_fdir.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@
|
|||
#include <linux/hashtable.h>
|
||||
#include <linux/bitmap.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include <linux/pci.h>
|
||||
#include <net/devlink.h>
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include "ice_type.h"
|
||||
#include "ice_flow.h"
|
||||
#include "virt/fdir.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/avf/virtchnl.h>
|
||||
#include <linux/net/intel/virtchnl.h>
|
||||
#include "ice_vf_lib.h"
|
||||
|
||||
/* Restrict number of MAC Addr and VLAN that non-trusted VF can programmed */
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ struct idpf_rss_data;
|
|||
|
||||
#include <linux/net/intel/iidc_rdma.h>
|
||||
#include <linux/net/intel/iidc_rdma_idpf.h>
|
||||
#include <linux/net/intel/virtchnl2.h>
|
||||
|
||||
#include "virtchnl2.h"
|
||||
#include "idpf_txrx.h"
|
||||
#include "idpf_controlq.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#define _IDPF_TXRX_H_
|
||||
|
||||
#include <linux/dim.h>
|
||||
#include <linux/net/intel/virtchnl2_lan_desc.h>
|
||||
|
||||
#include <net/libeth/cache.h>
|
||||
#include <net/libeth/types.h>
|
||||
|
|
@ -13,7 +14,6 @@
|
|||
#include <net/xdp.h>
|
||||
|
||||
#include "idpf_lan_txrx.h"
|
||||
#include "virtchnl2_lan_desc.h"
|
||||
|
||||
#define IDPF_LARGE_MAX_Q 256
|
||||
#define IDPF_MAX_Q 16
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#ifndef _IDPF_VIRTCHNL_H_
|
||||
#define _IDPF_VIRTCHNL_H_
|
||||
|
||||
#include "virtchnl2.h"
|
||||
#include <linux/net/intel/virtchnl2.h>
|
||||
|
||||
#define IDPF_VC_XN_DEFAULT_TIMEOUT_MSEC (60 * 1000)
|
||||
#define IDPF_VC_XN_IDX_M GENMASK(7, 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user