From: Or Gerlitz <ogerlitz-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
To: Jack Morgenstein <jackm-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
Cc: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
Bharath Ramesh <bramesh-PjAqaU27lzQ@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Maximum size for memory registration (ibv_reg_mr)
Date: Thu, 07 Oct 2010 11:40:02 +0200 [thread overview]
Message-ID: <4CAD9572.5060507@Voltaire.com> (raw)
In-Reply-To: <adamxr6ahd3.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Roland Dreier wrote:
>> max_mr_size returned by calling ibv_devinfo is 0xffffffffffffffff. Does this mean the size is unlimited?
> It means that the query function might be returning bad data. What adapter is it?
Yep, mlx4_ib_query_device does props->max_mr_size = ~0ull ...
Jack, what would it take to fix that? I took a look and other settings are taken from
dev->dev->caps.xxx where caps is of type mlx4_caps which is in turn filled @ drivers/net/mlx4/main.c
:: mlx4_dev_cap I wasn't sure what field/computation would exactly account for later setting max_mr_size
Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-10-07 9:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 22:12 Maximum size for memory registration (ibv_reg_mr) Bharath Ramesh
2010-09-24 22:36 ` Roland Dreier
[not found] ` <adar5giahvd.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-09-24 22:42 ` Bharath Ramesh
2010-09-24 22:47 ` Roland Dreier
[not found] ` <adamxr6ahd3.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-09-24 22:52 ` Bharath Ramesh
2010-09-24 22:57 ` Roland Dreier
[not found] ` <adaiq1uagwi.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-09-27 11:18 ` Tziporet Koren
2010-10-07 9:40 ` Or Gerlitz [this message]
[not found] ` <4CAD9572.5060507-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
2010-10-07 10:13 ` Eli Cohen
2010-10-07 11:21 ` Or Gerlitz
[not found] ` <4CADAD40.8080202-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-10-07 11:49 ` Eli Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CAD9572.5060507@Voltaire.com \
--to=ogerlitz-hkgkho2ms0fwk0htik3j/w@public.gmane.org \
--cc=bramesh-PjAqaU27lzQ@public.gmane.org \
--cc=jackm-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.