<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/sfc, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-06-16T21:24:06Z</updated>
<entry>
<title>net: sfc: avoid -Wtype-limits warning</title>
<updated>2016-06-16T21:24:06Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2016-06-15T20:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17471c7ba5115ed724d624577b21c166d2194272'/>
<id>urn:sha1:17471c7ba5115ed724d624577b21c166d2194272</id>
<content type='text'>
When building with -Wextra, we get a harmless warning from the
EFX_EXTRACT_OWORD32 macro:

ethernet/sfc/farch.c: In function 'efx_farch_test_registers':
ethernet/sfc/farch.c:119:30: error: comparison of unsigned expression &lt; 0 is always false [-Werror=type-limits]
ethernet/sfc/farch.c:124:144: error: comparison of unsigned expression &lt; 0 is always false [-Werror=type-limits]
ethernet/sfc/farch.c:124:392: error: comparison of unsigned expression &lt; 0 is always false [-Werror=type-limits]
ethernet/sfc/farch.c:124:731: error: comparison of unsigned expression &lt; 0 is always false [-Werror=type-limits]

The macro and the caller are both correct, but we can avoid the
warning by changing the index variable to a signed type.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Bert Kenward &lt;bkenward@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: report supported link speeds on SFP connections</title>
<updated>2016-06-08T18:18:45Z</updated>
<author>
<name>Bert Kenward</name>
</author>
<published>2016-06-06T16:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3497ed8c852a5a3d48957ca91baaa443d9bfcd4d'/>
<id>urn:sha1:3497ed8c852a5a3d48957ca91baaa443d9bfcd4d</id>
<content type='text'>
7000-series SFC NICs connected with an SFP+ module currently fail to
report any supported link speeds.

Reported-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Bert Kenward &lt;bkenward@solarflare.com&gt;
Reviewed-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Tested-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: Track RPS flow IDs per channel instead of per function</title>
<updated>2016-06-01T03:30:25Z</updated>
<author>
<name>Jon Cooper</name>
</author>
<published>2016-05-31T18:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=faf8dcc12c2780bfec61eb95e5ad74af2ff4f82f'/>
<id>urn:sha1:faf8dcc12c2780bfec61eb95e5ad74af2ff4f82f</id>
<content type='text'>
Otherwise we get confused when two flows on different channels get the
 same flow ID.

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: use flow dissector helpers for aRFS</title>
<updated>2016-05-30T05:38:55Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2016-05-26T20:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68bb399e656f244d3d173a20a8280c167632fca8'/>
<id>urn:sha1:68bb399e656f244d3d173a20a8280c167632fca8</id>
<content type='text'>
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: on MC reset, clear PIO buffer linkage in TXQs</title>
<updated>2016-05-25T19:44:11Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2016-05-24T17:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0795bf64cba4d1b796fdc5b74b33772841ed1bb'/>
<id>urn:sha1:c0795bf64cba4d1b796fdc5b74b33772841ed1bb</id>
<content type='text'>
Otherwise, if we fail to allocate new PIO buffers, our TXQs will try to
use the old ones, which aren't there any more.

Fixes: 183233bec810 "sfc: Allocate and link PIO buffers; map them with write-combining"
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: disable RSS when unsupported</title>
<updated>2016-04-28T18:21:15Z</updated>
<author>
<name>Jon Cooper</name>
</author>
<published>2016-04-25T15:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcb4123cbec0294eee1815cfaa1e9b4a8fddb06a'/>
<id>urn:sha1:dcb4123cbec0294eee1815cfaa1e9b4a8fddb06a</id>
<content type='text'>
When certain firmware variants are selected (via the sfboot utility) the
SFC7000 and SFC8000 series NICs don't support RSS. The driver still
tries (and fails) to insert filters with the RSS flag, and the NIC fails
to pass traffic.

When the firmware reports RSS_LIMITED suppress allocating a default RSS
context. The absence of an RSS context is picked up in filter insertion
and RSS flags are discarded.

