diff mbox

[V1,16/16] i40iw: changes for build of i40iw module

Message ID 1450739596-23276-17-git-send-email-faisal.latif@intel.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Faisal Latif Dec. 21, 2015, 11:13 p.m. UTC
MAINTAINERS, Kconfig, and Makefile to build i40iw module

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
---
 MAINTAINERS                    | 10 ++++++++++
 drivers/infiniband/Kconfig     |  1 +
 drivers/infiniband/hw/Makefile |  1 +
 3 files changed, 12 insertions(+)

Comments

kernel test robot Dec. 22, 2015, 12:40 a.m. UTC | #1
Hi Faisal,

[auto build test ERROR on net/master]
[also build test ERROR on v4.4-rc6 next-20151221]
[cannot apply to net-next/master]

url:    https://github.com/0day-ci/linux/commits/Faisal-Latif/add-Intel-R-X722-iWARP-driver/20151222-071852
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/infiniband/hw/i40iw/i40iw_verbs.c: In function 'i40iw_init_rdma_device':
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2280:39: error: 'struct ib_device' has no member named 'sys_image_guid'
     ether_addr_copy((u8 *)&iwibdev->ibdev.sys_image_guid, iwdev->netdev->dev_addr);
                                          ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2281:16: error: 'struct ib_device' has no member named 'fw_ver'
     iwibdev->ibdev.fw_ver = I40IW_FW_VERSION;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2282:16: error: 'struct ib_device' has no member named 'device_cap_flags'
     iwibdev->ibdev.device_cap_flags = iwdev->device_cap_flags;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2283:16: error: 'struct ib_device' has no member named 'vendor_id'
     iwibdev->ibdev.vendor_id = iwdev->vendor_id;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2284:16: error: 'struct ib_device' has no member named 'vendor_part_id'
     iwibdev->ibdev.vendor_part_id = iwdev->vendor_part_id;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2285:16: error: 'struct ib_device' has no member named 'hw_ver'
     iwibdev->ibdev.hw_ver = I40IW_HW_VERSION;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2286:16: error: 'struct ib_device' has no member named 'max_mr_size'
     iwibdev->ibdev.max_mr_size = I40IW_MAX_OUTBOUND_MESSAGE_SIZE;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2287:16: error: 'struct ib_device' has no member named 'max_qp'
     iwibdev->ibdev.max_qp = iwdev->max_qp;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2288:16: error: 'struct ib_device' has no member named 'max_qp_wr'
     iwibdev->ibdev.max_qp_wr = (I40IW_MAX_WQ_ENTRIES >> 2) - 1;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2289:16: error: 'struct ib_device' has no member named 'max_sge'
     iwibdev->ibdev.max_sge = I40IW_MAX_WQ_FRAGMENT_COUNT;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2290:16: error: 'struct ib_device' has no member named 'max_cq'
     iwibdev->ibdev.max_cq = iwdev->max_cq;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2291:16: error: 'struct ib_device' has no member named 'max_cqe'
     iwibdev->ibdev.max_cqe = iwdev->max_cqe;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2293:16: error: 'struct ib_device' has no member named 'max_mr'
     iwibdev->ibdev.max_mr = iwdev->max_mr;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2294:16: error: 'struct ib_device' has no member named 'max_mw'
     iwibdev->ibdev.max_mw = iwdev->max_mr;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2295:16: error: 'struct ib_device' has no member named 'max_pd'
     iwibdev->ibdev.max_pd = iwdev->max_pd;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2296:16: error: 'struct ib_device' has no member named 'max_qp_rd_atom'
     iwibdev->ibdev.max_qp_rd_atom = I40IW_MAX_IRD_SIZE;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2297:16: error: 'struct ib_device' has no member named 'max_sge_rd'
     iwibdev->ibdev.max_sge_rd = 1;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2299:16: error: 'struct ib_device' has no member named 'max_qp_init_rd_atom'
     iwibdev->ibdev.max_qp_init_rd_atom = I40IW_MAX_IRD_SIZE;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2300:16: error: 'struct ib_device' has no member named 'atomic_cap'
     iwibdev->ibdev.atomic_cap = IB_ATOMIC_NONE;
                   ^
