<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/broadcom/cnic.h, branch linux-6.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2024-08-01T01:59:46Z</updated>
<entry>
<title>net: cnic: Convert tasklet API to new bottom half workqueue mechanism</title>
<updated>2024-08-01T01:59:46Z</updated>
<author>
<name>Allen Pais</name>
<email>allen.lkml@gmail.com</email>
</author>
<published>2024-07-30T18:33:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8d3beb6bc765ccea794612066454da5bb72a0746'/>
<id>urn:sha1:8d3beb6bc765ccea794612066454da5bb72a0746</id>
<content type='text'>
Migrate tasklet APIs to the new bottom half workqueue mechanism. It
replaces all occurrences of tasklet usage with the appropriate workqueue
APIs throughout the cnic driver. This transition ensures compatibility
with the latest design and enhances performance.

Signed-off-by: Allen Pais &lt;allen.lkml@gmail.com&gt;
Link: https://patch.msgid.link/20240730183403.4176544-4-allen.lkml@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>cnic,bnx2,bnx2x: use UIO_MEM_DMA_COHERENT</title>
<updated>2024-03-07T21:52:59Z</updated>
<author>
<name>Chris Leech</name>
<email>cleech@redhat.com</email>
</author>
<published>2024-02-01T23:33:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bfe78793b264f9e7a809f755f8ef5cb9bb163827'/>
<id>urn:sha1:bfe78793b264f9e7a809f755f8ef5cb9bb163827</id>
<content type='text'>
Use the UIO_MEM_DMA_COHERENT type to properly handle mmap for
dma_alloc_coherent buffers.

The cnic l2_ring and l2_buf mmaps have caused page refcount issues as
the dma_alloc_coherent no longer provide __GFP_COMP allocation as per
commit "dma-mapping: reject __GFP_COMP in dma_alloc_attrs".

Fix this by having the uio device use dma_mmap_coherent.

The bnx2 and bnx2x status block allocations are also dma_alloc_coherent,
and should use dma_mmap_coherent. They don't allocate multiple pages,
but this interface does not work correctly with an iommu enabled unless
dma_mmap_coherent is used.

Signed-off-by: Nilesh Javali &lt;njavali@marvell.com&gt;
Signed-off-by: Chris Leech &lt;cleech@redhat.com&gt;
Acked-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Link: https://lore.kernel.org/r/20240201233400.3394996-3-cleech@redhat.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cnic: Rebranding cnic driver.</title>
<updated>2014-06-25T23:27:27Z</updated>
<author>
<name>Jitendra Kalsaria</name>
<email>jitendra.kalsaria@qlogic.com</email>
</author>
<published>2014-06-23T19:10:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d7afae05ad2e9c2cbf74e1419de5a0d6aa9c74f4'/>
<id>urn:sha1:d7afae05ad2e9c2cbf74e1419de5a0d6aa9c74f4</id>
<content type='text'>
o QLogic has acquired the NetXtremeII products and drivers from Broadcom.
  This patch re-brands cnic driver as a QLogic driver

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Update version to 2.5.20 and copyright year.</title>
<updated>2014-03-18T20:02:16Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2014-03-18T03:19:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c3661283f947ff5023b717240d069e9be765b0a9'/>
<id>urn:sha1:c3661283f947ff5023b717240d069e9be765b0a9</id>
<content type='text'>
Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Add a signature to indicate valid doorbell offset.</title>
<updated>2014-01-02T03:08:08Z</updated>
<author>
<name>Eddie Wai</name>
<email>eddie.wai@broadcom.com</email>
</author>
<published>2014-01-01T07:18:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d15e2a92c4c263fd44a0b41e637a032bd618e6c9'/>
<id>urn:sha1:d15e2a92c4c263fd44a0b41e637a032bd618e6c9</id>
<content type='text'>
The buffer that is used to pass doorbell offset to the userspace UIO
driver may contain nonzero value in older versions of bnx2x driver.
Userspace cannot easily tell whether it contains a valid doorbell
offset or not.  With the added signature, userspace will only use
the doorbell offset if the signature is present.

Update version to 2.5.19.

Signed-off-by: Eddie Wai &lt;eddie.wai@broadcom.com&gt;
Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Eliminate local copy of pfid.</title>
<updated>2013-09-04T04:27:26Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2013-09-02T18:42:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a5b3c4ae27f0f6a84a00dae44adee82aca346d3a'/>
<id>urn:sha1:a5b3c4ae27f0f6a84a00dae44adee82aca346d3a</id>
<content type='text'>
Use bp-&gt;pfid from bnx2x instead to avoid duplication.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Eliminate CNIC_PORT macro and port_mode in local struct.</title>
<updated>2013-09-04T04:27:26Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2013-09-02T18:42:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5bf945a874d13e4e44c61afaeb7714d07fa7baca'/>
<id>urn:sha1:5bf945a874d13e4e44c61afaeb7714d07fa7baca</id>
<content type='text'>
Use BP_PORT and chip_port_mode directly from bnx2x.h to avoid duplication.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Redefine BNX2X_HW_CID using existing bnx2x macros</title>
<updated>2013-09-04T04:27:26Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2013-09-02T18:42:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5e65789f694f2977fb7169c500b4997772f5278b'/>
<id>urn:sha1:5e65789f694f2977fb7169c500b4997772f5278b</id>
<content type='text'>
to avoid duplication of the same logic.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Use CHIP_NUM macros from bnx2x.h</title>
<updated>2013-09-04T04:27:26Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2013-09-02T18:42:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=104a43edb264321a4d41850e98153b4fa8a9ef42'/>
<id>urn:sha1:104a43edb264321a4d41850e98153b4fa8a9ef42</id>
<content type='text'>
This eliminates duplication and ensures that all bnx2x chips will be
supported.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cnic: Update version to 2.5.17 and copyright year.</title>
<updated>2013-07-30T05:03:07Z</updated>
<author>
<name>Michael Chan</name>
<email>mchan@broadcom.com</email>
</author>
<published>2013-07-29T02:04:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ca67a3cb239d17586403b456fd92989a95e7ce54'/>
<id>urn:sha1:ca67a3cb239d17586403b456fd92989a95e7ce54</id>
<content type='text'>
Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
