<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/mlx4, branch v2.6.26.8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/net/mlx4?h=v2.6.26.8</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/net/mlx4?h=v2.6.26.8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-05-05T22:56:52Z</updated>
<entry>
<title>mlx4_core: Support creation of FMRs with pages smaller than 4K</title>
<updated>2008-05-05T22:56:52Z</updated>
<author>
<name>Oren Duer</name>
<email>oren@mellanox.co.il</email>
</author>
<published>2008-05-05T22:56:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c5057ddccbcb4bf363af628d7963a7475f4114a7'/>
<id>urn:sha1:c5057ddccbcb4bf363af628d7963a7475f4114a7</id>
<content type='text'>
Don't hard code a test against a minimum page shift of 12, since the
device may support smaller pages.  Test against the actual smallest
page size from the device capabilities.

Signed-off-by: Oren Duer &lt;oren@mellanox.co.il&gt;
Signed-off-by: Jack Morgenstein &lt;jackm@dev.mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Avoid recycling old FMR R_Keys too soon</title>
<updated>2008-04-29T20:46:53Z</updated>
<author>
<name>Olaf Kirch</name>
<email>okir@lst.de</email>
</author>
<published>2008-04-29T20:46:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bbdc2821db041fb07ffa52e4a0e1ebb5410790e9'/>
<id>urn:sha1:bbdc2821db041fb07ffa52e4a0e1ebb5410790e9</id>
<content type='text'>
When a FMR is unmapped, mlx4 resets the map count to 0, and clears the
upper part of the R_Key which is used as the sequence counter.

This poses a problem for RDS, which uses ib_fmr_unmap as a fence
operation.  RDS assumes that after issuing an unmap, the old R_Keys
will be invalid for a "reasonable" period of time. For instance,
Oracle processes uses shared memory buffers allocated from a pool of
buffers.  When a process dies, we want to reclaim these buffers -- but
we must make sure there are no pending RDMA operations to/from those
buffers.  The only way to achieve that is by using unmap and sync the
TPT.

However, when the sequence count is reset on unmap, there is a high
likelihood that a new mapping will be given the same R_Key that was
issued a few milliseconds ago.

To prevent this, don't reset the sequence count when unmapping a FMR.

Signed-off-by: Olaf Kirch &lt;olaf.kirch@oracle.com&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Add a way to set the "collapsed" CQ flag</title>
<updated>2008-04-29T20:46:50Z</updated>
<author>
<name>Yevgeny Petrilin</name>
<email>yevgenyp@mellanox.co.il</email>
</author>
<published>2008-04-29T20:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e463c7b197dbe64b8a99b0612c65f286937e5bf1'/>
<id>urn:sha1:e463c7b197dbe64b8a99b0612c65f286937e5bf1</id>
<content type='text'>
Extend the mlx4_cq_resize() API with a way to set the "collapsed" flag
for the CQ being created.

Signed-off-by: Yevgeny Petrilin &lt;yevgenyp@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Add helper to move QP to ready-to-send</title>
<updated>2008-04-25T21:52:32Z</updated>
<author>
<name>Yevgeny Petrilin</name>
<email>yevgenyp@mellanox.co.il</email>
</author>
<published>2008-04-25T21:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ed4d3c1061d6f367a4ef5e1656c25af3314fe2b7'/>
<id>urn:sha1:ed4d3c1061d6f367a4ef5e1656c25af3314fe2b7</id>
<content type='text'>
Avoid duplicating code in ethernet and FC modules.

Signed-off-by: Yevgeny Petrilin &lt;yevgenyp@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Add HW queues allocation helpers</title>
<updated>2008-04-25T21:27:08Z</updated>
<author>
<name>Yevgeny Petrilin</name>
<email>yevgenyp@mellanox.co.il</email>
</author>
<published>2008-04-25T21:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=38ae6a535470b959df67ded6798fc542bb212e19'/>
<id>urn:sha1:38ae6a535470b959df67ded6798fc542bb212e19</id>
<content type='text'>
Wrap doorbell, buffer and MTT allocation in helper functions for
ethernet and FC modules to use.

Signed-off-by: Yevgeny Petrilin &lt;yevgenyp@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: CQ resizing should pass a 0 opcode modifier to MODIFY_CQ</title>
<updated>2008-04-23T18:55:45Z</updated>
<author>
<name>Vladimir Sokolovsky</name>
<email>vlad@mellanox.co.il</email>
</author>
<published>2008-04-23T18:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f5b3a096b138940f283907debe9bde6c6f40ebf3'/>
<id>urn:sha1:f5b3a096b138940f283907debe9bde6c6f40ebf3</id>
<content type='text'>
The call to mlx4_MODIFY_CQ() had a typo so that mlx4_cq_resize() was
actually asking the FW to modify a CQ's interrupt moderation rather than
asking it to resize a CQ.

Signed-off-by: Vladimir Sokolovsky &lt;vlad@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Move kernel doorbell management into core</title>
<updated>2008-04-23T18:55:45Z</updated>
<author>
<name>Yevgeny Petrilin</name>
<email>yevgenyp@mellanox.co.il</email>
</author>
<published>2008-04-23T18:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6296883ca4cd52dafb45f191d24102e28ded38f2'/>
<id>urn:sha1:6296883ca4cd52dafb45f191d24102e28ded38f2</id>
<content type='text'>
In addition to mlx4_ib, there will be ethernet and FC consumers of
mlx4_core, so move the code for managing kernel doorbells into the
core module to avoid having to duplicate this multiple times.

Signed-off-by: Yevgeny Petrilin &lt;yevgenyp@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IB/mlx4: Fix incorrect comment</title>
<updated>2008-04-17T04:09:35Z</updated>
<author>
<name>Eli Cohen</name>
<email>eli@dev.mellanox.co.il</email>
</author>
<published>2008-04-17T04:09:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4ff08a76bce3ed5f7d109c646dcfc474d7946213'/>
<id>urn:sha1:4ff08a76bce3ed5f7d109c646dcfc474d7946213</id>
<content type='text'>
mlx4 hardware does not support external DDR memory.  Moreover, UAR
area (BAR 2) can change depending on FW version.

Signed-off-by: Eli Cohen &lt;eli@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IB/mlx4: Fix race when detaching a QP from a multicast group</title>
<updated>2008-04-17T04:09:35Z</updated>
<author>
<name>Eli Cohen</name>
<email>eli@dev.mellanox.co.il</email>
</author>
<published>2008-04-17T04:09:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4dc51b32582d45cb7e8322d750ffe0e6d82b506d'/>
<id>urn:sha1:4dc51b32582d45cb7e8322d750ffe0e6d82b506d</id>
<content type='text'>
When detaching the last QP from an MCG entry, we need to make
sure that at any time, there will be no entry with zero number of
QPs which is linked to the list of the MCGs of the corresponding
hash index.  So don't write back the MCG entry if we are removing the
last QP; just unlink the entry.

Also, remove an unnecessary MCG read when attaching a QP requires
allocation of a new entry in the AMGM.

Signed-off-by: Eli Cohen &lt;eli@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>IB/mlx4: Add support for resizing CQs</title>
<updated>2008-04-17T04:09:33Z</updated>
<author>
<name>Vladimir Sokolovsky</name>
<email>vlad@dev.mellanox.co.il</email>
</author>
<published>2008-04-17T04:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bbf8eed1a0f8949f7385146624f736f829992a70'/>
<id>urn:sha1:bbf8eed1a0f8949f7385146624f736f829992a70</id>
<content type='text'>
Signed-off-by: Vladimir Sokolovsky &lt;vlad@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
</feed>