Signed-off-by: Bert Kenward &lt;bkenward@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: relax setup_tc ndo op handle restriction</title>
<updated>2016-03-03T21:25:15Z</updated>
<author>
<name>John Fastabend</name>
</author>
<published>2016-02-29T19:26:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5eb4dce3b3471ec9d1ea2945fa3d2bab4ac7e100'/>
<id>urn:sha1:5eb4dce3b3471ec9d1ea2945fa3d2bab4ac7e100</id>
<content type='text'>
I added this check in setup_tc to multiple drivers,

 if (handle != TC_H_ROOT || tc-&gt;type != TC_SETUP_MQPRIO)

Unfortunately restricting to TC_H_ROOT like this breaks the old
instantiation of mqprio to setup a hardware qdisc. This patch
relaxes the test to only check the type to make it equivalent
to the check before I broke it. With this the old instantiation
continues to work.

A good smoke test is to setup mqprio with,

# tc qdisc add dev eth4 root mqprio num_tc 8 \
  map 0 1 2 3 4 5 6 7 \
  queues 0@0 1@1 2@2 3@3 4@4 5@5 6@6 7@7

Fixes: e4c6734eaab9 ("net: rework ndo tc op to consume additional qdisc handle paramete")
Reported-by: Singh Krishneil &lt;krishneil.k.singh@intel.com&gt;
Reported-by: Jake Keller &lt;jacob.e.keller@intel.com&gt;
CC: Murali Karicheri &lt;m-karicheri2@ti.com&gt;
CC: Shradha Shah &lt;sshah@solarflare.com&gt;
CC: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
CC: Ariel Elior &lt;ariel.elior@qlogic.com&gt;
CC: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
CC: Bruce Allan &lt;bruce.w.allan@intel.com&gt;
CC: Jesse Brandeburg &lt;jesse.brandeburg@intel.com&gt;
CC: Don Skidmore &lt;donald.c.skidmore@intel.com&gt;
Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: rework setup_tc ndo op to consume general tc operand</title>
<updated>2016-02-17T14:47:35Z</updated>
<author>
<name>John Fastabend</name>
</author>
<published>2016-02-17T05:16:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16e5cc647173a97e33b3e3ba81f73eb455561794'/>
<id>urn:sha1:16e5cc647173a97e33b3e3ba81f73eb455561794</id>
<content type='text'>
This patch updates setup_tc so we can pass additional parameters into
the ndo op in a generic way. To do this we provide structured union
and type flag.

This lets each classifier and qdisc provide its own set of attributes
without having to add new ndo ops or grow the signature of the
callback.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: rework ndo tc op to consume additional qdisc handle parameter</title>
<updated>2016-02-17T14:47:35Z</updated>
<author>
<name>John Fastabend</name>
</author>
<published>2016-02-17T05:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4c6734eaab90695db0ea8456307790cb0c1ccb5'/>
<id>urn:sha1:e4c6734eaab90695db0ea8456307790cb0c1ccb5</id>
<content type='text'>
The ndo_setup_tc() op was added to support drivers offloading tx
qdiscs however only support for mqprio was ever added. So we
only ever added support for passing the number of traffic classes
to the driver.

This patch generalizes the ndo_setup_tc op so that a handle can
be provided to indicate if the offload is for ingress or egress
or potentially even child qdiscs.

CC: Murali Karicheri &lt;m-karicheri2@ti.com&gt;
CC: Shradha Shah &lt;sshah@solarflare.com&gt;
CC: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
CC: Ariel Elior &lt;ariel.elior@qlogic.com&gt;
CC: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
CC: Bruce Allan &lt;bruce.w.allan@intel.com&gt;
CC: Jesse Brandeburg &lt;jesse.brandeburg@intel.com&gt;
CC: Don Skidmore &lt;donald.c.skidmore@intel.com&gt;
Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: implement IPv6 NFC (and IPV4_USER_FLOW)</title>
<updated>2016-02-11T12:16:18Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2016-02-05T11:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7ad40d00af18bff49437605f2ec148b80b16768'/>
<id>urn:sha1:a7ad40d00af18bff49437605f2ec148b80b16768</id>
<content type='text'>
Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Reviewed-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
