<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/rds/ib.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-07-04T21:35:17Z</updated>
<entry>
<title>net, rds: convert rds_ib_device.refcount from atomic_t to refcount_t</title>
<updated>2017-07-04T21:35:17Z</updated>
<author>
<name>Reshetova, Elena</name>
</author>
<published>2017-07-04T12:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50d61ff789d728a9b6624582ce28441dc0bf5b42'/>
<id>urn:sha1:50d61ff789d728a9b6624582ce28441dc0bf5b42</id>
<content type='text'>
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.

Signed-off-by: Elena Reshetova &lt;elena.reshetova@intel.com&gt;
Signed-off-by: Hans Liljestrand &lt;ishkamiel@gmail.com&gt;
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: David Windsor &lt;dwindsor@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>rds: remove unnecessary returned value check</title>
<updated>2017-03-03T17:51:22Z</updated>
<author>
<name>Zhu Yanjun</name>
</author>
<published>2017-03-03T05:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8d63a53b3eac8626f62336dcc327c18f1bbca78'/>
<id>urn:sha1:a8d63a53b3eac8626f62336dcc327c18f1bbca78</id>
<content type='text'>
The function rds_trans_register always returns 0. As such, it is not
necessary to check the returned value.

Cc: Joe Jin &lt;joe.jin@oracle.com&gt;
Cc: Junxiao Bi &lt;junxiao.bi@oracle.com&gt;
Signed-off-by: Zhu Yanjun &lt;yanjun.zhu@oracle.com&gt;
Reviewed-by: Yuval Shaia &lt;yuval.shaia@oracle.com&gt;
Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>rds: ib: add the static type to the variables</title>
<updated>2017-03-01T17:50:58Z</updated>
<author>
<name>Zhu Yanjun</name>
</author>
<published>2017-02-28T06:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f7bfb3982e02aacc5fb6e1a121e5326c1778ac3'/>
<id>urn:sha1:4f7bfb3982e02aacc5fb6e1a121e5326c1778ac3</id>
<content type='text'>
The variables rds_ib_mr_1m_pool_size and rds_ib_mr_8k_pool_size
are used only in the ib.c file. As such, the static type is
added to limit them in this file.

Cc: Joe Jin &lt;joe.jin@oracle.com&gt;
Cc: Junxiao Bi &lt;junxiao.bi@oracle.com&gt;
Signed-off-by: Zhu Yanjun &lt;yanjun.zhu@oracle.com&gt;
Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>RDS: IB: fix ifnullfree.cocci warnings</title>
<updated>2017-02-24T16:11:33Z</updated>
<author>
<name>Wu Fengguang</name>
</author>
<published>2017-02-23T12:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77cc7aee099e7a7843835995101379405564f775'/>
<id>urn:sha1:77cc7aee099e7a7843835995101379405564f775</id>
<content type='text'>
net/rds/ib.c:115:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.

 NULL check before some freeing functions is not needed.

 Based on checkpatch warning
 "kfree(NULL) is safe this check is probably not required"
 and kfreeaddr.cocci by Julia Lawall.

Generated by: scripts/coccinelle/free/ifnullfree.cocci

Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>RDS: IB: Add vector spreading for cqs</title>
<updated>2017-01-02T22:02:52Z</updated>
<author>
<name>Santosh Shilimkar</name>
</author>
<published>2016-07-04T23:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be2f76eacc278c272f26d46e4168efe5a55f5383'/>
<id>urn:sha1:be2f76eacc278c272f26d46e4168efe5a55f5383</id>
<content type='text'>
Based on available device vectors, allocate cqs accordingly to
get better spread of completion vectors which helps performace
great deal..

Signed-off-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
</content>
</entry>
<entry>
<title>IB/core: add support to create a unsafe global rkey to ib_create_pd</title>
<updated>2016-09-23T17:47:44Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2016-09-05T10:56:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed082d36a7b2c27d1cda55fdfb28af18040c4a89'/>
<id>urn:sha1:ed082d36a7b2c27d1cda55fdfb28af18040c4a89</id>
<content type='text'>
Instead of exposing ib_get_dma_mr to ULPs and letting them use it more or
less unchecked, this moves the capability of creating a global rkey into
the RDMA core, where it can be easily audited.  It also prints a warning
everytime this feature is used as well.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Sagi Grimberg &lt;sagi@grimberg.me&gt;
Reviewed-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
Reviewed-by: Steve Wise &lt;swise@opengridcomputing.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>RDS: TCP: Hooks to set up a single connection path</title>
<updated>2016-07-01T20:45:17Z</updated>
<author>
<name>Sowmini Varadhan</name>
</author>
<published>2016-06-30T23:11:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b04e8554f7637999af8f54cca4dcfcf49f2ae7c8'/>
<id>urn:sha1:b04e8554f7637999af8f54cca4dcfcf49f2ae7c8</id>
<content type='text'>
This patch adds -&gt;conn_path_connect callbacks in the rds_transport
that are used to set up a single connection path.

Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
Signed-off-by: Sowmini Varadhan &lt;sowmini.varadhan@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>RDS: TCP: make receive path use the rds_conn_path</title>
<updated>2016-07-01T20:45:17Z</updated>
<author>
<name>Sowmini Varadhan</name>
</author>
<published>2016-06-30T23:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2da43c4a1b517d02e71d9611a2242273e7d399ba'/>
<id>urn:sha1:2da43c4a1b517d02e71d9611a2242273e7d399ba</id>
<content type='text'>
The -&gt;sk_user_data contains a pointer to the rds_conn_path
for the socket. Use this consistently in the rds_tcp_data_ready
callbacks to get the rds_conn_path for rds_recv_incoming.

Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
Signed-off-by: Sowmini Varadhan &lt;sowmini.varadhan@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>RDS: Rework path specific indirections</title>
<updated>2016-07-01T20:45:17Z</updated>
<author>
<name>Sowmini Varadhan</name>
</author>
<published>2016-06-30T23:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=226f7a7d97e37220a442f52eb85ebff2cd6fc0d2'/>
<id>urn:sha1:226f7a7d97e37220a442f52eb85ebff2cd6fc0d2</id>
<content type='text'>
Refactor code to avoid separate indirections for single-path
and multipath transports. All transports (both single and mp-capable)
will get a pointer to the rds_conn_path, and can trivially derive
the rds_connection from the -&gt;cp_conn.

Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@oracle.com&gt;
Signed-off-by: Sowmini Varadhan &lt;sowmini.varadhan@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>RDS: split out connection specific state from rds_connection to rds_conn_path</title>
<updated>2016-06-15T06:50:41Z</updated>
<author>
<name>Sowmini Varadhan</name>
</author>
<published>2016-06-13T16:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0cb43965d42a21a7af41f88f1021b478dc102425'/>
<id>urn:sha1:0cb43965d42a21a7af41f88f1021b478dc102425</id>
<content type='text'>
In preparation for multipath RDS, split the rds_connection
structure into a base structure, and a per-path struct rds_conn_path.
The base structure tracks information and locks common to all
paths. The workqs for send/recv/shutdown etc are tracked per
rds_conn_path. Thus the workq callbacks now work with rds_conn_path.

This commit allows for one rds_conn_path per rds_connection, and will
be extended into multiple conn_paths in  subsequent commits.

Signed-off-by: Sowmini Varadhan &lt;sowmini.varadhan@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
