<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/infiniband/ulp, branch linux-2.6.16.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.16.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2007-03-11T06:36:27+00:00</updated>
<entry>
<title>IPoIB: Rejoin all multicast groups after a port event</title>
<updated>2007-03-11T06:36:27+00:00</updated>
<author>
<name>Eli Cohen</name>
<email>eli@mellanox.co.il</email>
</author>
<published>2007-03-11T06:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4b3c56f0239d50fff032d3ff53f7b7509d10b53b'/>
<id>urn:sha1:4b3c56f0239d50fff032d3ff53f7b7509d10b53b</id>
<content type='text'>
When ipoib_ib_dev_flush() is called because of a port event, the
driver needs to rejoin all multicast groups, since the flush will call
ipoib_mcast_dev_flush() (via ipoib_ib_dev_down()).  Otherwise no
(non-broadcast) multicast groups will be rejoined until the networking
core calls -&gt;set_multicast_list again, and so multicast reception will
be broken for potentially a long time.

Signed-off-by: Eli Cohen &lt;eli@mellanox.co.il&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>IB/srp: Don't send task management commands after target removal</title>
<updated>2006-03-04T01:50:16+00:00</updated>
<author>
<name>Roland Dreier</name>
<email>rolandd@cisco.com</email>
</author>
<published>2006-03-03T23:47:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1285b3a0b0aa2391ac6f6939e6737203c8220f68'/>
<id>urn:sha1:1285b3a0b0aa2391ac6f6939e6737203c8220f68</id>
<content type='text'>
Just fail abort and reset requests that come in after we've already
decided to remove a target.

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Yet another fix for send-only joins</title>
<updated>2006-02-11T20:22:12+00:00</updated>
<author>
<name>Roland Dreier</name>
<email>rolandd@cisco.com</email>
</author>
<published>2006-02-11T20:22:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=20b83382d1c5d4d1a73fc5671261db5239d1dbb3'/>
<id>urn:sha1:20b83382d1c5d4d1a73fc5671261db5239d1dbb3</id>
<content type='text'>
Even after the last fix, it's still possible for a send-only join to
start before the join for the broadcast group has finished.  This
could cause us to create a multicast group using attributes from the
broadcast group that haven't been initialized yet, so we would use
garbage for the Q_Key, etc.  Fix this by waiting until the broadcast
group's attached flag is set before starting send-only joins.

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Fix another send-only join race</title>
<updated>2006-02-08T00:39:26+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@mellanox.co.il</email>
</author>
<published>2006-02-08T00:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7bcb974ef6a0ae903888272c92c66ea779388c01'/>
<id>urn:sha1:7bcb974ef6a0ae903888272c92c66ea779388c01</id>
<content type='text'>
Further, there's an additional issue that I saw in testing:
ipoib_mcast_send may get called when priv-&gt;broadcast is NULL (e.g. if
the device was downed and then upped internally because of a port
event).

If this happends and the send-only join request gets completed before
priv-&gt;broadcast is set, we get an oops.

Signed-off-by: Michael S. Tsirkin &lt;mst@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Don't start send-only joins while multicast thread is stopped</title>
<updated>2006-02-08T00:37:08+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@mellanox.co.il</email>
</author>
<published>2006-02-08T00:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=479a079663bd4c5f3d2714643b1b8c406aaba3e0'/>
<id>urn:sha1:479a079663bd4c5f3d2714643b1b8c406aaba3e0</id>
<content type='text'>
Fix the following race scenario:
  - Device is up.
  - Port event or set mcast list triggers ipoib_mcast_stop_thread,
    this cancels the query and waits on mcast "done" completion.
  - Completion is called and "done" is set.
  - Meanwhile, ipoib_mcast_send arrives and starts a new query,
    re-initializing "done".

Fix this by adding a "multicast started" bit and checking it before
starting a send-only join.

Signed-off-by: Michael S. Tsirkin &lt;mst@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IB/srp: Semaphore to mutex conversion</title>
<updated>2006-01-30T23:21:21+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2006-01-30T23:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8e9e5f4f5eb1d44ddabfd1ddea4ca4e4244a9ffb'/>
<id>urn:sha1:8e9e5f4f5eb1d44ddabfd1ddea4ca4e4244a9ffb</id>
<content type='text'>
Convert srp_host-&gt;target_mutex from a semaphore to a mutex.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Lock accesses to multicast packet queues</title>
<updated>2006-01-17T20:19:40+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@mellanox.co.il</email>
</author>
<published>2006-01-17T20:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b36f170b617a7cd147b694dabf504e856a50ee9d'/>
<id>urn:sha1:b36f170b617a7cd147b694dabf504e856a50ee9d</id>
<content type='text'>
Avoid corrupting mcast-&gt;pkt_queue by serializing access with
priv-&gt;tx_lock.  Also, update dropped packet statistics to count
multicast packets removed from pkt_queue as dropped.

Signed-off-by: Michael S. Tsirkin &lt;mst@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Make sure path is fully initialized before using it</title>
<updated>2006-01-17T17:22:05+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@mellanox.co.il</email>
</author>
<published>2006-01-17T17:22:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=47f7a0714b67b904a3a36e2f2d85904e8064219b'/>
<id>urn:sha1:47f7a0714b67b904a3a36e2f2d85904e8064219b</id>
<content type='text'>
The SA path record query completion can initialize path-&gt;pathrec.dlid
before IPoIB's callback runs and initializes path-&gt;ah, so we must test
ah rather than dlid.

Signed-off-by: Michael S. Tsirkin &lt;mst@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IB: convert from semaphores to mutexes</title>
<updated>2006-01-13T22:51:39+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2006-01-13T22:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=95ed644fd12f53c6fc778f3f246974e5fe3a9468'/>
<id>urn:sha1:95ed644fd12f53c6fc778f3f246974e5fe3a9468</id>
<content type='text'>
semaphore to mutex conversion by Ingo and Arjan's script.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
[ Sanity-checked on real IB hardware ]
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IPoIB: Fix memory leak of multicast group structures</title>
<updated>2006-01-12T22:32:20+00:00</updated>
<author>
<name>Eli Cohen</name>
<email>eli@mellanox.co.il</email>
</author>
<published>2006-01-12T22:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=988bd50300ef2e2d5cb8563e2ac99453dd9acd86'/>
<id>urn:sha1:988bd50300ef2e2d5cb8563e2ac99453dd9acd86</id>
<content type='text'>
The current handling of multicast groups in IPoIB ends up never
freeing send-only multicast groups.  It turns out the logic was much
more complicated than it needed to be; we can fix this bug and
completely kill ipoib_mcast_dev_down() at the same time.

Signed-off-by: Eli Cohen &lt;eli@mellanox.co.il&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
</feed>
