Lines Matching defs:attrs
624 static bool frwr_is_supported(struct ib_device_attr *attrs)
626 if (!(attrs->device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS))
628 if (attrs->max_fast_reg_page_list_len == 0)
645 if (!frwr_is_supported(&info->id->device->attrs)) {
648 info->id->device->attrs.device_cap_flags,
649 info->id->device->attrs.max_fast_reg_page_list_len);
655 info->id->device->attrs.max_fast_reg_page_list_len);
657 if (info->id->device->attrs.kernel_cap_flags & IBK_SG_GAPS_REG)
1510 if (smbd_send_credit_target > info->id->device->attrs.max_cqe ||
1511 smbd_send_credit_target > info->id->device->attrs.max_qp_wr) {
1514 info->id->device->attrs.max_cqe,
1515 info->id->device->attrs.max_qp_wr);
1519 if (smbd_receive_credit_max > info->id->device->attrs.max_cqe ||
1520 smbd_receive_credit_max > info->id->device->attrs.max_qp_wr) {
1523 info->id->device->attrs.max_cqe,
1524 info->id->device->attrs.max_qp_wr);
1535 if (info->id->device->attrs.max_send_sge < SMBDIRECT_MAX_SEND_SGE ||
1536 info->id->device->attrs.max_recv_sge < SMBDIRECT_MAX_RECV_SGE) {
1541 info->id->device->attrs.max_send_sge,
1542 info->id->device->attrs.max_recv_sge);
1588 info->id->device->attrs.max_qp_rd_atom
1590 info->id->device->attrs.max_qp_rd_atom :