<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/cavium/thunder, 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: 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>
<entry>
<title>net: thunderx: Rework interrupt handling</title>
<updated>2015-08-31T04:54:12Z</updated>
<author>
<name>Sunil Goutham</name>
<email>sgoutham@cavium.com</email>
</author>
<published>2015-08-30T09:29:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=39ad6eea6c1a01b69abb1102a767697fb9349830'/>
<id>urn:sha1:39ad6eea6c1a01b69abb1102a767697fb9349830</id>
<content type='text'>
Rework interrupt handler to avoid checking IRQ affinity of
CQ interrupts. Now separate handlers are registered for each IRQ
including RBDR. Register interrupt handlers for only those
which are being used. Add nicvf_dump_intr_status() and use it
in irq handlers.

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 HW VLAN stripping</title>
<updated>2015-08-31T04:54:12Z</updated>
<author>
<name>Sunil Goutham</name>
<email>sgoutham@cavium.com</email>
</author>
<published>2015-08-30T09:29:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=aa2e259b474a4f52ecc9f6e0d444547de0aac4b2'/>
<id>urn:sha1:aa2e259b474a4f52ecc9f6e0d444547de0aac4b2</id>
<content type='text'>
This patch configures HW to strip 802.1Q header if found in a
receiving packet. The stripped VLAN ID and TCI information is
passed on to software via CQE_RX. Also sets netdev's 'vlan_features'
so that other HW offload features can be used for tagged packets.

This offload feature can be enabled or disabled via ethtool.

Network stack normally ignores RPS for 802.1Q packets and hence low
throughput. With this offload enabled throughput for tagged packets
will be almost same as normal packets.

Note: This patch doesn't enable HW VLAN insertion for transmit packets.

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>
</feed>
