<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/mlx4/alloc.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-11T22:19:42Z</updated>
<entry>
<title>mlx4_core: Fix build break (missing include)</title>
<updated>2008-02-11T22:19:42Z</updated>
<author>
<name>Olof Johansson</name>
</author>
<published>2008-02-11T02:22:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29c271123dc7895a9f77d3e61e747b2a052d0a2a'/>
<id>urn:sha1:29c271123dc7895a9f77d3e61e747b2a052d0a2a</id>
<content type='text'>
Commit 313abe55 ("mlx4_core: For 64-bit systems, vmap() kernel queue
buffers") caused this to pop up on powerpc allyesconfig, looks like a
missing include file:

    drivers/net/mlx4/alloc.c: In function 'mlx4_buf_alloc':
    drivers/net/mlx4/alloc.c:162: error: implicit declaration of function 'vmap'
    drivers/net/mlx4/alloc.c:162: error: 'VM_MAP' undeclared (first use in this function)
    drivers/net/mlx4/alloc.c:162: error: (Each undeclared identifier is reported only once
    drivers/net/mlx4/alloc.c:162: error: for each function it appears in.)
    drivers/net/mlx4/alloc.c:162: warning: assignment makes pointer from integer without a cast
    drivers/net/mlx4/alloc.c: In function 'mlx4_buf_free':
    drivers/net/mlx4/alloc.c:187: error: implicit declaration of function 'vunmap'

Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Clean up struct mlx4_buf</title>
<updated>2008-02-07T05:17:59Z</updated>
<author>
<name>Roland Dreier</name>
</author>
<published>2008-02-07T05:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b57aacfa7a95328f469d0360e49289b023c47e9e'/>
<id>urn:sha1:b57aacfa7a95328f469d0360e49289b023c47e9e</id>
<content type='text'>
Now that struct mlx4_buf.u is a struct instead of a union because of
the vmap() changes, there's no point in having a struct at all.  So
move .direct and .page_list directly into struct mlx4_buf and get rid
of a bunch of unnecessary ".u"s.

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>mlx4_core: For 64-bit systems, vmap() kernel queue buffers</title>
<updated>2008-02-07T05:17:45Z</updated>
<author>
<name>Jack Morgenstein</name>
</author>
<published>2008-01-28T08:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=313abe55a87bc10e55d00f337d609e17ad5f8c9a'/>
<id>urn:sha1:313abe55a87bc10e55d00f337d609e17ad5f8c9a</id>
<content type='text'>
Since kernel virtual memory is not a problem on 64-bit systems, there
is no reason to use our own 2-layer page mapping scheme for large
kernel queue buffers on such systems.  Instead, map the page list to a
single virtually contiguous buffer with vmap(), so that can we access
buffer memory via direct indexing.

Signed-off-by: Michael S. Tsirkin &lt;mst@dev.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: Fix possible bad free in mlx4_buf_free()</title>
<updated>2007-11-13T23:26:57Z</updated>
<author>
<name>Ali Ayoub</name>
</author>
<published>2007-11-13T23:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3bba11e5c47dfc1d381a1ece26464fb7eea2d79c'/>
<id>urn:sha1:3bba11e5c47dfc1d381a1ece26464fb7eea2d79c</id>
<content type='text'>
When mlx4_buf_free() is called from the error path of
mlx4_buf_alloc(), it may be passed a buffer structure that does not
have all pages filled in.  Add a check for NULL to mlx4_buf_free() so
we avoid passing NULL to dma_free_coherent() (which will crash).

Signed-off-by: Ali Ayoub &lt;ali@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>IB/mlx4: Fix last allocated object tracking in bitmap allocator</title>
<updated>2007-05-29T23:07:09Z</updated>
<author>
<name>Roland Dreier</name>
</author>
<published>2007-05-29T23:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2cb4a98f243d01f2c8d5799c764bb96ffa66c44'/>
<id>urn:sha1:a2cb4a98f243d01f2c8d5799c764bb96ffa66c44</id>
<content type='text'>
Set last allocated object to the object after the one just allocated
before ORing in the extra top bits.  Also handle the case where this
wraps around.

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
<entry>
<title>missing includes in mlx4</title>
<updated>2007-05-16T01:56:37Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2007-05-15T19:36:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cbe05c71251b51607d80256c3b3754957bb5ed8'/>
<id>urn:sha1:9cbe05c71251b51607d80256c3b3754957bb5ed8</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Acked-by: Jeff Garzik &lt;jeff@garzik.org&gt;
Acked-by: Roland Dreier &lt;rolandd@cisco.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters</title>
<updated>2007-05-09T01:00:38Z</updated>
<author>
<name>Roland Dreier</name>
</author>
<published>2007-05-09T01:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=225c7b1feef1b41170f7037a5b10a65cd8a42c54'/>
<id>urn:sha1:225c7b1feef1b41170f7037a5b10a65cd8a42c54</id>
<content type='text'>
Add an InfiniBand driver for Mellanox ConnectX adapters.  Because
these adapters can also be used as ethernet NICs and Fibre Channel 
HBAs, the driver is split into two modules: 
 
  mlx4_core: Handles low-level things like device initialization and 
    processing firmware commands.  Also controls resource allocation 
    so that the InfiniBand, ethernet and FC functions can share a 
    device without stepping on each other. 
 
  mlx4_ib: Handles InfiniBand-specific things; plugs into the 
    InfiniBand midlayer. 

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
</content>
</entry>
</feed>
