<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/sfc/selftest.c, 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-07-31T22:32:05Z</updated>
<entry>
<title>sfc: allow ethtool selftest and MC reboot to complete on an unprivileged function</title>
<updated>2015-07-31T22:32:05Z</updated>
<author>
<name>Daniel Pieczko</name>
<email>dpieczko@solarflare.com</email>
</author>
<published>2015-07-31T10:14:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=273248202013aa9d6d1bb2c1c4e4034a2813453f'/>
<id>urn:sha1:273248202013aa9d6d1bb2c1c4e4034a2813453f</id>
<content type='text'>
The policy in the net driver is to attempt MCDI commands and
then handle any EPERM error codes appropriately when returned
by unprivileged functions.
The ethtool selftest contains some tests which are useful on
an unprivileged function, such as the event queue interrupt
tests, but other tests cannot be performed as the function
does not have the required permissions.

If a test returns -EPERM, act as though the test was not run
and continue.

Signed-off-by: Shradha Shah &lt;sshah@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: Fix memcpy() with const destination compiler warning.</title>
<updated>2015-04-17T19:15:40Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2015-04-17T19:15:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1d20a16062e771b6e26b843c0cde3b17c1146e00'/>
<id>urn:sha1:1d20a16062e771b6e26b843c0cde3b17c1146e00</id>
<content type='text'>
drivers/net/ethernet/sfc/selftest.c: In function ‘efx_iterate_state’:
drivers/net/ethernet/sfc/selftest.c:388:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-array-qualifiers]

This is because the msg[] member of struct efx_loopback_payload
is marked as 'const'.  Remove that.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: Add support for busy polling</title>
<updated>2014-07-23T02:55:20Z</updated>
<author>
<name>Alexandre Rames</name>
<email>arames@solarflare.com</email>
</author>
<published>2014-07-22T13:03:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=36763266bbe8a2e93a7639b99bac2fee2c42bc5b'/>
<id>urn:sha1:36763266bbe8a2e93a7639b99bac2fee2c42bc5b</id>
<content type='text'>
This patch adds the sfc driver code for implementing busy polling.
It adds ndo_busy_poll method and locking between it and napi poll.
It also adds each napi to the napi_hash right after netif_napi_add().

Uses efx_start_eventq and efx_stop_eventq in the self tests.

Signed-off-by: Shradha Shah &lt;sshah@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: Use ether_addr_copy and eth_broadcast_addr</title>
<updated>2014-03-10T17:53:37Z</updated>
<author>
<name>Edward Cree</name>
<email>ecree@solarflare.com</email>
</author>
<published>2014-03-07T18:27:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cd84ff4da1f46cbdc2d73366eabe9a8f818447cd'/>
<id>urn:sha1:cd84ff4da1f46cbdc2d73366eabe9a8f818447cd</id>
<content type='text'>
Faster than memcpy/memset on some architectures.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: Add MC BISTs to ethtool offline self test on EF10</title>
<updated>2013-12-12T22:05:48Z</updated>
<author>
<name>Jon Cooper</name>
<email>jcooper@solarflare.com</email>
</author>
<published>2013-09-16T13:18:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=74cd60a4d7b4f686146efd7ed211974691f0c2c1'/>
<id>urn:sha1:74cd60a4d7b4f686146efd7ed211974691f0c2c1</id>
<content type='text'>
To run BISTs the MC goes down in to a special mode where it will only
respond to MCDI from the testing PF, and TX, RX and event queues are
torn down. Other PFs get a message as it goes down to tell them it's
going down.

When the other PFs get this message, they check the soft status
register to tell when the MC has rebooted after BIST mode and they can
start recovery.

[bwh: Convert the test result to 1 or -1 as for earlier NICs]
Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Update copyright banners</title>
<updated>2013-08-29T22:34:51Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2013-08-29T22:32:48Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f7a6d2c4427790cc8695401576dc594fcce8fc80'/>
<id>urn:sha1:f7a6d2c4427790cc8695401576dc594fcce8fc80</id>
<content type='text'>
Update the dates for files that have been added to in 2012-2013.
Drop the 'Solarstorm' brand name that's still lingering here.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Remove efx_process_channel_now()</title>
<updated>2013-08-21T18:44:31Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2012-10-05T18:30:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=514bedbc3a07e466b040f76319b8f2a4c7b0c7a4'/>
<id>urn:sha1:514bedbc3a07e466b040f76319b8f2a4c7b0c7a4</id>
<content type='text'>
efx_process_channel_now() is unneeded since self-tests can rely on
normal NAPI polling.  Remove it and all calls to it.

efx_channel::work_pending and efx_channel_processed() are also
unneeded (the latter being the same as efx_nic_eventq_read_ack()).

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: lock TX queues when calling netif_device_detach()</title>
<updated>2012-12-01T02:37:35Z</updated>
<author>
<name>Daniel Pieczko</name>
<email>dpieczko@solarflare.com</email>
</author>
<published>2012-10-17T12:21:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c2f3b8e3a44b6fe9e36704e30157ebe1a88c08b1'/>
<id>urn:sha1:c2f3b8e3a44b6fe9e36704e30157ebe1a88c08b1</id>
<content type='text'>
The assertion of netif_device_present() at the top of
efx_hard_start_xmit() may fail if we don't do this.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Fix byte order warning in self-test</title>
<updated>2012-12-01T00:26:07Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2012-09-06T01:11:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3f978ef36cca9bb10c88a56baec1d9d1cb072b98'/>
<id>urn:sha1:3f978ef36cca9bb10c88a56baec1d9d1cb072b98</id>
<content type='text'>
Add necessary cast when setting a bogus checksum.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Fix loopback self-test with separate_tx_channels=1</title>
<updated>2012-10-02T00:58:41Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2012-09-13T01:22:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1ac0226eb04e56cacee080fb71938eb50b5245eb'/>
<id>urn:sha1:1ac0226eb04e56cacee080fb71938eb50b5245eb</id>
<content type='text'>
The loopback self-test iterates over all the TX queues of channel 0,
which is not very interesting when that's an RX-only channel.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflre.com&gt;
</content>
</entry>
</feed>
