<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/infiniband/core/addr.c, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-05-24T18:44:04Z</updated>
<entry>
<title>IB/core: Add IP to GID netlink offload</title>
<updated>2016-05-24T18:44:04Z</updated>
<author>
<name>Mark Bloch</name>
</author>
<published>2016-05-19T14:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae43f8286730d1f2d241c34601df59f6d2286ac4'/>
<id>urn:sha1:ae43f8286730d1f2d241c34601df59f6d2286ac4</id>
<content type='text'>
There is an assumption that rdmacm is used only between nodes
in the same IB subnet, this why ARP resolution can be used to turn
IP to GID in rdmacm.

When dealing with IB communication between subnets this assumption
is no longer valid. ARP resolution will get us the next hop device
address and not the peer node's device address.

To solve this issue, we will check user space if it can provide the
GID of the peer node, and fail if not.

We add a sequence number to identify each request and fill in the GID
upon answer from userspace.

Signed-off-by: Mark Bloch &lt;markb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Integrate IB address resolution module into core</title>
<updated>2016-05-24T18:40:13Z</updated>
<author>
<name>Leon Romanovsky</name>
</author>
<published>2016-05-19T14:12:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3f20f02864f6da1509c523bfa1e928619e59095'/>
<id>urn:sha1:e3f20f02864f6da1509c523bfa1e928619e59095</id>
<content type='text'>
IB address resolution is declared as a module (ib_addr.ko) which loads
itself before IB core module (ib_core.ko).

It causes to the scenario where IB netlink which is initialized by IB
core can't be used by ib_addr.ko.

In order to solve it, we are converting ib_addr.ko to be part of
IB core module.

Signed-off-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: Leon Romanovsky &lt;leon@kernel.org&gt;
Signed-off-by: Mark Bloch &lt;markb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Use hop-limit from IP stack for RoCE</title>
<updated>2016-01-19T20:26:56Z</updated>
<author>
<name>Matan Barak</name>
</author>
<published>2016-01-04T08:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3efe7500add077f79d37b18e9c66df6621409b6'/>
<id>urn:sha1:c3efe7500add077f79d37b18e9c66df6621409b6</id>
<content type='text'>
Previously, IPV6_DEFAULT_HOPLIMIT was used as the hop limit value for
RoCE. Fixing that by taking ip4_dst_hoplimit and ip6_dst_hoplimit as
hop limit values.

Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Rename rdma_addr_find_dmac_by_grh</title>
<updated>2016-01-19T20:26:55Z</updated>
<author>
<name>Matan Barak</name>
</author>
<published>2016-01-04T08:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7f4b23e27f7561330ef13f93dbe8f2dc410efa7'/>
<id>urn:sha1:f7f4b23e27f7561330ef13f93dbe8f2dc410efa7</id>
<content type='text'>
rdma_addr_find_dmac_by_grh resolves dmac, vlan_id and if_index and
downsteram patch will also add hop_limit as an output parameter,
thus we rename it to rdma_addr_find_l2_eth_by_grh.

Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Fix dereference before check</title>
<updated>2016-01-19T20:26:54Z</updated>
<author>
<name>Matan Barak</name>
</author>
<published>2015-12-30T14:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9506902b7be2d8ccc235c14ccaec7f07b2c7d520'/>
<id>urn:sha1:9506902b7be2d8ccc235c14ccaec7f07b2c7d520</id>
<content type='text'>
Sparse complains about dereference before check. Fixing this by
moving the check before the dereference.

Fixes: 200298326b27 ('IB/core: Validate route when we init ah')
Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Validate route when we init ah</title>
<updated>2015-12-23T15:35:12Z</updated>
<author>
<name>Matan Barak</name>
</author>
<published>2015-12-23T12:56:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=200298326b276d8dbeff204f7d407432100d9963'/>
<id>urn:sha1:200298326b276d8dbeff204f7d407432100d9963</id>
<content type='text'>
In order to make sure API users don't try to use SGIDs which don't
conform to the routing table, validate the route before searching
the RoCE GID table.

Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Add rdma_network_type to wc</title>
<updated>2015-12-23T15:35:11Z</updated>
<author>
<name>Somnath Kotur</name>
</author>
<published>2015-12-23T12:56:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c865f24628b9310e1815d59f723a34ea3df4890f'/>
<id>urn:sha1:c865f24628b9310e1815d59f723a34ea3df4890f</id>
<content type='text'>
Providers should tell IB core the wc's network type.
This is used in order to search for the proper GID in the
GID table. When using HCAs that can't provide this info,
IB core tries to deep examine the packet and extract
the GID type by itself.

We choose sgid_index and type from all the matching entries in
RDMA-CM based on hint from the IP stack and we set hop_limit for
the IP packet based on above hint from IP stack.

Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Signed-off-by: Somnath Kotur &lt;Somnath.Kotur@Avagotech.Com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/addr: Pass network namespace as a parameter</title>
<updated>2015-10-28T16:32:47Z</updated>
<author>
<name>Guy Shapiro</name>
</author>
<published>2015-10-22T12:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=565edd1d555513ab5d67a847d50d7c14c82ef6c3'/>
<id>urn:sha1:565edd1d555513ab5d67a847d50d7c14c82ef6c3</id>
<content type='text'>
Add network namespace support to the ib_addr module. For that, all the
address resolution and matching should be done using the appropriate
namespace instead of init_net.

This is achieved by:

1. Adding an explicit network namespace argument to exported function that
   require a namespace.
2. Saving the namespace in the rdma_addr_client structure.
3. Using it when calling networking functions.

In order to preserve the behavior of calling modules, &amp;init_net is
passed as the parameter in calls from other modules. This is modified as
namespace support is added on more levels.

Signed-off-by: Haggai Eran &lt;haggaie@mellanox.com&gt;
Signed-off-by: Yotam Kenneth &lt;yotamke@mellanox.com&gt;
Signed-off-by: Shachar Raindel &lt;raindel@mellanox.com&gt;
Signed-off-by: Guy Shapiro &lt;guysh@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Use GID table in AH creation and dmac resolution</title>
<updated>2015-10-22T03:48:17Z</updated>
<author>
<name>Matan Barak</name>
</author>
<published>2015-10-15T15:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dbf727de7440f73c4b92be4b958cbc24977e8ca2'/>
<id>urn:sha1:dbf727de7440f73c4b92be4b958cbc24977e8ca2</id>
<content type='text'>
Previously, vlan id and source MAC were used from QP attributes. Since
the net device is now stored in the GID attributes, they could be used
instead of getting this information from the QP attributes.

IB_QP_SMAC, IB_QP_ALT_SMAC, IB_QP_VID and IB_QP_ALT_VID were removed
because there is no known libibverbs that uses them.

This commit also modifies the vendors (mlx4, ocrdma) drivers in order
to use the new approach.

ocrdma driver changes were done by Somnath Kotur &lt;Somnath.Kotur@Avagotech.Com&gt;

Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core cleanup: Add const to args - agent_send_response</title>
<updated>2015-06-02T13:33:13Z</updated>
<author>
<name>Ira Weiny</name>
</author>
<published>2015-05-31T21:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73cdaaeed10d91441cb946200b5dbbbeb143bace'/>
<id>urn:sha1:73cdaaeed10d91441cb946200b5dbbbeb143bace</id>
<content type='text'>
In order to support constant callers of agent_send_response we add const
specifiers to the its pointer arguments.

Adjust the call tree accordingly.

Signed-off-by: Ira Weiny &lt;ira.weiny@intel.com&gt;
Reviewed-by: Hal Rosenstock &lt;hal@mellanox.com&gt;
Reviewed-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
</feed>
