Hi Kamal, Thank you for the patch! Yet something to improve: [auto build test ERROR on rdma/for-next] [also build test ERROR on next-20181010] [cannot apply to v4.19-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kamal-Heib/RDMA-Add-support-for-ib_device_ops/20181010-100837 base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next config: x86_64-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): >> net/rds/ib.c:151:26: error: no member 'alloc_fmr' in struct ib_device >> net/rds/ib.c:151:26: warning: unknown expression (8 46) net/rds/ib.c:151:47: warning: unknown expression (8 46) net/rds/ib.c:152:26: warning: unknown expression (8 46) net/rds/ib.c:152:50: warning: unknown expression (8 46) net/rds/ib.c: In function 'rds_ib_add_one': net/rds/ib.c:151:19: error: 'struct ib_device' has no member named 'alloc_fmr' has_fmr = (device->alloc_fmr && device->dealloc_fmr && ^~ net/rds/ib.c:151:40: error: 'struct ib_device' has no member named 'dealloc_fmr' has_fmr = (device->alloc_fmr && device->dealloc_fmr && ^~ net/rds/ib.c:152:12: error: 'struct ib_device' has no member named 'map_phys_fmr' device->map_phys_fmr && device->unmap_fmr); ^~ net/rds/ib.c:152:36: error: 'struct ib_device' has no member named 'unmap_fmr' device->map_phys_fmr && device->unmap_fmr); ^~ -- >> fs/cifs/smbdirect.c:1727:25: error: no member 'get_port_immutable' in struct ib_device fs/cifs/smbdirect.c: In function '_smbd_get_connection': fs/cifs/smbdirect.c:1727:20: error: 'struct ib_device' has no member named 'get_port_immutable'; did you mean 'port_immutable'? info->id->device->get_port_immutable( ^~~~~~~~~~~~~~~~~~ port_immutable -- >> drivers/infiniband/core/ucm.c:1242:20: error: no member 'alloc_ucontext' in struct ib_device >> drivers/infiniband/core/ucm.c:1242:20: warning: unknown expression (8 46) drivers/infiniband/core/ucm.c: In function 'ib_ucm_add_one': drivers/infiniband/core/ucm.c:1242:13: error: 'struct ib_device' has no member named 'alloc_ucontext' if (!device->alloc_ucontext || !rdma_cap_ib_cm(device, 1)) ^~ -- drivers/infiniband/hw/hns/hns_roce_hw_v1.c:175:25: warning: restricted __le32 degrades to integer drivers/infiniband/hw/hns/hns_roce_hw_v1.c:195:25: warning: restricted __le32 degrades to integer drivers/infiniband/hw/hns/hns_roce_hw_v1.c:774:23: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v1.c:774:23: expected unsigned long long [unsigned] [usertype] subnet_prefix drivers/infiniband/hw/hns/hns_roce_hw_v1.c:774:23: got restricted __be64 [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2515:26: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v1.c:3609:31: warning: cast from restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v1.c:3665:14: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v1.c:4338:20: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v1.c:4357:23: warning: cast to restricted __le32 >> drivers/infiniband/hw/hns/hns_roce_hw_v1.c:4831:29: warning: incorrect type in initializer (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v1.c:4831:29: expected struct ib_device_ops *hns_roce_dev_ops drivers/infiniband/hw/hns/hns_roce_hw_v1.c:4831:29: got struct ib_device_ops static [toplevel] hns_roce_v1_dev_ops drivers/infiniband/hw/hns/hns_roce_hw_v1.c:4831:22: error: incompatible types when initializing type 'struct ib_device_ops *' using type 'struct ib_device_ops' .hns_roce_dev_ops = hns_roce_v1_dev_ops, ^~~~~~~~~~~~~~~~~~~ -- drivers/infiniband/hw/hns/hns_roce_hw_v2.c:2721:36: got unsigned long long drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3038:36: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3038:36: expected restricted __le32 [usertype] qkey_xrcd drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3038:36: got unsigned int const [unsigned] [usertype] qkey drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3106:29: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3106:29: expected restricted __le32 [usertype] wqe_sge_ba drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3106:29: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3169:34: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3169:34: expected restricted __le32 [usertype] rq_cur_blk_addr drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3169:34: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3182:34: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3182:34: expected restricted __le32 [usertype] rq_nxt_blk_addr drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3182:34: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3206:26: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3206:26: expected restricted __le32 [usertype] trrl_ba drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3206:26: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3214:26: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3214:26: expected restricted __le32 [usertype] irrl_ba drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3214:26: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3225:9: warning: cast from restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3362:34: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3362:34: expected restricted __le32 [usertype] sq_cur_blk_addr drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3362:34: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3373:38: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3373:38: expected restricted __le32 [usertype] sq_cur_sge_blk_addr drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3373:38: got unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3388:37: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3388:37: expected restricted __le32 [usertype] rx_sq_cur_blk_addr drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3388:37: got unsigned int [unsigned] [usertype] <noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3905:28: warning: incorrect type in assignment (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3905:28: expected unsigned char [unsigned] [usertype] rnr_retry drivers/infiniband/hw/hns/hns_roce_hw_v2.c:3905:28: got restricted __le32 [usertype] rq_rnr_timer drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4229:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4229:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4229:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4229:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4229:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4229:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4235:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4235:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4235:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4235:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4235:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4235:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4238:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4238:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4238:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4238:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4238:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4238:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4245:9: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4245:9: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4245:9: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4245:9: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4245:9: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4245:9: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4249:28: warning: incorrect type in argument 1 (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4249:28: expected restricted __le32 [usertype] *val drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4249:28: got unsigned int *<noident> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4415:20: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4434:23: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4482:13: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4485:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4485:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4485:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4485:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4485:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4485:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4488:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4488:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4488:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4488:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4488:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4488:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4492:20: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4495:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4495:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4495:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4495:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4495:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4495:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4498:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4498:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4498:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4498:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4498:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4498:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4502:20: warning: cast to restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4505:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4505:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4505:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4505:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4505:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4505:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4508:17: warning: invalid assignment: &= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4508:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4508:17: right side has type restricted __le32 drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4508:17: warning: invalid assignment: |= drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4508:17: left side has type unsigned int drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4508:17: right side has type restricted __le32 >> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5286:29: warning: incorrect type in initializer (different base types) drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5286:29: expected struct ib_device_ops *hns_roce_dev_ops drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5286:29: got struct ib_device_ops static [toplevel] hns_roce_v2_dev_ops drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5286:22: error: incompatible types when initializing type 'struct ib_device_ops *' using type 'struct ib_device_ops' .hns_roce_dev_ops = hns_roce_v2_dev_ops, ^~~~~~~~~~~~~~~~~~~ vim +/alloc_fmr +151 net/rds/ib.c 3e0249f9 Zach Brown 2010-05-18 127 ff51bf84 stephen hemminger 2010-10-19 128 static void rds_ib_add_one(struct ib_device *device) ec16227e Andy Grover 2009-02-24 129 { ec16227e Andy Grover 2009-02-24 130 struct rds_ib_device *rds_ibdev; 9dff9936 Avinash Repaka 2017-10-04 131 bool has_fr, has_fmr; ec16227e Andy Grover 2009-02-24 132 ec16227e Andy Grover 2009-02-24 133 /* Only handle IB (no iWARP) devices */ ec16227e Andy Grover 2009-02-24 134 if (device->node_type != RDMA_NODE_IB_CA) ec16227e Andy Grover 2009-02-24 135 return; ec16227e Andy Grover 2009-02-24 136 3e0249f9 Zach Brown 2010-05-18 137 rds_ibdev = kzalloc_node(sizeof(struct rds_ib_device), GFP_KERNEL, 3e0249f9 Zach Brown 2010-05-18 138 ibdev_to_node(device)); ec16227e Andy Grover 2009-02-24 139 if (!rds_ibdev) 0353261c Or Gerlitz 2015-12-18 140 return; ec16227e Andy Grover 2009-02-24 141 ec16227e Andy Grover 2009-02-24 142 spin_lock_init(&rds_ibdev->spinlock); 50d61ff7 Reshetova, Elena 2017-07-04 143 refcount_set(&rds_ibdev->refcount, 1); 3e0249f9 Zach Brown 2010-05-18 144 INIT_WORK(&rds_ibdev->free_work, rds_ib_dev_free); ec16227e Andy Grover 2009-02-24 145 0353261c Or Gerlitz 2015-12-18 146 rds_ibdev->max_wrs = device->attrs.max_qp_wr; 33023fb8 Steve Wise 2018-06-18 147 rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); ec16227e Andy Grover 2009-02-24 148 9dff9936 Avinash Repaka 2017-10-04 149 has_fr = (device->attrs.device_cap_flags & 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 150 IB_DEVICE_MEM_MGT_EXTENSIONS); 9dff9936 Avinash Repaka 2017-10-04 @151 has_fmr = (device->alloc_fmr && device->dealloc_fmr && 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 152 device->map_phys_fmr && device->unmap_fmr); 9dff9936 Avinash Repaka 2017-10-04 153 rds_ibdev->use_fastreg = (has_fr && !has_fmr); 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 154 0353261c Or Gerlitz 2015-12-18 155 rds_ibdev->fmr_max_remaps = device->attrs.max_map_per_fmr?: 32; f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 156 rds_ibdev->max_1m_mrs = device->attrs.max_mr ? 0353261c Or Gerlitz 2015-12-18 157 min_t(unsigned int, (device->attrs.max_mr / 2), f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 158 rds_ib_mr_1m_pool_size) : rds_ib_mr_1m_pool_size; 06766513 Santosh Shilimkar 2015-09-10 159 f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 160 rds_ibdev->max_8k_mrs = device->attrs.max_mr ? 0353261c Or Gerlitz 2015-12-18 161 min_t(unsigned int, ((device->attrs.max_mr / 2) * RDS_MR_8K_SCALE), f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 162 rds_ib_mr_8k_pool_size) : rds_ib_mr_8k_pool_size; ec16227e Andy Grover 2009-02-24 163 0353261c Or Gerlitz 2015-12-18 164 rds_ibdev->max_initiator_depth = device->attrs.max_qp_init_rd_atom; 0353261c Or Gerlitz 2015-12-18 165 rds_ibdev->max_responder_resources = device->attrs.max_qp_rd_atom; 40589e74 Andy Grover 2010-01-12 166 6396bb22 Kees Cook 2018-06-12 167 rds_ibdev->vector_load = kcalloc(device->num_comp_vectors, 6396bb22 Kees Cook 2018-06-12 168 sizeof(int), be2f76ea Santosh Shilimkar 2016-07-04 169 GFP_KERNEL); be2f76ea Santosh Shilimkar 2016-07-04 170 if (!rds_ibdev->vector_load) { be2f76ea Santosh Shilimkar 2016-07-04 171 pr_err("RDS/IB: %s failed to allocate vector memory\n", be2f76ea Santosh Shilimkar 2016-07-04 172 __func__); be2f76ea Santosh Shilimkar 2016-07-04 173 goto put_dev; be2f76ea Santosh Shilimkar 2016-07-04 174 } be2f76ea Santosh Shilimkar 2016-07-04 175 ec16227e Andy Grover 2009-02-24 176 rds_ibdev->dev = device; ed082d36 Christoph Hellwig 2016-09-05 177 rds_ibdev->pd = ib_alloc_pd(device, 0); 3e0249f9 Zach Brown 2010-05-18 178 if (IS_ERR(rds_ibdev->pd)) { 3e0249f9 Zach Brown 2010-05-18 179 rds_ibdev->pd = NULL; 3e0249f9 Zach Brown 2010-05-18 180 goto put_dev; 3e0249f9 Zach Brown 2010-05-18 181 } ec16227e Andy Grover 2009-02-24 182 06766513 Santosh Shilimkar 2015-09-10 183 rds_ibdev->mr_1m_pool = 06766513 Santosh Shilimkar 2015-09-10 184 rds_ib_create_mr_pool(rds_ibdev, RDS_IB_MR_1M_POOL); 06766513 Santosh Shilimkar 2015-09-10 185 if (IS_ERR(rds_ibdev->mr_1m_pool)) { 06766513 Santosh Shilimkar 2015-09-10 186 rds_ibdev->mr_1m_pool = NULL; 3e0249f9 Zach Brown 2010-05-18 187 goto put_dev; ec16227e Andy Grover 2009-02-24 188 } ec16227e Andy Grover 2009-02-24 189 06766513 Santosh Shilimkar 2015-09-10 190 rds_ibdev->mr_8k_pool = 06766513 Santosh Shilimkar 2015-09-10 191 rds_ib_create_mr_pool(rds_ibdev, RDS_IB_MR_8K_POOL); 06766513 Santosh Shilimkar 2015-09-10 192 if (IS_ERR(rds_ibdev->mr_8k_pool)) { 06766513 Santosh Shilimkar 2015-09-10 193 rds_ibdev->mr_8k_pool = NULL; 06766513 Santosh Shilimkar 2015-09-10 194 goto put_dev; 06766513 Santosh Shilimkar 2015-09-10 195 } 06766513 Santosh Shilimkar 2015-09-10 196 f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 197 rdsdebug("RDS/IB: max_mr = %d, max_wrs = %d, max_sge = %d, fmr_max_remaps = %d, max_1m_mrs = %d, max_8k_mrs = %d\n", 0353261c Or Gerlitz 2015-12-18 198 device->attrs.max_fmr, rds_ibdev->max_wrs, rds_ibdev->max_sge, f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 199 rds_ibdev->fmr_max_remaps, rds_ibdev->max_1m_mrs, f6df683f santosh.shilimkar@xxxxxxxxxx 2016-03-01 200 rds_ibdev->max_8k_mrs); 06766513 Santosh Shilimkar 2015-09-10 201 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 202 pr_info("RDS/IB: %s: %s supported and preferred\n", 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 203 device->name, 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 204 rds_ibdev->use_fastreg ? "FRMR" : "FMR"); 2cb2912d santosh.shilimkar@xxxxxxxxxx 2016-03-01 205 ec16227e Andy Grover 2009-02-24 206 INIT_LIST_HEAD(&rds_ibdev->ipaddr_list); ec16227e Andy Grover 2009-02-24 207 INIT_LIST_HEAD(&rds_ibdev->conn_list); ea819867 Zach Brown 2010-07-15 208 ea819867 Zach Brown 2010-07-15 209 down_write(&rds_ib_devices_lock); ea819867 Zach Brown 2010-07-15 210 list_add_tail_rcu(&rds_ibdev->list, &rds_ib_devices); ea819867 Zach Brown 2010-07-15 211 up_write(&rds_ib_devices_lock); 50d61ff7 Reshetova, Elena 2017-07-04 212 refcount_inc(&rds_ibdev->refcount); ec16227e Andy Grover 2009-02-24 213 ec16227e Andy Grover 2009-02-24 214 ib_set_client_data(device, &rds_ib_client, rds_ibdev); 50d61ff7 Reshetova, Elena 2017-07-04 215 refcount_inc(&rds_ibdev->refcount); ec16227e Andy Grover 2009-02-24 216 fc19de38 Zach Brown 2010-05-24 217 rds_ib_nodev_connect(); fc19de38 Zach Brown 2010-05-24 218 3e0249f9 Zach Brown 2010-05-18 219 put_dev: 3e0249f9 Zach Brown 2010-05-18 220 rds_ib_dev_put(rds_ibdev); ec16227e Andy Grover 2009-02-24 221 } ec16227e Andy Grover 2009-02-24 222 :::::: The code at line 151 was first introduced by commit :::::: 9dff9936f0ccfffba5106ee4217c71c7bcf95143 RDS: IB: Limit the scope of has_fr/has_fmr variables :::::: TO: Avinash Repaka <avinash.repaka@xxxxxxxxxx> :::::: CC: David S. Miller <davem@xxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip