mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
iidc/ice/irdma: Rename IDC header file
To prepare for the IDC upgrade to support different CORE PCI drivers, rename header file from iidc.h to iidc_rdma.h since this files functionality is specifically for RDMA support. Use net/dscp.h include in irdma osdep.h and DSCP_MAX type.h, instead of iidc header and define. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Dave Ertman <david.m.ertman@intel.com> Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
0af2f6be1b
commit
468d8b462a
|
@ -11890,7 +11890,7 @@ 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/iidc.h
|
||||
F: include/linux/net/intel/*/
|
||||
|
||||
INTEL ETHERNET PROTOCOL DRIVER FOR RDMA
|
||||
M: Mustafa Ismail <mustafa.ismail@intel.com>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <linux/io-64-nonatomic-lo-hi.h>
|
||||
#endif
|
||||
#include <linux/auxiliary_bus.h>
|
||||
#include <linux/net/intel/iidc.h>
|
||||
#include <linux/net/intel/iidc_rdma.h>
|
||||
#include <rdma/ib_smi.h>
|
||||
#include <rdma/ib_verbs.h>
|
||||
#include <rdma/ib_pack.h>
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include <linux/pci.h>
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/net/intel/iidc.h>
|
||||
#include <rdma/ib_verbs.h>
|
||||
#include <net/dscp.h>
|
||||
|
||||
#define STATS_TIMER_DELAY 60000
|
||||
|
||||
|
|
|
@ -567,7 +567,7 @@ struct irdma_sc_vsi {
|
|||
u8 qos_rel_bw;
|
||||
u8 qos_prio_type;
|
||||
u8 stats_idx;
|
||||
u8 dscp_map[IIDC_MAX_DSCP_MAPPING];
|
||||
u8 dscp_map[DSCP_MAX];
|
||||
struct irdma_qos qos[IRDMA_MAX_USER_PRIORITY];
|
||||
u64 hw_stats_regs[IRDMA_HW_STAT_INDEX_MAX_GEN_1];
|
||||
bool dscp_mode:1;
|
||||
|
@ -695,7 +695,7 @@ struct irdma_l2params {
|
|||
u16 qs_handle_list[IRDMA_MAX_USER_PRIORITY];
|
||||
u16 mtu;
|
||||
u8 up2tc[IRDMA_MAX_USER_PRIORITY];
|
||||
u8 dscp_map[IIDC_MAX_DSCP_MAPPING];
|
||||
u8 dscp_map[DSCP_MAX];
|
||||
u8 num_tc;
|
||||
u8 vsi_rel_bw;
|
||||
u8 vsi_prio_type;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#ifndef _ICE_IDC_INT_H_
|
||||
#define _ICE_IDC_INT_H_
|
||||
|
||||
#include <linux/net/intel/iidc.h>
|
||||
#include <linux/net/intel/iidc_rdma.h>
|
||||
|
||||
struct ice_pf;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2021, Intel Corporation. */
|
||||
|
||||
#ifndef _IIDC_H_
|
||||
#define _IIDC_H_
|
||||
#ifndef _IIDC_RDMA_H_
|
||||
#define _IIDC_RDMA_H_
|
||||
|
||||
#include <linux/auxiliary_bus.h>
|
||||
#include <linux/dcbnl.h>
|
||||
|
@ -106,4 +106,4 @@ struct iidc_auxiliary_drv {
|
|||
void (*event_handler)(struct ice_pf *pf, struct iidc_event *event);
|
||||
};
|
||||
|
||||
#endif /* _IIDC_H_*/
|
||||
#endif /* _IIDC_RDMA_H_*/
|
Loading…
Reference in New Issue
Block a user