<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/cavium, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-12-15T05:40:59Z</updated>
<entry>
<title>net: thunder: Check for driver data in nicvf_remove()</title>
<updated>2015-12-15T05:40:59Z</updated>
<author>
<name>Pavel Fedin</name>
<email>p.fedin@samsung.com</email>
</author>
<published>2015-11-16T14:51:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ce2ceca37c846767abceee497f8adbb3328a8dd9'/>
<id>urn:sha1:ce2ceca37c846767abceee497f8adbb3328a8dd9</id>
<content type='text'>
[ Upstream commit 7750130d93decff06120df0d8ea024ff8a038a21 ]

In some cases the crash is caused by nicvf_remove() being called from
outside. For example, if we try to feed the device to vfio after the
probe has failed for some reason. So, move the check to better place.

Signed-off-by: Pavel Fedin &lt;p.fedin@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>net: thunderx: add missing of_node_put</title>
<updated>2015-10-27T05:08:07Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia.lawall@lip6.fr</email>
</author>
<published>2015-10-25T13:57:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8c387ebbaff8652943a1cbcab496aecadc6a8875'/>
<id>urn:sha1:8c387ebbaff8652943a1cbcab496aecadc6a8875</id>
<content type='text'>
for_each_child_of_node performs an of_node_get on each iteration, so
a break out of the loop requires an of_node_put.

