<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/sfc, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-08-24T03:17:21Z</updated>
<entry>
<title>sfc: Fix reporting of IPv4 full filters through ethtool</title>
<updated>2012-08-24T03:17:21Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-08-15T17:09:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac70b2e9a13423b5efa0178e081936ce6979aea5'/>
<id>urn:sha1:ac70b2e9a13423b5efa0178e081936ce6979aea5</id>
<content type='text'>
ETHTOOL_GRXCLSRULE returns filters for a TCP/IPv4 or UDP/IPv4 4-tuple
with source and destination swapped.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Fix maximum number of TSO segments and minimum TX queue size</title>
<updated>2012-08-02T07:19:17Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-30T15:57:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e6d06f0de3f74ca929441add094518ae332257c'/>
<id>urn:sha1:7e6d06f0de3f74ca929441add094518ae332257c</id>
<content type='text'>
Currently an skb requiring TSO may not fit within a minimum-size TX
queue.  The TX queue selected for the skb may stall and trigger the TX
watchdog repeatedly (since the problem skb will be retried after the
TX reset).  This issue is designated as CVE-2012-3412.

Set the maximum number of TSO segments for our devices to 100.  This
should make no difference to behaviour unless the actual MSS is less
than about 700.  Increase the minimum TX queue size accordingly to
allow for 2 worst-case skbs, so that there will definitely be space
to add an skb after we wake a queue.

To avoid invalidating existing configurations, change
efx_ethtool_set_ringparam() to fix up values that are too small rather
than returning -EINVAL.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: initialize dynamic sysfs attributes for lockdep</title>
<updated>2012-07-19T17:48:08Z</updated>
<author>
<name>Michal Schmidt</name>
</author>
<published>2012-07-19T07:04:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9ec6bd1f7bccdc1304629f8fbb2e02035026307'/>
<id>urn:sha1:a9ec6bd1f7bccdc1304629f8fbb2e02035026307</id>
<content type='text'>
Dynamically allocated sysfs attributes must be initialized using
sysfs_attr_init(), otherwise lockdep complains:
BUG: key &lt;address&gt; not in .data!

Signed-off-by: Michal Schmidt &lt;mschmidt@redhat.com&gt;
Acked-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next</title>
<updated>2012-07-18T16:08:36Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-07-18T16:08:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54399a78c95f1be0ae9bf6587cbddbfc641aab9c'/>
<id>urn:sha1:54399a78c95f1be0ae9bf6587cbddbfc641aab9c</id>
<content type='text'>
Ben Hutchings says:

====================
1. Fix potential badness when running a self-test with SR-IOV enabled.
2. Fix calculation of some interface statistics that could run backward.
3. Miscellaneous cleanup.
====================

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: Correct some comments on enum reset_type</title>
<updated>2012-07-17T15:12:35Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-05T16:31:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2dbab39db1c3c2ccbdbb2c6bac6f07cc7a7c1f6'/>
<id>urn:sha1:c2dbab39db1c3c2ccbdbb2c6bac6f07cc7a7c1f6</id>
<content type='text'>
Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Fix interface statistics running backward</title>
<updated>2012-07-17T15:12:34Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-04T21:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7f514af7d6f36bc2f683e04a909c95e4744b95b'/>
<id>urn:sha1:b7f514af7d6f36bc2f683e04a909c95e4744b95b</id>
<content type='text'>
Some interface statistics are computed in such a way that they can
sometimes decrease (and even underflow).  Since the computed value
will never be greater than the true value, we fix this by only storing
the computed value when it increases.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Disable VF queues during register self-test</title>
<updated>2012-07-17T15:12:33Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-04T02:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4f2cecce138c34960c467d0ae38a6d4bcd6af7b'/>
<id>urn:sha1:d4f2cecce138c34960c467d0ae38a6d4bcd6af7b</id>
<content type='text'>
Currently VF queues and drivers may remain active during this test.
This could cause memory corruption or spurious test failures.
Therefore we reset the port/function before running these tests on
Siena.

On Falcon this doesn't work: we have to do some additional
initialisation before some blocks will work again.  So refactor the
reset/register-test sequence into an efx_nic_type method so
efx_selftest() doesn't have to consider such quirks.

In the process, fix another minor bug: Siena does not have an
'invisible' reset and the self-test currently fails to push the PHY
configuration after resetting.  Passing RESET_TYPE_ALL to
efx_reset_{down,up}() fixes this.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Explain why efx_mcdi_exit_assertion() ignores result of efx_mcdi_rpc()</title>
<updated>2012-07-17T15:12:33Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-02T22:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f1e54ae52b950ed79074ae794d027d6c97fd34e'/>
<id>urn:sha1:0f1e54ae52b950ed79074ae794d027d6c97fd34e</id>
<content type='text'>
Fix CID 113952 in Coverity report on Linux.

This is the one instance where we don't, and shouldn't, check the
return code from efx_mcdi_rpc().  It wasn't immediately obvious to me
why we didn't, so I think an explanation is in order.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Use dev_kfree_skb() in efx_end_loopback()</title>
<updated>2012-07-17T15:12:32Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-02T22:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3ed2bdfc4a5dcdcdf74141e88af9990dc141a4b'/>
<id>urn:sha1:e3ed2bdfc4a5dcdcdf74141e88af9990dc141a4b</id>
<content type='text'>
Fix CID 102619 in the Coverity report on Linux.

efx_end_loopback() iterates over an array of skb pointers of which
some may be null (if efx_begin_loopback() failed).  It should not use
dev_kfree_skb_irq(), which requires non-null pointers.  In practice
this is safe because it does not run in interrupt context and
therefore always ends up calling dev_kfree_skb(), which does allow
null pointers.  But we should make that explicit.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>sfc: Use strlcpy() to copy ethtool stats names</title>
<updated>2012-07-17T15:12:32Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-07-02T20:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023'/>
<id>urn:sha1:a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023</id>
<content type='text'>
Fix CID 113703 in the Coverity report on Linux.

ethtool stats names are limited to 32 bytes including a null
terminator.  Use strlcpy() to ensure that we will always include the
null terminator even if a source string becomes longer than this.

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