Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Dave Ertman and committed by
Tony Nguyen
468d8b46 0af2f6be

+9 -9
+1 -1
MAINTAINERS
··· 11890 11890 F: drivers/net/ethernet/intel/ 11891 11891 F: drivers/net/ethernet/intel/*/ 11892 11892 F: include/linux/avf/virtchnl.h 11893 - F: include/linux/net/intel/iidc.h 11893 + F: include/linux/net/intel/*/ 11894 11894 11895 11895 INTEL ETHERNET PROTOCOL DRIVER FOR RDMA 11896 11896 M: Mustafa Ismail <mustafa.ismail@intel.com>
+1 -1
drivers/infiniband/hw/irdma/main.h
··· 29 29 #include <linux/io-64-nonatomic-lo-hi.h> 30 30 #endif 31 31 #include <linux/auxiliary_bus.h> 32 - #include <linux/net/intel/iidc.h> 32 + #include <linux/net/intel/iidc_rdma.h> 33 33 #include <rdma/ib_smi.h> 34 34 #include <rdma/ib_verbs.h> 35 35 #include <rdma/ib_pack.h>
+1 -1
drivers/infiniband/hw/irdma/osdep.h
··· 5 5 6 6 #include <linux/pci.h> 7 7 #include <linux/bitfield.h> 8 - #include <linux/net/intel/iidc.h> 9 8 #include <rdma/ib_verbs.h> 9 + #include <net/dscp.h> 10 10 11 11 #define STATS_TIMER_DELAY 60000 12 12
+2 -2
drivers/infiniband/hw/irdma/type.h
··· 567 567 u8 qos_rel_bw; 568 568 u8 qos_prio_type; 569 569 u8 stats_idx; 570 - u8 dscp_map[IIDC_MAX_DSCP_MAPPING]; 570 + u8 dscp_map[DSCP_MAX]; 571 571 struct irdma_qos qos[IRDMA_MAX_USER_PRIORITY]; 572 572 u64 hw_stats_regs[IRDMA_HW_STAT_INDEX_MAX_GEN_1]; 573 573 bool dscp_mode:1; ··· 695 695 u16 qs_handle_list[IRDMA_MAX_USER_PRIORITY]; 696 696 u16 mtu; 697 697 u8 up2tc[IRDMA_MAX_USER_PRIORITY]; 698 - u8 dscp_map[IIDC_MAX_DSCP_MAPPING]; 698 + u8 dscp_map[DSCP_MAX]; 699 699 u8 num_tc; 700 700 u8 vsi_rel_bw; 701 701 u8 vsi_prio_type;
+1 -1
drivers/net/ethernet/intel/ice/ice_idc_int.h
··· 4 4 #ifndef _ICE_IDC_INT_H_ 5 5 #define _ICE_IDC_INT_H_ 6 6 7 - #include <linux/net/intel/iidc.h> 7 + #include <linux/net/intel/iidc_rdma.h> 8 8 9 9 struct ice_pf; 10 10
+3 -3
include/linux/net/intel/iidc.h include/linux/net/intel/iidc_rdma.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* Copyright (C) 2021, Intel Corporation. */ 3 3 4 - #ifndef _IIDC_H_ 5 - #define _IIDC_H_ 4 + #ifndef _IIDC_RDMA_H_ 5 + #define _IIDC_RDMA_H_ 6 6 7 7 #include <linux/auxiliary_bus.h> 8 8 #include <linux/dcbnl.h> ··· 106 106 void (*event_handler)(struct ice_pf *pf, struct iidc_event *event); 107 107 }; 108 108 109 - #endif /* _IIDC_H_*/ 109 + #endif /* _IIDC_RDMA_H_*/