>> drivers/infiniband/hw/i40iw/i40iw_verbs.c:2301:16: error: 'struct ib_device' has no member named 'max_map_per_fmr'
     iwibdev->ibdev.max_map_per_fmr = 1;
                   ^

vim +2280 drivers/infiniband/hw/i40iw/i40iw_verbs.c

718af8cb Faisal Latif 2015-12-21  2274  	iwibdev->ibdev.destroy_cq = i40iw_destroy_cq;
718af8cb Faisal Latif 2015-12-21  2275  	iwibdev->ibdev.get_dma_mr = i40iw_get_dma_mr;
718af8cb Faisal Latif 2015-12-21  2276  	iwibdev->ibdev.reg_phys_mr = i40iw_reg_phys_mr;
718af8cb Faisal Latif 2015-12-21  2277  	iwibdev->ibdev.reg_user_mr = i40iw_reg_user_mr;
718af8cb Faisal Latif 2015-12-21  2278  	iwibdev->ibdev.dereg_mr = i40iw_dereg_mr;
718af8cb Faisal Latif 2015-12-21  2279  	iwibdev->ibdev.get_protocol_stats = i40iw_get_protocol_stats;
718af8cb Faisal Latif 2015-12-21 @2280  	ether_addr_copy((u8 *)&iwibdev->ibdev.sys_image_guid, iwdev->netdev->dev_addr);
718af8cb Faisal Latif 2015-12-21 @2281  	iwibdev->ibdev.fw_ver = I40IW_FW_VERSION;
718af8cb Faisal Latif 2015-12-21 @2282  	iwibdev->ibdev.device_cap_flags = iwdev->device_cap_flags;
718af8cb Faisal Latif 2015-12-21 @2283  	iwibdev->ibdev.vendor_id = iwdev->vendor_id;
718af8cb Faisal Latif 2015-12-21 @2284  	iwibdev->ibdev.vendor_part_id = iwdev->vendor_part_id;
718af8cb Faisal Latif 2015-12-21 @2285  	iwibdev->ibdev.hw_ver = I40IW_HW_VERSION;
718af8cb Faisal Latif 2015-12-21 @2286  	iwibdev->ibdev.max_mr_size = I40IW_MAX_OUTBOUND_MESSAGE_SIZE;
718af8cb Faisal Latif 2015-12-21 @2287  	iwibdev->ibdev.max_qp = iwdev->max_qp;
718af8cb Faisal Latif 2015-12-21 @2288  	iwibdev->ibdev.max_qp_wr = (I40IW_MAX_WQ_ENTRIES >> 2) - 1;
718af8cb Faisal Latif 2015-12-21 @2289  	iwibdev->ibdev.max_sge = I40IW_MAX_WQ_FRAGMENT_COUNT;
718af8cb Faisal Latif 2015-12-21 @2290  	iwibdev->ibdev.max_cq = iwdev->max_cq;
718af8cb Faisal Latif 2015-12-21 @2291  	iwibdev->ibdev.max_cqe = iwdev->max_cqe;
718af8cb Faisal Latif 2015-12-21  2292  
718af8cb Faisal Latif 2015-12-21 @2293  	iwibdev->ibdev.max_mr = iwdev->max_mr;
718af8cb Faisal Latif 2015-12-21 @2294  	iwibdev->ibdev.max_mw = iwdev->max_mr;
718af8cb Faisal Latif 2015-12-21 @2295  	iwibdev->ibdev.max_pd = iwdev->max_pd;
718af8cb Faisal Latif 2015-12-21 @2296  	iwibdev->ibdev.max_qp_rd_atom = I40IW_MAX_IRD_SIZE;
718af8cb Faisal Latif 2015-12-21 @2297  	iwibdev->ibdev.max_sge_rd = 1;
718af8cb Faisal Latif 2015-12-21  2298  
718af8cb Faisal Latif 2015-12-21 @2299  	iwibdev->ibdev.max_qp_init_rd_atom = I40IW_MAX_IRD_SIZE;
718af8cb Faisal Latif 2015-12-21 @2300  	iwibdev->ibdev.atomic_cap = IB_ATOMIC_NONE;
718af8cb Faisal Latif 2015-12-21 @2301  	iwibdev->ibdev.max_map_per_fmr = 1;
718af8cb Faisal Latif 2015-12-21  2302  
718af8cb Faisal Latif 2015-12-21  2303  	iwibdev->ibdev.iwcm = kzalloc(sizeof(*iwibdev->ibdev.iwcm), GFP_KERNEL);
718af8cb Faisal Latif 2015-12-21  2304  	if (!iwibdev->ibdev.iwcm) {

:::::: The code at line 2280 was first introduced by commit
:::::: 718af8cb04cede01decf3a9aba6db81b0101fd14 i40iw: add files for iwarp interface

:::::: TO: Faisal Latif <faisal.latif@intel.com>
:::::: CC: 0day robot <fengguang.wu@intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
diff mbox

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 9bff63c..fc85ad3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5601,6 +5601,16 @@  F:	Documentation/networking/i40evf.txt
 F:	drivers/net/ethernet/intel/
 F:	drivers/net/ethernet/intel/*/
 
+INTEL RDMA RNIC DRIVER
+M:     Faisal Latif <faisal.latif@intel.com>
+R:     Chien Tin Tung <chien.tin.tung@intel.com>
+R:     Mustafa Ismail <mustafa.ismail@intel.com>
+R:     Shiraz Saleem <shiraz.saleem@intel.com>
+R:     Tatyana Nikolova <tatyana.e.nikolova@intel.com>
+L:     linux-rdma@vger.kernel.org
+S:     Supported
+F:     drivers/infiniband/hw/i40iw/
+
 INTEL-MID GPIO DRIVER
 M:	David Cohen <david.a.cohen@linux.intel.com>
 L:	linux-gpio@vger.kernel.org
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index 282ec0b..cd8fa5c 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -59,6 +59,7 @@  source "drivers/infiniband/hw/mthca/Kconfig"
 source "drivers/infiniband/hw/qib/Kconfig"
 source "drivers/infiniband/hw/cxgb3/Kconfig"
 source "drivers/infiniband/hw/cxgb4/Kconfig"
+source "drivers/infiniband/hw/i40iw/Kconfig"
 source "drivers/infiniband/hw/mlx4/Kconfig"
 source "drivers/infiniband/hw/mlx5/Kconfig"
 source "drivers/infiniband/hw/nes/Kconfig"
diff --git a/drivers/infiniband/hw/Makefile b/drivers/infiniband/hw/Makefile
index aded2a5..8860057 100644
--- a/drivers/infiniband/hw/Makefile
+++ b/drivers/infiniband/hw/Makefile
@@ -2,6 +2,7 @@  obj-$(CONFIG_INFINIBAND_MTHCA)		+= mthca/
 obj-$(CONFIG_INFINIBAND_QIB)		+= qib/
 obj-$(CONFIG_INFINIBAND_CXGB3)		+= cxgb3/
 obj-$(CONFIG_INFINIBAND_CXGB4)		+= cxgb4/
+obj-$(CONFIG_INFINIBAND_I40IW)         += i40iw/
 obj-$(CONFIG_MLX4_INFINIBAND)		+= mlx4/
 obj-$(CONFIG_MLX5_INFINIBAND)		+= mlx5/
 obj-$(CONFIG_INFINIBAND_NES)		+= nes/