A simplified version of the semantic patch that fixes this problem is as
follows (http://coccinelle.lip6.fr):

// &lt;smpl&gt;
@@
local idexpression r.n;
expression r,e;
@@

 for_each_child_of_node(r,n) {
   ...
(
   of_node_put(n);
|
   e = n
|
+  of_node_put(n);
?  break;
)
   ...
 }
... when != n
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: thunderx: Incorporate pass2 silicon CPI index configuration changes</title>
<updated>2015-10-26T01:13:02Z</updated>
<author>
<name>Thanneeru Srinivasulu</name>
<email>tsrinivasulu@caviumnetworks.com</email>
</author>
<published>2015-10-24T00:14:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=34411b68b132e403ddf395419e986475a9993d9b'/>
<id>urn:sha1:34411b68b132e403ddf395419e986475a9993d9b</id>
<content type='text'>
Add support for ThunderX pass2 CPI and MPI configuration changes.
MPI_ALG is not enabled i.e MCAM parsing is disabled.

Signed-off-by: Thanneeru Srinivasulu &lt;tsrinivasulu@caviumnetworks.com&gt;
Signed-off-by: Sunil Goutham &lt;sgoutham@cavium.com&gt;
Signed-off-by: David Daney &lt;david.daney@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: thunderx: Rewrite silicon revision tests.</title>
<updated>2015-10-26T01:13:00Z</updated>
<author>
<name>David Daney</name>
<email>david.daney@cavium.com</email>
</author>
<published>2015-10-24T00:14:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=88ed237720bd618240439714a57fb69ea96428e7'/>
<id>urn:sha1:88ed237720bd618240439714a57fb69ea96428e7</id>
<content type='text'>
The test for pass-1 silicon was incorrect, it should be for all
revisions less than 8.  Also the revision is already present in the
pci_dev, so there is no need to read and keep a private copy.

Remove rev_id and code to read it from struct nicpf.  Create new
static inline function pass1_silicon() to be used to testing the
silicon version.  Use pass1_silicon() for revision checks, this will
be more widely used in follow on patches.

Signed-off-by: David Daney &lt;david.daney@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: thunderx: Fix incorrect subsystem devid of VF on pass2 silicon</title>
<updated>2015-10-26T01:12:59Z</updated>
<author>
<name>Sunil Goutham</name>
<email>sgoutham@cavium.com</email>
</author>
<published>2015-10-24T00:14:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4e85777ff071b51f500b130b6d036922af32be25'/>
<id>urn:sha1:4e85777ff071b51f500b130b6d036922af32be25</id>
<content type='text'>
Signed-off-by: Sunil Goutham &lt;sgoutham@cavium.com&gt;
Signed-off-by: David Daney &lt;david.daney@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: thunderx: Remove PF soft reset.</title>
<updated>2015-10-26T01:12:56Z</updated>
<author>
<name>Sunil Goutham</name>
<email>sgoutham@cavium.com</email>
</author>
<published>2015-10-24T00:14:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f9bf45e08ef36b6726a5744f0029325e81b3248a'/>
<id>urn:sha1:f9bf45e08ef36b6726a5744f0029325e81b3248a</id>
<content type='text'>
In some silicon revisions, the soft reset clobbers PCI config space,
so quit doing the reset.

Signed-off-by: Sunil Goutham &lt;sgoutham@cavium.com&gt;
Signed-off-by: David Daney &lt;david.daney@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: cavium: change NET_VENDOR_CAVIUM to bool</title>
<updated>2015-10-22T02:12:16Z</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@suse.de</email>
</author>
<published>2015-10-19T15:37:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7a4264a9250fc6d555ff305aa5e5168723805bb9'/>
<id>urn:sha1:7a4264a9250fc6d555ff305aa5e5168723805bb9</id>
<content type='text'>
CONFIG_NET_VENDOR_CAVIUM is only used to hide/show config options and to
include subdirectories in the build, so it doesn't make sense to make it
tristate.

Signed-off-by: Andreas Schwab &lt;schwab@suse.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: cavium: liquidio: use kzalloc in setup_glist()</title>
<updated>2015-09-10T00:06:00Z</updated>
<author>
<name>Rasmus Villemoes</name>
<email>linux@rasmusvillemoes.dk</email>
</author>
<published>2015-09-09T08:38:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ce8e5c7035098fa5b8fea910f14be59b8cace81f'/>
<id>urn:sha1:ce8e5c7035098fa5b8fea910f14be59b8cace81f</id>
<content type='text'>
We save a little .text and get rid of the sizeof(...) style
inconsistency.

Signed-off-by: Rasmus Villemoes &lt;linux@rasmusvillemoes.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: thunderx: Support for internal loopback mode</title>
<updated>2015-08-31T04:54:12Z</updated>
<author>
<name>Sunil Goutham</name>
<email>sgoutham@cavium.com</email>
</author>
<published>2015-08-30T09:29:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d77a2384988fd397cf4f71417b9d971aa435758d'/>
<id>urn:sha1:d77a2384988fd397cf4f71417b9d971aa435758d</id>
<content type='text'>
Support for setting VF's corresponding BGX LMAC in internal
loopback mode. This mode can be used for verifying basic HW
functionality such as packet I/O, RX checksum validation,
CQ/RBDR interrupts, stats e.t.c. Useful when DUT has no external
network connectivity.

'loopback' mode can be enabled or disabled via ethtool.

Note: This feature is not supported when no of VFs enabled are
morethan no of physical interfaces i.e active BGX LMACs

Signed-off-by: Sunil Goutham &lt;sgoutham@cavium.com&gt;
Signed-off-by: Aleksey Makarov &lt;aleksey.makarov@caviumnetworks.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: thunderx: Support for upto 96 queues for a VF</title>
<updated>2015-08-31T04:54:12Z</updated>
<author>
<name>Sunil Goutham</name>
<email>sgoutham@cavium.com</email>
</author>
<published>2015-08-30T09:29:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=92dc87697e6a71675a9e9eec04ebecd8cf4837a3'/>
<id>urn:sha1:92dc87697e6a71675a9e9eec04ebecd8cf4837a3</id>
<content type='text'>
This patch adds support for handling multiple qsets assigned to a
single VF. There by increasing no of queues from earlier 8 to max
no of CPUs in the system i.e 48 queues on a single node and 96 on
dual node system. User doesn't have option to assign which Qsets/VFs
 to be merged. Upon request from VF, PF assigns next free Qsets as
secondary qsets. To maintain current behavior no of queues is kept
to 8 by default which can be increased via ethtool.

If user wants to unbind NICVF driver from a secondary Qset then it
should be done after tearing down primary VF's interface.

Signed-off-by: Sunil Goutham &lt;sgoutham@cavium.com&gt;
Signed-off-by: Aleksey Makarov &lt;aleksey.makarov@caviumnetworks.com&gt;
Signed-off-by: Robert Richter &lt;rrichter@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
