Lines Matching defs:attrs
618 static bool frwr_is_supported(struct ib_device_attr *attrs)
620 if (!(attrs->device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS))
622 if (attrs->max_fast_reg_page_list_len == 0)
639 if (!frwr_is_supported(&info->id->device->attrs)) {
642 info->id->device->attrs.device_cap_flags,
643 info->id->device->attrs.max_fast_reg_page_list_len);
649 info->id->device->attrs.max_fast_reg_page_list_len);
651 if (info->id->device->attrs.device_cap_flags & IB_DEVICE_SG_GAPS_REG)
1540 if (smbd_send_credit_target > info->id->device->attrs.max_cqe ||
1541 smbd_send_credit_target > info->id->device->attrs.max_qp_wr) {
1544 info->id->device->attrs.max_cqe,
1545 info->id->device->attrs.max_qp_wr);
1549 if (smbd_receive_credit_max > info->id->device->attrs.max_cqe ||
1550 smbd_receive_credit_max > info->id->device->attrs.max_qp_wr) {
1553 info->id->device->attrs.max_cqe,
1554 info->id->device->attrs.max_qp_wr);
1565 if (info->id->device->attrs.max_send_sge < SMBDIRECT_MAX_SGE) {
1568 info->id->device->attrs.max_send_sge);
1571 if (info->id->device->attrs.max_recv_sge < SMBDIRECT_MAX_SGE) {
1574 info->id->device->attrs.max_recv_sge);
1620 info->id->device->attrs.max_qp_rd_atom
1622 info->id->device->attrs.max_qp_rd_atom :