Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in data transfer message
rsockets includes the length of a data transfer in the
immediate data. Currently 29 bits are reserved for the
length, but the maximum transfer is currently capped
at 64K. For future expansion, limit the length field
to 17 bits and reserve the other 12.
The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length. If the upper bit is
0, then the lower 16 bits indicate a transfer size in bytes.
If the upper bit is 1, the the total transfer size is
calculated as (size carried in bits 0-15 + 1) * 64 KB.
This is backwards compatible with the current implementation,
allows for transfers up to 4 GB, and provides us some
additional bits for future use.
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in data transfer message
rsockets includes the length of a data transfer in the
immediate data. Currently 29 bits are reserved for the
length, but the maximum transfer is currently capped
at 64K. For future expansion, limit the length field
to 17 bits and reserve the other 12.
The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length. If the upper bit is
0, then the lower 16 bits indicate a transfer size in bytes.
If the upper bit is 1, the the total transfer size is
calculated as (size carried in bits 0-15 + 1) * 64 KB.
This is backwards compatible with the current implementation,
allows for transfers up to 4 GB, and provides us some
additional bits for future use.
Sean Hefty [Sat, 20 Oct 2012 16:19:22 +0000 (09:19 -0700)]
rsocket: Reserve bits in data transfer message
rsockets includes the length of a data transfer in the
immediate data. Currently 29 bits are reserved for the
length, but the maximum transfer is currently capped
at 64K. For future expansion, limit the length field
to 17 bits and reserve the other 12.
The interpretation of the 17 bits is modified as follows.
The lower 16 bits indicate a length. If the upper bit is
0, then the lower 16 bits indicate a transfer size in bytes.
If the upper bit is 1, the the total transfer size is
calculated as (size carried in bits 0-15 + 1) * 64 KB.
This is backwards compatible with the current implementation,
allows for transfers up to 4 GB, and provides us some
additional bits for future use.
Roland Dreier [Tue, 16 Oct 2012 19:44:39 +0000 (19:44 +0000)]
rdma_xserver/client: Fix man page formatting
Putting 'r' at the beginning of a line in the nroff source for man pages
is confusing to nroff because lines that start with a single quote
character ' or a dot character . are treated as control lines, which is
not what's intended here. Some of the man page text ends up left out of
the formatted output.
Fix this by just wrapping the text slightly differently in the source
(which doesn't matter since nroff reflows the text anyway). Also add a
missing ".TP" so that the -p and -c options are not run together in the
formatted output.
Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Roland Dreier [Tue, 16 Oct 2012 19:44:39 +0000 (19:44 +0000)]
rdma_xserver/client: Fix man page formatting
Putting 'r' at the beginning of a line in the nroff source for man pages
is confusing to nroff because lines that start with a single quote
character ' or a dot character . are treated as control lines, which is
not what's intended here. Some of the man page text ends up left out of
the formatted output.
Fix this by just wrapping the text slightly differently in the source
(which doesn't matter since nroff reflows the text anyway). Also add a
missing ".TP" so that the -p and -c options are not run together in the
formatted output.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Sean Hefty [Mon, 8 Oct 2012 17:33:21 +0000 (10:33 -0700)]
librdmacm: Disable ACM support if ibacm.port is not found
The librdmacm will try to connect port 6125 if ibacm.port is
not found. The problem is that some other service or application
could be using that port and respond with garbage. Rather
than falling back to a hard coded port number, if ibacm.port
is not found, simply disable ACM support.
This has the effect of removing support for older versions
of ibacm, unless the port file is created manually.
Patch created based on feedback from Doug Ledford and Florian
Weimer from RedHat.